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: Viewing existing…

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

CPTUI-Extended Compatibility Fixes

Z-index issues with wpDataTables The modal popup appears below the semi-transparent background due to conflicting z-index vaues on a “.ui-dialog” CSS selector. The code below should help fix. Place it in your active theme’s functions.php file. function cptui_mod_css() { ?> <style> .cptui.ui-dialog { z-index: 100102 !important; } </style> <?php } add_action( ‘admin_head’, ‘cptui_mod_css’ );

Read More