• Resolved mp8bits

    (@mp8bits)


    Hello, first at all thank you for such a great plugin. What I need to have is two posts instead of one (only title and thumnail) showing in the slider (template 3). When I hit next, another couple of post would show up.

    Also, I need to show the posts from post 2 and forward. So the first post would never show, it will only count from post 2.

    Im checking out the code in advanced-post-slider.php around line 1020 where it shows template 3,but with no success. Some advice would be appreciated.

    https://wordpress.org/plugins/advanced-post-slider/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Ahsanullah Akanda

    (@digontoahsan)

    I will try to add option for your first suggestion at later version. For your second need you could modify your self. Open advanced-post-slider.php and find query argument initialization ($query_arg) around line no 349. Add ‘offset’ parameter. it will be look like

    $query_arg = array(
    			'post_type' 	 => ($optset['advps_post_types']) ? $optset['advps_post_types'] : 'post',
    			'post__not_in' => $exclude,
    			'posts_per_page' =>	($optset['advps_maxpost']) ? $optset['advps_maxpost'] : 10,
    			'orderby'		 => ($optset['advps_order_by']) ? $optset['advps_order_by'] : 'date',
    			'order'			 => ($optset['advps_order']) ? $optset['advps_order'] : 'DESC',
    			'offset' => 1
    		);

    Thread Starter mp8bits

    (@mp8bits)

    Thanks for your answer. Do you think it would be too hard to show one more post? Because I need to have that featured done asap, if you could give me some advices or some links where I can found more info on how this could be dome I will be very grateful.

    Plugin Author Ahsanullah Akanda

    (@digontoahsan)

    Check template two, there is already option for show more than one post per slide. You need to modify template three to something like that.

    Thread Starter mp8bits

    (@mp8bits)

    I just rated your plugin and awesome support, thanks for your help.

    This is what Im getting until now:
    https://gist.github.com/anonymous/10926112

    In line 1008 begins the ul “advps-slide” of template 2, wich generate the lists of posts. Im trying to do the same on template 3 (line 1026) but the site breaks, what is that im messing?

    Thank you,

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Special customization’ is closed to new replies.