Return to Support

How can I show last posts ONLY on the slideshow?

Home Forums Graphene WordPress theme Support How can I show last posts ONLY on the slideshow?

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2842
    masterneme
    Member

    Hi, I’m David from Spain.

    I’m preparing a site for my business and testing it on a local server via xampplite.

    I’m new to this theme and I couldn’t figure out how to set this up. What I want to do is show the latest posts on the slideshow without being showed on the rest of the homepage.

    *This is what I mean:

    -Slideshow:

    Posts 10, 9, 8, 7 & 6

    -Rest of the homepage:

    Post 5

    Post 4

    Post 3

    Post 2

    Post 1

    *And this is what I’m getting now:

    -Slideshow:

    Posts 10, 9, 8, 7 & 6

    -Rest of the homepage:

    Post 10

    Post 9

    Post 8

    Post 7

    Post 6

    Post 5

    Post 4

    Post 3

    Post 2

    Post 1

    So the user experience is not as good because of the “duplicate” content.

    I saw that is possible to do it manually selecting the ones I want to be on the slide but this is not time efficient long term.

    I apologize if this is explained somewhere.

    Thank you very much.

    #22228
    masterneme
    Member

    Hi, I continued looking for this but I still couldn’t figure it out.

    #22229
    Josh
    Member

    Yeah, this is a great question. I haven’t come across this one yet. I’m not entirely sure what would be the best way to accomplish this type of customization??

    I’m thinking it might be possible with a custom function, but we would need a variable for distinguishing what gets shown in the slider and what doesn’t (such as a date).

    You can always do this manually by changing the ID’s displayed in the post, and then regrouping your posts by date, setting older dates for the ones you don’t want to include in the homepage… but this can become quite time-consuming.

    Sorry… I’m stuck on this one 🙂

    #22230

    I guess this is what threw me:

    So the user experience is not as good because of the “duplicate” content.

    If you are not going to be adding new posts (because you’re using WP as a CMS), then I would agree. I’ve seen some sites that just rotate through images or very short posts and it’s pretty cool. If this is the case, then Josh’s idea of just limiting the slider to certain posts works.

    However, if you are always adding new posts, I don’t think this a bad user experience because the content isn’t really duplicated. The slider just highlights new content. At least, I’ve never felt like I was having a bad experience when I see sites that display content in both the slider and the blog listings below.

    I suppose it might be possible, if we could figure out that function, to use an action hook widget area, along with the PHP widget, and then insert the function in a text widget after the slider.

    Maybe we could define an array with an offset of 5? Like this:

    http://codex.wordpress.org/Template_Tags/get_posts#Posts_list_with_offset

    #22231
    Luko
    Member

    Great question,

    I agree with this “bad user experience because of the “duplicate” content”.

    Alternative solution:

    1. Create 2 categorys, first “slider” for 5 new posts, second “content” for other 5 posts.

    2. When adding new post, put it in slider, and the last post in “slider” remove from category “slider” and put it in “content”. You can do that with quick edit option.

    I know that this is not what you want but it’s all I can think of.

    #22232
    masterneme
    Member

    Yeah Luko I did something similar when I used the Arras Theme, 2 categories and slide them manually, thanks for make me remember the trick, I’ll try it and see how it goes.

    However it would be awesome if the theme comes with this feature on a future upgrade.

    I’ll also experiment with what you said Josh and Kenneth.

    Thank you.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.