First upload the backstretch.js and theme-script.js file in js folder of your child theme. Here is the script of theme-script.js file jQuery(function( $ ){ $( “main.content .post .entry-image” ).each( function(){ var post_image = $(this).data( “entry-img” ); $(this).backstretch([BackStretchImg]=post_image,{duration:3000,fade:750}); }); }); Add the following code in your functions.php file: add_action( ‘wp_enqueue_scripts’, ‘enqueue_bs_script’ ); function enqueue_bs_script() { wp_enqueue_script(… Continue Reading
genesis
Creating Responsive Menu in Epik Theme
I was working on a client’s site who is using Epik Theme. He requested for responsive menu and I did it by this way. First create a JS file “responsive-menu.js” and put in “epik/js” folder. Here is the JS code: jQuery(function(){ jQuery( “.nav-header .sub-menu” ).before( “<button class=’sub-menu-toggle’ role=’button’></button>” ); jQuery(“.responsive-menu”).on( “click”, function() { jQuery( “.header-widget-area… Continue Reading
Adding Fullwidth Flexslider on Home page in Minimum PRO Theme
After long gap another new tips is published today. Currently lot of users are using the Genesis Responsive Slider or Soliloquy Slider in Genesis Child Theme. But I am going with free version slider. Flexslider is a free slider which is coming from WooThemes. Minimum PRO Theme have no slider option for home page. So… Continue Reading
Controlling Footer Widget Columns from Theme Settings Page in Genesis
Previously I wrote a tutorial “How to change the footer copyright text from Genesis Theme Settings Page“. Today I am writing this article and showing you how to change the footer widget area from Genesis Theme Settings page. I added following PHP code in functions.php file: Creating Theme Settings for Footer Widget function gd_defaults_settings_fields( $default_settings… Continue Reading
Creating Footer Copyright Text UI in Theme Settings page of Genesis Framework
Today one question is came out from my mind. Why we can’t change the default footer copyright text from Genesis Theme Settings page? Every time we are installing the “Simple Edit” plugin or manually adding few code in the functions.php file. So I thoroughly checked the Genesis Theme Settings php file and got 2 filter… Continue Reading
Add Forum Menu in bbPress like Studiopress Forum
By 4 steps I make the menu at top in bbPress forum pages 1. Create a Widget Area. 2. Create a Menu for bbPress forum 3. Place the widget area by Hook 4. Style the Menu 1. Creating a Widget Area Add the php code in functions.php file genesis_register_sidebar( array( ‘id’ => ‘forum-menu’, ‘name’ =>… Continue Reading