Support » Plugins » Update a Plugin

  • Resolved RDOwens


    Several years ago someone here offered to write a plugin for me. I use it all on my sites.
    On This Day:

    This plugin lists all posts made on the same day from previous years.

    I have attempted several times to contact the author for help, but it has gone unanswered.

    This plugin will list all the auto drafts that are in the system in its list of posts. I suspect that this is because of how it is collecting the posts from MYSQL. I do not know how to modify that so it doesn’t do it.

    My current workaround is to delete the Auto Drafts, but I would love it if this plugin did not call them.

    Is anyone capable and willing to take a look at this? I imagine for those who know how to write these, this is a fairly simple modification. I would be most appreciative.

    Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The code for the plugin you linked to is only including items with a type of “post” and a status of “published”. Where is autodraft appearing?

    I found one article about a problem with Atahualpa theme – if you are using that read this:

    Here is a general purpose article about it:

    Where is autodraft appearing, in the post title? Is it the entire title or part of the title? What is the exact spelling of auto draft, where it is showing up? (It can be excluded from the SQL that pulls posts, but the SQL has to be looking for the exact spelling of the term)

    Thank you kindly for responding.

    I am using Twenty Ten as the theme.
    The spelling is: Auto Draft
    It links to a post with the number despite me using custom permalinks. When the link is clicked, I receive a not found error.

    The post status of the linked Auto Draft is auto-draft. The title is Auto Draft. The post_type is post.


    Are you sure the version of the plugin you are using is the most recent one on this page? The latest version is 1.4

    I didn’t look at the code very thoroughly but I see

    AND post_type = 'post'
    AND post_status = 'publish'

    That code would not be including any posts with a status of auto-draft. That is why I asked if you are using the most recent version.

    If you have an older version, you can post the plugin code in a WordPress pastebin, post the URL here, and I will look at it.

    And of course, I may be overlooking something obvious, also.

    Holy smokes! I was using 1.3. I just changed to 1.4 and all is now resolved. I can’t believe I missed that.

    Thank you ever so much for your help. You just solved something that had been stumping me. I appreciate it.

    May your day be perfect; you deserve it.


    Glad to hear it.
    And, thank you.
    I am glad to have been able to help you.
    take care

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Update a Plugin’ is closed to new replies.