Custom User meta field display
In the second line you forgot the closing % after meta:position
In the second line you forgot the closing % after meta:position
displaying and sorting comments by a custom field (using PODS plugin) [closed]
Figured it out: $carousel_items = get_queried_object(); $next_items = get_terms( $carousel_items->taxonomy, array(‘parent’ => $carousel_items->parent,) );
Duplicate category slugs from pages and posts
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
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; }
Custom Fields with Pods not being translated
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
Can we create a WordPress read-only virtual field derived from three other fields?
How to get the url of an Image with id