Featured Post Slider

Viewing 15 posts - 1 through 15 (of 72 total)
  • #4259
    flib
    Participant

    Hi, is there any way to display “sticky pages” instead of sticky posts? Cheers!

    #4260
    Daniel Tara
    Keymaster

    There is no such thing as sticky pages but I may consider adding a way to add pages to the slider if more users request it.

    #4336
    bjohnm
    Participant

    I have a couple of questions with the slider.

    1st, it appears the articles I’ve designated “sticky” are also being repeated in the grid. I thought I’d read they wouldn’t be. Is there a way to avoid this.

    2nd, I’m lazy, so I would prefer to be able to fix the number of sticky posts in the slider so that I don’t have to go back and “unsticky” posts later. In other words, I would set it some number, say five, and the five most current sticky posts would be displayed. When I add another sticky post, the oldest one of the five would fall out of the rotation, and the newest one would be included. Would this be difficult to accomplish in this theme?

    I basically did this using a very old plugin called CD-Featured in your Cover-WP theme (http://deep.mastersfamily.org) I’d prefer to not have to try to do the coding it took in this new theme, and use native functionality.

    Thanks for a great theme.

    #4339
    Daniel Tara
    Keymaster

    1. In functions.php rewrite the function esplanade_ignore_sticky_posts like this:

    function esplanade_ignore_sticky_posts( $query ) {
    	global $wp_the_query;
    	if( ( $wp_the_query === $query ) && $query->is_home() && esplanade_get_option( 'slider' ) )
    		$query->set( 'post__not_in', get_option( 'sticky_posts' ) );
    }

    2. In slider.php on line 3, change the value of posts_per_page to 5

    #4341
    bjohnm
    Participant

    Thank you for the quick response. I will test this out later today.

    I’m no coder, but am no uncomfortable tweaking around with the code. However, many WordPress users don’t have a desire to play around with the code, not to mention, an update could break the tweak. So I would like to suggest, that in some future release, you consider making the number of sticky posts displayed one of the available settings in the settings interface.

    Just a suggestion. Thanks again.

    #4348
    latinativo
    Participant

    Hi,
    I’d like to know how I can activate the slider. I’ve created two posts (text and video) but I don’t see the slider “working”. I’m not a savvy. I pretty much look for video tutorials on how to do this. By the way, your theme has all what I’ve been looking for.
    Thanks for your help!

    #4376
    kimaya
    Participant

    Hi,

    I’ve got the same problem as latinativo. Thanks for your help !

    #4394
    Daniel Tara
    Keymaster

    Mark the posts as sticky and they will appear in the slider.

    #4402
    kimaya
    Participant

    I don’t see this option in my page of posts ??? Is that an option of wordpress o an option of the theme ?

    #4413
    bagpie
    Participant

    Hi, great theme.
    I, like the first commenter on this page, would also like to be able to add pages to the featured post slider and it would be great if it was added as an option. Any suggestions as to adding this feature myself in the meantime?

    #4465
    frankbhv
    Participant

    @daniel In reply to bjohnm you suggested to exklude sticky posts from the rest of the posts. I changed my slider.php to 3 posts as you suggested. Now I would like to get sticky post #4 in the posts list again. (1,2,3 in the slider, the forth as newest post in the line).

    Alternatively I would like to get the first new three posts in the slider without marking them as sticky. Is there a way to solve this problem?

    #4468
    mfaridmailbox
    Participant

    Hi, great theme, but why i dont see sticky option on my posts ? what added plugin must be installed to display sticky post option ?

    #4476
    mfaridmailbox
    Participant

    i have found the sticky option post checklist on the publish subpanel. i click “visiblity” edit link then i check “stick this post to the front page”.

    thanks

    #4549
    Andrew
    Participant

    Awesome! Thanks mfaridmailbox

    #4554
    kimaya
    Participant

    It works, great ! Thank you

Viewing 15 posts - 1 through 15 (of 72 total)

Tagged: 

You must be logged in to reply to this topic.