WordPress.org

Support

Support » Themes and Templates » silverOrchid » [Resolved] Adjusting slider Function to display Parent Category Posts

[Resolved] Adjusting slider Function to display Parent Category Posts

  • Hello, if i duplicate slider function from index.php to category.php is it possible to make it show parent category latest post?

Viewing 3 replies - 1 through 3 (of 3 total)
  • I guess that was to easy to be true….

    Im trying to at least make slider show on category pages since he is limited to home page only and later work on the function. In the gazpo settings is this:

    $gazpo_options = array(
    	'gazpo_show_slider' => true,
    function gazpo_validate_options( $input ) {
    	global $gazpo_options;
                if ( ! isset( $input['gazpo_show_slider'] ) )
    	    $input['gazpo_show_slider'] = null;
    	    $input['gazpo_show_slider'] = ( $input['gazpo_show_slider'] == 1 ? 1 : 0 );

    Would need help to understand this and how to make it show on other pages also. Thanx

    Ok that worked well i add slider call function to category.php inside the loop and it worked it show front page slider on category page.

    Ok now how to change function to show parent category posts? Any idea ….thanx

    I want to leave the main slider on front page as it is and showing the latest posts.

    So i was thinking if i duplicate the slider to slider2 with all the functions should be ok.

    So i copy slider.php and rename it to slide2.php…did the same thing with in the gazpo-settings.php copy paste the function of the slider and rename it to slider2 and copy paste slider css style and rename it to slide2.

    Now it show the slider but not properly im missing main post image…..running out of ideas….

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Adjusting slider Function to display Parent Category Posts’ is closed to new replies.
Skip to toolbar