WordPress.org

Ready to get started?Download WordPress

Forums

Point
[resolved] "Featured" and "Latest" overlapping (9 posts)

  1. tmbv93
    Member
    Posted 8 months ago #

    Hi!
    Right now my most recent posts will appear both in my latest section and in my featured box. How do I get posts to appear in the latest category, only when they are no longer featured?

    For instance, right now my page looks like this:

    Featured
    Post 1 (the most recent post)
    Post 2
    Post 3
    Post 4
    Latest
    Post 1
    Post 2
    Post 3
    Post 4

    Ideally, it should look like this:

    Featured
    Post 1
    Post 2
    Post 3
    ...
    Latest
    Post 5
    Post 6
    Post 7
    ...

  2. MyThemeShop
    Member
    Theme Author

    Posted 8 months ago #

    Hi, please open index.php file
    Search for this code
    <?php $j=0; $i =0; if (have_posts()) : while (have_posts()) : the_post(); ?>

    and replace it with

    <?php  $j=0; $i =0; if ( get_query_var('paged') ) { $paged = get_query_var('paged'); } elseif ( get_query_var('page') ) { $paged = get_query_var('page'); } else { $paged = 1; }
    				$latestsection = implode(",", $mts_options['mts_featured_slider_cat']);
    				query_posts('cat=-'.$latestsection.'&paged='.$paged);
    				if (have_posts()) : while (have_posts()) : the_post(); ?>
  3. soundforscher
    Member
    Posted 8 months ago #

    hey,
    is there a way to show only "sticky" post as featured ?

    maybe in a similar way you mentioned ?

    Cheers
    Oliver

  4. MyThemeShop
    Member
    Theme Author

    Posted 8 months ago #

    Hi Oliver,
    Yes that can be possible, but it needs customization, and unfortunately we can't provide customization for Point theme.
    Hope you understand, thank you.

  5. tmbv93
    Member
    Posted 8 months ago #

    I think that solved the issue, as new posts no longer seem to overlap.

    Helpful as always!

    Thank you very much :)

  6. gmember
    Member
    Posted 7 months ago #

    hii..

    my post on latest section and recent post widget are not showing good, even randomly,
    how i can fix it??
    http://www.ppmmiftahulkhoir.com/v2/

    and on recent post widget, the title show more than 5..
    how??

    regards..

  7. MyThemeShop
    Member
    Theme Author

    Posted 7 months ago #

    Hi @gmember
    I have checked your site but unable to find those widgets, can you please add them again so I can check?
    Btw please regenerate thumbnails using this plugin to improve your site design and loading.
    http://wordpress.org/plugins/regenerate-thumbnails/

  8. mayoi_neko03
    Member
    Posted 7 months ago #

    I already changed the code but it doesn't work for me.

  9. amatulic
    Member
    Posted 3 weeks ago #

    Hi

    I have troubles setting up popular/recent posts widget in the sidebar.

    Everything seems to be set up correctly in the backend, but in front end it looks totally wrong and displays all posts.

    Here is the link: http://binaryoptionstrading-review.com/category/reviews/

    Thanks a lot!

    Ante

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.