• Resolved ltempest

    (@ltempest)


    Hello, I want to order my posts in PostX by Meta Value. Where in my WordPress posts do I enter the Meta Value? I have tried with the ACF plugin and added a custom field but this does not work. Is there a core WordPress field I need to use and if so how do I access it?

    Thanks

Viewing 1 replies (of 1 total)
  • Thanks for reaching out. Yes, you can add a core WordPress custom field.

    1. Open a post in the editor.
    2. Click the three dots icon in the top-right corner > go to Preferences > General.
    3. Scroll down, enable Custom fields, and save. img
    4. Now, in the editor, scroll to the bottom and you’ll see the Custom fields option.
      • You can either select an existing custom field or create a new one.
      • Enter your value and save the changes. image for reference

    Next, go to Grid > Query Builder:

    • Under Order by, choose the last option: Meta Value Number.
    • Then, scroll to Meta Key and paste or type the key name you added to the post. img

    Your corresponding posts will now be displayed.

    I hope this clears things up! If you found this helpful , Would appreciate your feedback on WordPress . Thanks Again.

Viewing 1 replies (of 1 total)

The topic ‘Order by Meta Value’ is closed to new replies.