How to remove the Navigation Bar (prim. and sec.) from the Homepage for the Genesis Framework?

you have several options.. A: Create a new page template for your home page Create a home.php file in your child theme directory, of course without the navigation(wish is included in (wp_head) B: Unregister the Primary and Secundary Nav Open your Child theme functions.php file and add this code at the end of the file, … Read more

How can I eliminate the inline styles included by default with the Genesis framewrok?

The first inline CSS is added by WordPress automatically when you are logged in and viewing the front end. It is part of the CSS for the WordPress adminbar. <style type=”text/css” media=”screen”> html { margin-top: 28px !important; } * html body { margin-top: 28px !important; } </style> For the second part of the inline CSS … Read more

WordPress Hide Show Content script and activate/deactivate script on screensize

For the WordPress question, I’d create a shortcode. Something like: function expander_wpse_82811($atts,$content) { return ‘<div class=”expander”>’.$content.'</div>’; } add_shortcode(‘expander_wpse_82811′,’expand’); Which your editors would use like: [expand]Aliquam aliquet, est a ullamcorper condimentum… [/expand] http://codex.wordpress.org/Function_Reference/add_shortcode

How do I turn a 404 page into an automatic search with the info from the url?

This can be done in two easy steps. Upgrade your site search with a plug in, such as Relevanssi (optional). Add the following code in functions.php or via Code Snippets (thx to @Howdy_McGee and Russell Jamieson for ideas!) function wpse_204310() { global $wp_query; if( is_404() && !is_robots() && !is_feed() && !is_trackback() ) { $uri = … Read more

Adding ads after a certain number of paragraphs within Genesis themework

I’ve found explode() to be useful when trying to break strings apart. This code creates an array of paragraph chunks, inserts the new block after two paragraphs and concatenates it back into a string for output. function insert_ad_block( $text ) { if ( is_single() ) : $ads_text=”<div class=”wpselect_middle_content”>My Ad Code Here</div>”; $split_by = “\n”; $insert_after … Read more