Display a grid of taxonomy terms at root taxonomy page

After researching some more I’ve given up trying to use the taxonomy template and opted for a plugin to amend the permalinks. I followed some of the advice from this similar question: Taxonomy archive with same slug as custom post type? Currently I am using an amended archive template for the custom post types and … Read more

wp_title() returns ‘page not found’ on page 2

Seems like the title was fetched before the query, and therefore didn’t fetch the custom posts. Had to add a pre_get_posts to my functions.php to make it work: add_filter( ‘pre_get_posts’, ‘my_get_posts’ ); function my_get_posts( $query ) { if ( is_home() && $query->is_main_query() ) $query->set( ‘post_type’, array(‘theory’, ‘tasks’, ‘tutorials’, ‘video’, ‘interactive’) ); return $query; }

Get url param no longer works when using add_rewrite_rule

I don’t know why my question was not well formatted and can not modify it. Here’s the more readable one: I’m using WP Admin DIVI builder to create a page (named get-region-page), in which Pod shortcut is used to retrieve the url param. For example: [pods name=”region” slug=”{@get.regionparam}” field=”region_name”] which gives apparently the same result … Read more

Linking to the most recent post in a Custom Post Type

As long as Pods creates standard custom post types, you can simply update the arguments passed to WP_Query . The$post_type parameter will allow you to filter the results based on the specified post type (string) or post types (array). $latest = new WP_Query( array( ‘category_name’ => $request->query_vars[‘category_name’], ‘posts_per_page’ => 1, ‘post_type’ => array ( ‘post’, … Read more

How do increase the amount of links shown down the left in the admin menu?

This is a known limitation by the WordPress menu functions, you would need to rekey all of the menus ahead of time to be +100 or whatever you need, before Pods adds the menus to fix this. Previous versions of WordPress had a bigger problem with this, but they recently increased it in the past … Read more

Using GraphQL Plugin with Pods Framework

You can definitely add filters for pods_register_post_type_{your_pod} and pods_register_taxonomy_{your_pod}. I’d love to build in support for GraphQL into Pods itself at some point. Just a matter of adding the checks if GraphQL is available and showing the options in the UI, similar to how we do our REST API options in the UI. <?php add_filter( … Read more