Published listings turn to draft by itself

  • Miguel
    Miguel
    Newbie 38 points
    January 24, 2019 at 2:12 pm

    Hi
    I’m using the latest version of Directory press v9. I’d like it a lot but…
    This is a bit frustrating. I keep updating and publish my listings and yet keep coming as draft in later time.

    What can I do? What is going wrong?

  • Miguel
    Miguel
    Newbie 38 points
    January 25, 2019 at 2:51 pm

    Hi I just found the fix for my problem.
    Most of my listings were expired. Meaning Custom field named ‘listing_expiry_date’ had a past date value.

    In order to update this I had to download a plugin Custom Field Bulk Editor. This will update the value of a custom field in multiples listings at once. I’m aware this process can also be done directly from mySQLadmin.

    Update my draft listings to publish all at once – this is the query I use in my database and it worked.

    UPDATE wp_posts SET post_status = ‘publish’ WHERE (post_type=’listing_type’ and post_status=’draft’);

    In case someone need to know this for future issues like mine. Directory theme V9 now works with my previous database.

Viewing 2 posts - 1 through 2 (of 2 total)

New Business Themes for WordPress 2020

Start your new website today!

View Business Themes