WordPress.org

Forums

WOW Slider
[resolved] Adding wow slider on the header of dynamik theme Genesis framework (10 posts)

  1. andysuarez
    Member
    Posted 1 year ago #

    I would like to ask some help on where should I add the code <?php wowslider(1); ?> inside my header.php. You know using Genesis Framework theme has a different php files among custom theme, so I really can't find where should I add the code. my site is http://lukerdentalcare.net/ Thank You.

    http://wordpress.org/support/plugin/wowslider

    http://wordpress.org/plugins/wowslider/

  2. WOWSlider.com
    Member
    Plugin Author

    Posted 1 year ago #

    I have just checked your page:
    http://lukerdentalcare.net/

    WOWSlider was successfully added and works correctly. If problem still persists, please clarify it.

  3. andysuarez
    Member
    Posted 1 year ago #

    Thank You for the response. I have managed to get the solution. I used a text widget and insert it in the header the pasted the shortcode. The only concern is how can I show the slider on the frontpage only and not on the other pages? And then the size that the slider takes will be moved by the secondary navigaton bar when another page is clicked/visited. Thank You.

  4. WOWSlider.com
    Member
    Plugin Author

    Posted 1 year ago #

    To insert WOWSlider into frontpage only, you should add the following code in the "header.php" file:

    <?php if (is_home() || is_front_page()) wowslider(ID); ?>

    (where ID is your slider identifier - number) in the place where you want to have a slider.

  5. andysuarez
    Member
    Posted 1 year ago #

    Hello. I still can't find where I should add the code. I am using dyamik theme of Genesis framework. So the header.php is a little different from other theme.
    This is my header.php

    <?php
    /**
     * Genesis Framework.
     *
     * WARNING: This file is part of the core Genesis Framework. DO NOT edit this file under any circumstances.
     * Please do all modifications in the form of a child theme.
     *
     * @package Genesis\Templates
     * @author  StudioPress
     * @license GPL-2.0+
     * @link    http://my.studiopress.com/themes/genesis/
     */
    
    do_action( 'genesis_doctype' );
    do_action( 'genesis_title' );
    do_action( 'genesis_meta' );
    
    wp_head(); //* we need this for plugins
    ?>
    </head>
    <?php
    genesis_markup( array(
    	'html5'   => '<body %s>',
    	'xhtml'   => sprintf( '<body class="%s">', implode( ' ', get_body_class() ) ),
    	'context' => 'body',
    ) );
    do_action( 'genesis_before' );
    
    genesis_markup( array(
    	'html5'   => '<div %s>',
    	'xhtml'   => '<div id="wrap">',
    	'context' => 'site-container',
    ) );
    
    do_action( 'genesis_before_header' );
    do_action( 'genesis_header' );
    do_action( 'genesis_after_header' );
    
    genesis_markup( array(
    	'html5'   => '<div %s>',
    	'xhtml'   => '<div id="inner">',
    	'context' => 'site-inner',
    ) );
    genesis_structural_wrap( 'site-inner' );

    [Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum's parser.]

  6. WOWSlider.com
    Member
    Plugin Author

    Posted 1 year ago #

    It is not the file where you should paste WOWSlider PHP code.
    Unfortunately, Genesis Framework theme isn't free and we couldn't download it and find required file and place for you.
    You can go to Appearance->Editor, check other .php files and try to find elements that should be near WOWSlider. For example, you can try to find the top menu:

    <nav itemtype="http://schema.org/SiteNavigationElement" itemscope="itemscope" role="navigation" class="nav-primary">

    and add WOWSlider PHP code after it.

  7. andysuarez
    Member
    Posted 1 year ago #

    Is it ok if I will share my login details with you? There is not much of php files in my editor. You can send me your email account then I will send there my login details.

  8. andysuarez
    Member
    Posted 1 year ago #

    I have resolved the issue on my part. Thank you for the time..

  9. andysuarez
    Member
    Posted 1 year ago #

    Hello. How can I removed the wowslider link at the bottom of the slider?

  10. WOWSlider.com
    Member
    Plugin Author

    Posted 1 year ago #

    It's possible to remove WOWSlider watermark with purchased version only.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WOW Slider
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic