WordPress.org

Ready to get started?Download WordPress

Forums

Network Latest Posts
[resolved] Problems with displaying thumbnails (11 posts)

  1. elin
    Member
    Posted 2 years ago #

    This was exactly the thing I was looking for to present my recent posts on the frontpage of my main blog. However, I cannot make the content and the thumbnails display.
    I use the following shortcode on the page

    [nlposts title='Recent posts:' number='4' days='14' titleonly=false thumbnail=true]

    And here is the result:
    http://tasteofslow.com/test-network-latest-posts/

    Im not very familiar with coding, but I will be able to edit the code through my file editor if somebody could give me a clue on where the problem is and what to change! Any suggestions?

    http://wordpress.org/extend/plugins/network-latest-posts/

  2. Jose Luis SAYAGO
    Member
    Plugin Author

    Posted 2 years ago #

    Hi elin, thanks for your comment, please check if you have set those images as thumbnails; to do that just add the image you want to be displayed using the Featured Image option.

    Please let me know if this solves your problem.

    Cheers.

  3. greggo
    Member
    Posted 1 year ago #

    The same issue happens to me, even when i set thumbnail=false...I get a broken image...the reason is that it duplicates the site directory. In @elin 's case, "food" is written 2x: http://tasteofslow.com/food/food/wp-content/blogs.dir/3/files/2012/06/carrot-with-yoghurt-sauce-150x150.jpg, whereas the image is actually in http://tasteofslow.com/food/wp-content/blogs.dir/3/files/2012/06/carrot-with-yoghurt-sauce-150x150.jpg

    Anyone else have this issue?

  4. elin
    Member
    Posted 1 year ago #

    Thanks for pointing out what is not working greggo. I would love to be able to use this plugin!

    I notice that this doubling of the directory happens in the titla when I post at facebook as well. The title looks like this

    "Mongolia Rally Diary – From dream to reality | | TravelTravel"

    while the link looks just fine "http://tasteofslow.com/travel/2012/05/13/mongolia-rally-diary-from-dream-to-reality/"

    Could anyone explain why this doubling up happen, and what can be done to fix it? Is it my set-up which is not right?

    Thanks
    Elin

  5. Jose Luis SAYAGO
    Member
    Plugin Author

    Posted 1 year ago #

    Hi and thanks for your comments,

    Are you both using a plugin to rewrite the urls in your blogs? Please check this post: Problems with thumbnails.

    Cheers.

  6. elin
    Member
    Posted 1 year ago #

    Thanks for the tip - but I dont use any plugins to rewrite my urls.

    Elin

  7. Jose Luis SAYAGO
    Member
    Plugin Author

    Posted 1 year ago #

    Hello Elin,

    Have you tried to uninstall and reinstall the plugin? just in case. I can't understand why it's duplicating the blog's folder, I wish I could replicate this behavior in my network but it works as expected. Which version of WordPress are you currently using?

  8. Jose Luis SAYAGO
    Member
    Plugin Author

    Posted 1 year ago #

    Hello again,

    I'm rewriting this plugin, I'll be releasing the version 3 soon, so I hope this is solved. Once it has been published I hope you could give me some feedback regarding this subject.

    Cheers.

  9. greggo
    Member
    Posted 1 year ago #

    Good to here Jose. Any sense of when it will be released and what new features it will have? I'm considering doing some custom development on this area unless this is being released in the near future.

    thanks.

  10. Jose Luis SAYAGO
    Member
    Plugin Author

    Posted 1 year ago #

    Hello Greggo,

    Well I've been working hard to get it finished, nonetheless there are still some things that need to be done, right now I'm working on the Widget.

    I haven't written the documentation yet, so here's a raw list of the parameters included in the next version:

    • 'title' // Widget title
    • 'number_posts' // Number of posts by blog to be displayed
    • 'time_frame' // Time frame to look for posts in days
    • 'title_only' // Display the post title only
    • 'display_type' // Display content as a: olist (ordered), ulist (unordered), block, inline
    • 'blog_id' // ID(s) of the blog(s) you want to display the latest posts
    • 'ignore_blog' // ID(s) of the blog(s) you want to ignore
    • 'thumbnail' // Display thumbnails
    • 'thumbnail_wh' // Thumbnail Width x Height in pixels
    • 'thumbnail_class' // Thumbnail CSS class
    • 'custom_post_type' // Type of posts to display
    • 'category' // Category(ies) to display
    • 'tag' // Tag(s) to display
    • 'paginate' // Paginate results
    • 'posts_per_page' // Number of posts per page (paginate must be activated)
    • 'excerpt_length' // Excerpt's length
    • 'auto_excerpt' // Generate excerpt from content
    • 'full_meta' // Display date & author
    • 'sort_by_date' // Display the latest posts first regardless of the blog they come from
    • 'sorting_order' // Sort posts from Newest to Oldest or vice versa (newer / older)
    • 'sorting_limit' // Limit the total number of sorted posts to display
    • 'post_status' // Post status (publish, new, pending, draft, auto-draft, future, private, inherit, trash)
    • 'excerpt_trail' // Excerpt's trailing element: text, image
    • 'css_style' // Use custom CSS (ex: custom_style.css)

    As you can see, some of the parameters have disappeared and some others have been added, others have been renamed to match the logic of its functionality.

    I've also replaced all the hackery and nasty workarounds by WordPress hooks, in the hope it performs better and finally making it easier to maintain.

    I'm working on it, I expect it to be finished by the next week, *no promises*, but it won't take more than 1.5 weeks though.

    Cheers.

  11. Jose Luis SAYAGO
    Member
    Plugin Author

    Posted 1 year ago #

    Hello guys,

    Just wondering if you have tested the new version, I'd like to know if this issue has been solved or not. Looking forward to your feedbacks.

    Regards,
    José Luis

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic