Using the Debug Info tab for Custom Post Type UI

If you have used oursupport 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 more…

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. What…

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

Changing posts per page for a post type

By default, post type archives inherit the same posts per page amount as the Reading settings page and the “Blog pages show at most” setting. However, depending on your use case, you may need to change that value just for a given post type. Utilizing the pre_get_posts action hook, you can easily modify the posts…

Read More

Creating an all term taxonomy archive

WordPress does not provide the easiest way to achieve post archives that have any term from a taxonomy. There is no functional URL that provides all the posts for a given taxonomy. WordPress does provideterm archives, but that is just one term at a time. If we’re blogging about mustards of the world, I don’t…

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