WordPress.org

Ready to get started?Download WordPress

Forums

List Related Attachments
[resolved] Home page showing last post's attachment (5 posts)

  1. MattSuppa
    Member
    Posted 1 year ago #

    I'm using version 1.8 of the list related attachments plugin as a sidebar widget. On individual posts, this plugin works great! But on the home page, when only showing the latest 10 posts, it lists the attachment for the last post in that list. Is there a way to either, a) show the newest post's download or b) to not have it show on the home page at all without adding the shortcode into the template?

    http://ethicist.aom.org is the site I'm referring to...

    http://wordpress.org/extend/plugins/list-related-attachments-widget/

  2. Baden
    Member
    Plugin Author

    Posted 1 year ago #

    Interesting. So when you show it on the blog page (in your case, the blog page is your main page) you want the ability to:
    a) show only the newest (top) post
    b) do not display on the blog page
    another option might be:
    c) show all attachments to all posts currently being displayed on the blog page

    If you simply do not want the widget to display at all on the blog page--option b), this could be accomplished by registering a new sidebar to be used only by the blog page. Here is a pretty straightforward step-by-step guide on setting that up: http://www.tastyplacement.com/add-sidebar-wordpress

    The other options will have to be added to the next release. Be sure, we will look into it... and thank you for the feedback.

  3. Baden
    Member
    Plugin Author

    Posted 1 year ago #

    Please update to version 1.9. This version will only display the attachments of the first post when the sidebar widget is used on the Blog page. Let us know if it works for you.
    -Twinpictures

  4. MattSuppa
    Member
    Posted 1 year ago #

    I upgraded the plug-in to version 1.9 removed the old widget and placed the new one back into the sidebar with the following settings:

    Title: Related Downloads
    Count: -1
    Attachment Mime/Type: application
    Order By: date
    Order Direction: DESC
    Display: title
    Target: blank

    It now doesn't show on the blog's main page (home page) which is great.

    http://ethicist.aom.org/ (home page)
    http://ethicist.aom.org/2012/10/professional-life-attending-professional-meetings/ (post with one attachment (individual post)

    We'll continue to see if all else goes well with the plug-in, but after the initial review, that was a great response time, and I appreciate your willingness to address it.

  5. Baden
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks for the feedback. On the Blog Page (home page for you) the plugin will show related attachments for the first post, as it is doing on your home page.

    We aim to provide responsive support for all our plugins--especially when helpful users such as yourself report buggy, or unintended behavior.

    Happy campers all around!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic