Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End How to query a post based on meta data in wordpress

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #32021
    4bco
    Participant

    I need to query posts by a custom field. Someone please help. I have no idea how to make this work.

    #55483
    4bco
    Participant

    The date should be today’s date and the format of dvdReleaseDate is yyyy-mm-dd

    #55427
    4bco
    Participant

    Here’s the code I’m working with….

    =&meta_value=’ . time() . ‘&order=ASC’ ); ?>

    However, it is not working properly. Please help.

    #55428
    4bco
    Participant

    The dvdReleaseDate is saved as a custom field with the plug-in More Fields in the Date Format:

    “Date HTML5 input type, full functionality available in modern browsers. Alternative input: YYYY-mm-dd, i.e 2010-07-10”

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘Back End’ is closed to new topics and replies.