Thread Starter
gpsy1
(@gpsy1)
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
Thread Starter
gpsy1
(@gpsy1)
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
Thread Starter
gpsy1
(@gpsy1)
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….