Learn more about each Smart action, including description of related WordPress concepts and examples.
WordPress actions
WordPress actions add dynamic features to HTML elements.
You can do most of the tasks with Smart actions, listed below. In rare cases where Smart actions don’t suffice, you can use one of 200 regular actions or add custom PHP code to elements.
Block actions
Block actions let you create custom Gutenberg blocks. Regular React-based blocks, dynamic PHP blocks and ACF blocks are supported.
| Block | Create a new custom block. The action should be placed on the main HTML element that represents the block. |
| Block Attributes | Define and uses one or more editable block attributes on the selected HTML element. |
| Block Inner Content | Define the area within the block that can contain other blocks (sub-blocks). |
| Block Condition | Display elements based on block attribute values. |
Post actions
Post actions are used to show collections of post and their properties. Post actions can be used only in combination with a parent Show Posts action.
| Show Posts | Show Posts action loops through a collection of posts. Post smart actions can then be used on and inside the Show Posts element to display post content. |
| Post Title | Post Title action displays the title of the current post. |
| Post Link | Post Link action displays the link to the current post. |
| Post Content | Post Content action displays the content of the current post. |
| Post Excerpt | Post Excerpt action displays the excerpt of the current post. If excerpt is not set, WordPress generates a snippet from the post content. |
| Post Featured Image | Post Featured Image action shows the featured image of the current post, or the post itself if the post is an image attachment. |
| Post Field | Post Field action displays one or more post field values on different parts of the element. |
| Post Tags & Categories | Post Tags & Categories displays the list of tags, categories or other terms associated with the post. Optionally, it registers a new taxonomy. |
| Post Author | Post Author action is used to display information about the post author. |
| Post Date | Post Date displays the date of the current post in the date format set in WordPress options. |
| Post Pagination | Post Pagination enables navigation between pages of Show Posts results, including next and previous results page links and more. |
Site actions
Site actions are used to display dynamic features that are not related to posts. These actions can be used anywhere on the page.
| Site Name | Site Name action displays the website name and optionally, adds a link to the home page. |
| Site Description | Site Description smart action displays the website description. |
| Site Link | Site Link action adds the link to website home, latest posts archive, individual posts and more. |
| Site Tags & Categories | Site Tags & Categories displays the list of all tags, categories or other terms that are defined on the site. Optionally, registers a new taxonomy. |
| Customizer Field | Customizer Field displays customized texts and images, sets attributes, styles and more. Optionally, it also registers the customizer control. |
| Customizer Section | Customizer Section action registers a new customizer section that contains a group of customizer fields |
| Menu | Menu action displays the navigation menu using the HTML markup of the element. |
| Sidebar | Sidebar action displays a sidebar. Optionally, it also registers one. |
| Reusable Template Part | Reusable Template Part smart action replaces the element with the content of a template part. Optionally, it saves the element and its content as a template part. |
| Form | Form action adds form processing to the enclosed HTML form. |
| Function | Function smart action runs a predefined code snippet or custom code and applies the value to the element. |
| Don’t Export | Use Don’t export action on placeholder elements that should not be exported to the theme. |
Theme and page settings
Theme / Plugin Settings
Use Theme / Plugin Settings to instruct Pinegrow how to export the WordPress theme or plugin.
Page Settings
Page Settings determine how the template page will be exported to the WordPress theme.
Post actions
Show Posts
Show Posts action loops through a collection of posts. Post smart actions can then be used on and inside the Show Posts element to display post content.
Post Title
Post Title action displays the title of the current post.
Post Link
Post Link action displays the link to the current post.
Post Content
Post Content action displays the content of the current post.
Post Excerpt
Post Excerpt action displays the excerpt of the current post. If excerpt is not set, WordPress generates a snippet from the post content.
Post Featured Image
Post Featured Image action shows the featured image of the current post, or the post itself if the post is an image attachment.
Post Field
Post Field action displays one or more post field values on different parts of the element.
Post Tags & Categories
Post Tags & Categories displays the list of tags, categories or other terms associated with the post. Optionally, it registers a new taxonomy.
Post Date
Post Date displays the date of the current post in the date format set in WordPress options.
Post Author
Post Author action is used to display information about the post author.
Post Pagination
Post Pagination enables navigation between pages of Show Posts results, including next and previous results page links and more.
Post Breadcrumbs
Post Breadcrumbs displays the hierarchical path to the current post, either with links to post parents or with links to post categories.
Site actions
Site Name
Site Name action displays the website name and optionally, adds a link to the home page.
Site Description
Site Description smart action displays the website description.
Site Link
Site Link action adds the link to website home, latest posts archive, individual posts and more.
Site logo
Display the site logo that is set in the customizer Site identity section.
Site Tags & Categories
Site Tags & Categories displays the list of all tags, categories or other terms that are defined on the site. Optionally, registers a new taxonomy.
Customizer Field
Customizer Field displays customized texts and images, sets attributes, styles and more. Optionally, it also registers the customizer control.
Customizer Section
Customizer Section action registers a new customizer section that contains a group of customizer fields
Menu
Menu action displays the navigation menu using the HTML markup of the element.
Sidebar
Sidebar action displays a sidebar. Optionally, it also registers one.
Reusable Template Part
Reusable Template Part smart action replaces the element with the content of a template part. Optionally, it saves the element and its content as a template part.
Form
Form action adds form processing to the enclosed HTML form.
Function
Function smart action runs a predefined code snippet or custom code and applies the value to the element.
Don’t Export
Use Don’t export action on placeholder elements that should not be exported to the theme.
Block actions
Block
Block action creates a new block type. It should be placed on the main HTML element that represents the block.
Block Attributes
Block Attributes action defines and uses one or more editable block attributes on the selected HTML element.
Block Inner Content
Block Inner Content action defines an area within the block that can contain other blocks (sub-blocks).
Block Condition
Conditionally show the element based on the value of a block attribute.
Smart actions
Post & Loop (Smart)
Display the loop with all returned posts. Includes support for custom WP_Query and Custom Post Types.