Change Genesis Tag from Page Template [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 7 years ago. Improve this question I have made a page template for a Genesis theme in which I want to change the <title> tag but I … Read more

Create a Widget Area in the Navigation Bar for the Genesis Theme Framework?

(Moderator’s note: The original title was “How can I create a widget area in the navigation bar (Genesis specific)?”( I’m trying to create a widget area in my navigation bar. I’m attempting to adapt this from Bill Erickson’s excellent tutorial here on adding static content to the navigation bar. This is the code I’ve added … Read more

Genesis Child and Custom Post Type

I’m working on Custom Post Type and Genesis Child Theme. My code is add_action( ‘init’, ‘register_cpt_testimonial’ ); function register_cpt_testimonial() { $labels = array( ‘name’ => _x( ‘Testimonials’, ‘testimonial’ ), ‘singular_name’ => _x( ‘Testimonial’, ‘testimonial’ ), ‘add_new’ => _x( ‘Add New’, ‘testimonial’ ), ‘add_new_item’ => _x( ‘Add New Testimonial’, ‘testimonial’ ), ‘edit_item’ => _x( ‘Edit Testimonial’, … Read more

Modify the post/entry wrapper markup in genesis childtheme [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 7 years ago. Improve this question I feel like this should be an easily found answer but so far I havent found anything. So the genesis loop … Read more

Adding a search form inside a div

I wanted to add a search form inside a div using the code bellow: printf( ‘<div class=”entry”><p>%s</p>%s</div>’, apply_filters( ‘genesis_noposts_text’, __( ‘Try again below.’, ‘genesis’ ) ), get_search_form() ); But every time I add the get_search_form() it’s generated before the div, like the following: <form></form> <div class=”entry”></div> The workaround I found was to split the code, … Read more

Genesis – Customize search form

I wanted to change my search form a bit by adding autocomplete=”off” to the search input. I initially looked for a simple filter like the following: //* Customize search form input box text add_filter( ‘genesis_search_text’, ‘sp_search_text’ ); function sp_search_text( $text ) { return esc_attr( ‘Search my blog…’ ); } But because the /genesis/lib/structure/search.php did not … Read more

Any advantage of using wp_scripts and is_IE when enqueuing scripts

I read on the WP docs, which pointed to this gist that the correct way to enqueue styles for IE is by using the $wp_styles. I’m guessing that this would be true then for scripts as well. Take these examples for instance… Option One – Using wp_scripts add_action(‘wp_print_scripts’, function() { global $wp_scripts; wp_enqueue_script( ‘html5shiv’, ‘https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js’, … Read more

Undefined offset: 0 in > […] /wp-includes/capabilities.php on line 1067

Hey I get this error messages on my localhost setup, but only with the Genesis Framework enabled; WordPress Twenty Eleven works fine. This happens when I want to create a new post. If I refresh the page the error will repeat, but the post itself gets created and everything seems to go fine. Does anyone … Read more