Shortcode ID attribute

Have you wondered what this “Shortcode ID” value is? If you’ve looked at the Extended block, it appeared as a read-only field. If you’re using the Shortcode Builder, it appeared as a shortcode attribute. In both cases these are self generated but the purpose of them isn’t necessarily clear. Primary purpose for the Shortcode ID…

Read More

Custom Post Type UI Extended Block

Starting with version 1.7.0, Custom Post Type UI Extended formally moved in to the block era for WordPress. Initial version of the block included a small set of attributes for just the “Default” layout. With the following release, version 1.8.0, more of the attributes were added to the “Default” layout, while also beginning the “List”…

Read More

Adding content after “Default” shortcode items.

The “Default” shortcode comes with twelve different action hooks that you can use to customize displayed content on the page. They are all listed below, and hopefully they are self explanatory. template_posts_before_title template_posts_after_title template_posts_before_item template_posts_before_featured_image template_posts_after_featured_image template_posts_before_item_title template_posts_after_item_title template_posts_before_excerpt template_posts_after_excerpt template_posts_after_item template_posts_before_pagination template_posts_after_shortcode For this tutorial, I am going to show you how you can…

Read More

Which shortcode templates use which CPTUI-Extended template file

All template files can be found in the /wp-content/plugins/cptui-extended/templates folder. Shortcode to embed Template file Notes Default posts.php List list.php   Taxonomy List taxonomy-list.php   Post Slider slider.php   Single Post single.php Only available if selected post type is “Post” Single Page page.php Only available if selected post type is “Page” EDD Product edd.php Only…

Read More

Customizing shortcode templates with CPTUI-Extended

This is only for CPTUI-Extended 1.4.0 or higher With the release of CPTUI-Extended version 1.4.0, our users are now able to fully customize the templates provided with the plugin. If you are familiar with customizing templates the way WooCommerce, The Events Calendar, and similar, you will feel right at home with CPTUI-Extended’s templates. Where to…

Read More

Change thumbnail size for default shortcode display

When using the “Default” shortcode for CPTUI-Extended, you have the option to output the featured image with each post. By default, CPTUI-Extended uses the “medium” thumbnail size. This may work fine for some, but if you’d prefer to use a different size, you can change it via a filter. You will add the following snippets…

Read More

Extra feature settings for post types

On top of being able to add any post type to the main “Blog” posts query, CPTUI-Extended also allows you to add your post types to a variety of other archives or features. These setting can also be found at the bottom of the post type’s add/edit screen when Custom Post Type UI Extended is…

Read More

Understanding and customizing HTML classes added to shortcode output

Reasons you may want to customize classes CPTUI-Extended outputs a number of classes on its markup already, but there may be times or cases where they are not enough, or you are trying to match up the markup to existing styles on your site, and those styles are looking for specific classes. With the filters…

Read More

How to add post type to main blog query

One of the features of Custom Post Type Extended is the easy ability to add any post type to the main “Blog” posts query for your website. This setting can be found at the bottom of the post type’s add/edit screen when Custom Post Type UI Extended is active. Once you check that option and…

Read More