badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

Different Revolution Slider on each page

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #22661
    Terence
    Participant

    Hello

    I am trying to set up the theme to show a different revolution slider on each page.

    How do I do this properly?

    When I go to the edit page, I have a drop down menu that enables me to choose which slider I want however, when I do this, the slider does not display correctly and only shows part way across the page.

    regards

    Terence Sweeney

    #22680

    Hi Terry Sweeney,

    We have only zipped packed the revolution slider. Nut we cannot provide support regarding to revolution slider.
    For more info visit this link
    http://themepunch.com/codecanyon/revolution_wp/documentation/

    http://codecanyon.net/item/slider-revolution-responsive-wordpress-plugin/2751380

    Thank you!

    #22703
    Terence
    Participant

    Thanks however the issue I am having is with the theme, not the slider.

    Here is a link to the main page

    http://www.terencesweeney.com

    The plugin however allows for the creation of multiple sliders and to place a different slider on each page. I have no problem creating the different sliders in the plugin, or having them display.

    The problem is when I add a different slider to each page they don’t go across the full page.

    Here is the problem page.

    http://terencesweeney.com/consulting/

    How do I have this work so that the theme allows each slider to go across the full page?

    regards

    Terence Sweeney

    #22718

    Hi Terry,

    Yes exactly when you create a slider in home page. The slider is inside the home page. If you slider in inner page then the slider is inside the content. So You slider is full width inside home page and not in the inner page. We have designed our theme this way. If you want your slider full width for inner page then it needs code customization. So you need to hire a developer to fix it.

    Thank you!

    #22834
    Terence
    Participant

    Hi Again

    Thanks for the response. I have a developer looking at it however he is having issues.

    “I’m sorry but I have spent the last hour looking at your theme files – the location of the hooks is completely oblivious to me. Your template pages reference hooks rather than code. I have looked through about 30 files and cannot find a single hook reference for page sliders. ”

    Can you provide a pointer.

    regards

    Terence Sweeney

    #22894

    Hi Terry,

    The there is a hook in the header file. do_action( 'attitude_header' ); This code is in header.php, The core file for this header is inside theme folder (attitude)-> library-> structure-> header-extension.php, all the section of header is derived from header-extension.php from line no 239, you can find this below code

    if( 'revolution-slider' == $options[ 'slider_type' ] ) {
       			if( !empty( $options[ 'header_slider' ] ) && function_exists( 'putRevSlider' ) ) {
       				if( '1' == $options[ 'revslider_homepage' ] && ( is_home() || is_front_page() ) ) {
    						putRevSlider( $options[ 'header_slider' ], "homepage" );
    						$attitude_show_breadcrumb = 'false';
    					}
    					$attitude_rev_page_array = explode( ',', $options[ 'pages_id_revslider' ] );
    					if ( !empty( $options[ 'pages_id_revslider' ] ) && is_page( $attitude_rev_page_array ) ) {
    						putRevSlider( $options[ 'header_slider' ], $options[ 'pages_id_revslider' ] );
    						$attitude_show_breadcrumb = 'false';
    					}
       			}
       		}

    From here you can make a code customization for each page.

    How to unhook the functions? Here is a simple example to display page 404.php

    unhook functions
    
    // Unhook default Thematic functions
    function unhook_thematic_functions() {
        // Don't forget the position number if the original function has one
    
    remove_action( 'attitude_404_content', 'attitude_display_404_page_content', 10 );
    
    }
    add_action('init','unhook_thematic_functions'); // removes the header content by using hook attitude_header
    
    add_action( 'attitude_404_content', 'attitude_child_display_404_page_content', 10 );
    /**
     * function to show the footer info, copyright information
     */
     
     
    function attitude_child_display_404_page_content() {      ?>   
    <div id="content">
    		<header class="entry-header">
    			<h1 class="entry-title"><?php _e( 'Error 404-Page NOT Found', 'attitude' ); ?></h1>
    		</header>
    		<div class="entry-content clearfix" >
    			<p>Thank you</p> 
    		</div><!-- .entry-content -->
    	</div><!-- #content -->
      <?php 
    }

    Thank you!

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.