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

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…

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

Managing and viewing network-level post types and taxonomies

Creating and managing items Managing network-level post types and taxonomies is going to be a very familiar process. It is almost exactly the same steps as you are already used to, but is done from the network admin for your multisite installation. To get started with a network-level item do the following steps: Click “My…

Read More

Extending the shortcode builder

Potentially being superseded by focus on Block editor experiences, started in version 1.7.0 Registering a shortcode In order to register a new shortcode for the shortcode builder, you need to provide a function callback to the cptui_register_shortcode() function. This will be the function that should be called at the time of display in the shortcode…

Read More