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

Custom Post Types and Divi

Customizing Search Module By default, the Divi Search Module only searches posts and pages, depending on the settings configured in the module itself. The code snippet below allows to retain those settings, but also add in the post types registered with Custom Post Type UI to be considered with the search as well. Blog Module…

Read More

Custom Post Type UI and WP-CLI

If you weren’t aware, you can actually do a good amount of of administration and site management via your computer terminal console with a tool like WP-CLI. We are not going to go into all of the powerful things it can do out of box, as that’s a documentation site on its own. We are…

Read More

Custom Post Type UI Hooks

Current as of version 1.12.0. Reach out if you’ve found one we’re missing. Custom Post Type UI has 107 action and filter hooks available for usage. Some may prove more useful than others. Some are used primarily for integration with Custom Post Type UI Extended. Would love to hear how you’re using any of them.…

Read More

Using the Debug Info tab for Custom Post Type UI

If you have used our support forums at any time in the past number of years, chances are you’ve received a response from Michael, helping debug whatever issue you were experiencing at the time. Hopefully Michael has proved helpful and resolved a given issue swiftly and timely. However, there are cases where Michael just needed…

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

Removing page title from My Profile BuddyPages

When creating a BuddyPages page that get set to display on “My Profile”, there will be a page title at the top of the content area. However, this may not be desirable for what you are aiming for. If you wish to remove the display of the title completely, the following snippet will help. You…

Read More

Save CPTUI settings data to file

If you ever find need to save your Custom Post Type UI settings data to a file, on top of to the database like normal, the following snippet should help you out. This will be particularly useful if you find need to version control the settings, as databases aren’t easy to version control themselves. <?php…

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

Including hidden BuddyPress groups in dropdown

Out of box, BuddyPages only includes public groups for consideration when where to assign a given page. The code below will allow for including hidden groups as part of that query. function pluginizehelp_include_hidden_groups( $args ) { $args[‘show_hidden’] = true; return $args; } add_filter( ‘buddypages_groups_get_is_admin’, ‘pluginizehelp_include_hidden_groups’ );

Read More