Title: Latest posts duplicate
Last modified: August 20, 2016

---

# Latest posts duplicate

 *  Resolved [elin](https://wordpress.org/support/users/elin/)
 * (@elin)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/latest-posts-duplicate/)
 * I´m using network latest post on my frontpage, and have paginated the plugin 
   so that it shows two posts from each blog on the frontpage, and with possibility
   to show 4 more posts.
 * The problem is when I click the “next page” for the two posts it
    1) moves to
   the next posts for both blogs (not really a big problem) 2) duplicates so that
   each blog shows two times.
 * My blog: [http://tasteofslow.com/](http://tasteofslow.com/)
 * My code:
    [nlposts title=”My latest travel posts” title_only=false thumbnail=
   true auto_excerpt=true display_type=block full:meta=true number_posts=2 thumbnail_wh
   =300×200 thumbnail_class=alignleft paginate=true posts_per_page=2 number_posts
   =6 blog_id=4]
 * [nlposts title=”My latest food posts” title_only=false thumbnail=true auto_excerpt
   =true display_type=block full:meta=true number_posts=2 thumbnail_wh=300×200 thumbnail_class
   =alignleft paginate=true posts_per_page=2 number_posts=6 blog_id=3]
 * Can anyone tell me why it duplicates?
 * Is there any way to get the photos in colour (it turns to colour by mouse over
   photo as it is now).
 * Thanks for this great plugin!!!
    Elin
 * [http://wordpress.org/extend/plugins/network-latest-posts/](http://wordpress.org/extend/plugins/network-latest-posts/)

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

 *  Plugin Author [Jose Luis SAYAGO](https://wordpress.org/support/users/iluminatus/)
 * (@iluminatus)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/latest-posts-duplicate/#post-3240668)
 * Hello Elin,
 * Sorry I’ve moved to another country so I’m trying to set things up around here.
   When you use multiple instances you must set a different instance name for each
   shortcode, otherwise it will happen just that, both elements will change pages
   because the jQuery script won’t be capable of distinguish one of the other.
 * Add the instance name to each shortcode like this:
 *     ```
       [nlposts title="My latest travel posts"
               title_only=false
               thumbnail=true
               auto_excerpt=true
               display_type=block
               full_meta=true
               number_posts=2
               thumbnail_wh=300x200
               thumbnail_class=alignleft
               paginate=true
               posts_per_page=2
               number_posts=6
               blog_id=4
               instance=travel
       ]
   
       [nlposts title="My latest food posts"
               title_only=false
               thumbnail=true
               auto_excerpt=true
               display_type=block
               full_meta=true
               number_posts=2
               thumbnail_wh=300x200
               thumbnail_class=alignleft
               paginate=true
               posts_per_page=2
               number_posts=6
               blog_id=3
               instance=food
       ]
       ```
   
 * If you want your thumbnails to display without any effects, just copy the CSS
   available here: [Default Opacity](http://laelite.info/opensource/wordpress/plugins/default_opacity.css)
   and save it to your active WordPress theme folder (where style.css is found) 
   then add to each shortcode the css_style parameter, something like this:
 * If you saved the css using this name: **color_thumbs.css** for example, then 
   your shortcodes must be set like this:
 *     ```
       [nlposts title="My latest travel posts"
               title_only=false
               thumbnail=true
               auto_excerpt=true
               display_type=block
               full_meta=true
               number_posts=2
               thumbnail_wh=300x200
               thumbnail_class=alignleft
               paginate=true
               posts_per_page=2
               number_posts=6
               blog_id=4
               instance=travel
               css_style=color_thumbs
       ]
   
       [nlposts title="My latest food posts"
               title_only=false
               thumbnail=true
               auto_excerpt=true
               display_type=block
               full_meta=true
               number_posts=2
               thumbnail_wh=300x200
               thumbnail_class=alignleft
               paginate=true
               posts_per_page=2
               number_posts=6
               blog_id=3
               instance=food
               css_style=color_thumbs
       ]
       ```
   
 * Try these shortcodes and let me know, I’m guessing those duplicated posts are
   being displayed because of the missing parameters and some typos in your current
   shortcodes.
 * Let me know if it helps.
 * Regards,
    José Luis.
 *  Thread Starter [elin](https://wordpress.org/support/users/elin/)
 * (@elin)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/latest-posts-duplicate/#post-3240688)
 * Thanks alot, and sorry for taking me so long to get back to you!
 * The Instance=food/travel worked, and they do not double up. Thy still both move
   to the next page when you press another page on one of them – but that`s not 
   a problem.
 * I managed to get the colored thumbs by following your suggestions – thanks 🙂
   However, on the new layout I get one text line with Food/Travel, publish date
   and author, like here:
 * [http://tasteofslow.com/test-frontpage-20121220/](http://tasteofslow.com/test-frontpage-20121220/)
 * I`m not good enough reading coded to figure out what to edit in the CSS code 
   that you gave me (linked to in the post above) to remove this part – or at least
   make it line up with the text underneath. If someone could tell me I would be
   very happy 🙂
 * Thanks,
    Elin
 *  Plugin Author [Jose Luis SAYAGO](https://wordpress.org/support/users/iluminatus/)
 * (@iluminatus)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/latest-posts-duplicate/#post-3240689)
 * Hello Elin,
 * If I understand well, what you want to remove is the “Travel – Published on November
   24, 2012 by elin” part right? to do so just delete the `full_meta=true` parameter
   from both shortcodes and that’s it. When you set full meta true, meta information
   is displayed, that way you don’t need to change anything from the CSS file.
 * Best regards.
 *  Thread Starter [elin](https://wordpress.org/support/users/elin/)
 * (@elin)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/latest-posts-duplicate/#post-3240690)
 * Thanks – I thought I had to change the CSS style since this showed up on my test
   page after adding the code for getting clolored thumbnails.
 * Thanks for you support – and have a wonderful Christmas holiday Jose Luis 🙂

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

The topic ‘Latest posts duplicate’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/network-latest-posts_61c601.svg)
 * [Network Latest Posts](https://wordpress.org/plugins/network-latest-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/network-latest-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/network-latest-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/network-latest-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/network-latest-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/network-latest-posts/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [elin](https://wordpress.org/support/users/elin/)
 * Last activity: [13 years, 5 months ago](https://wordpress.org/support/topic/latest-posts-duplicate/#post-3240690)
 * Status: resolved