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

Modify Genesis Custom Header CSS

Hook onto the same action as the genesis header function and kick out your overriding CSS: function wpse_218701_genesis_header() { ?> <style> body.custom-header #header { background-color: white !important; } </style> <?php } add_action( ‘genesis_header’, ‘wpse_218701_genesis_header’ );

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

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

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)