Support

Account

Home Forums General Issues Order by Custom Field

Solving

Order by Custom Field

  • Hi,

    Sorry for the basic nature of this question but I’m only just finding my way in the word of WordPress coding.

    I have installed the ACF plugin on my WordPress website which is for a walking club. I have created a custom field type called walk which has custom fields such as distance, leader and meeting point. I have a page that displays brief details of each walk via the Queryloop block. I would like to add a custom field e.g display_order that could be a date or just a number and use that field to order the walks rather than order by published date.

    Here’s where my knowledge is lacking. So…

    1. Do I need to start from scratch using php/html/css etc to code the entire page that displays the brief walk details or can I tweak the code that is behind the Queryloop and retain all the layout that I already have.
    2. Where do I need put the code I create?
    3. How does the code I write get “called” on the display page?

    Any pointers would be most welcome

    Thanks Pete

  • Sorry I meant to say that I have created a custom post type called “walk”

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

You must be logged in to reply to this topic.