Displaying Custom Fields on Post with Genesis Child Theme

I have tried everything to get Custom Fields to display on my posts using a Child Theme of the Genesis theme framework. I have tried to follow every tutorial I could find relating to it but still I can’t get my Custom Fields to show on my posts! The simplest looking solution I have been … Read more

htaccess: Remove trailing slash from URL ending with .xml/ only

I need to remove trailing slash from URLs ending with .xml/ only .. For this purpose I’ve created a Rewrite Condition and Rule which is working perfectly fine for the test link http://website.com/test.xml/ Test Link: http://htaccess.mwl.be?share=6fe08232-438a-53fa-8f1a-1f7f69b77b6f The problem is when I place the rule in WordPress .htaccess file, it doesn’t work at all! Seems like … Read more

How to add specific menu on a specific page or pages

I’m looking for help on how to add specific menu on a specific page or pages with no plugin. I know how to add and register a new menu like this: //* Register third navigation menu position function register_additional_menu() { register_nav_menu( ‘third-menu’ ,__( ‘Third Navigation Menu’ )); } add_action( ‘init’, ‘register_additional_menu’ ); add_action( ‘genesis_before_content’, ‘add_third_nav_genesis’ … Read more

StudioPress: add meta tag to every page [closed]

Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for WordPress Development Stack Exchange. Closed 4 years ago. Improve this question I need to add this meta tag to every page in my site. <meta http-equiv=”X-UA-Compatible” content=”IE=edge”> I found this PHP function … Read more

Editing or filtering the output of the Genesis navigation

I’m trying to edit or apply a filter to the default Genesis navigation genesis_do_nav Currently I’m extending a Walker class to add a <span> with data-attribute around the navigation’s link text. class Menu_With_Data_Attr extends Walker_Nav_Menu { function start_el(&$output, $item, $depth, $args) { global $wp_query; $indent = ( $depth ) ? str_repeat( “\t”, $depth ) : … Read more

Using Custom Templates for Custom Post Types for the Genesis Theme Framework?

(Moderator’s note: The original title was “How can I create create and use a custom template for custom post types in the Genesis theme framework?”) I’m using the Genesis theme framework, with an almost completely ‘stock’ child theme. I have the WP Easy Post Types plugin installed, and have created one custom post type (“Members”). … Read more