Support

Account

Home Forums General Issues Hand picking posts

Solving

Hand picking posts

    • qwik3r

    • November 1, 2013 at 9:36 am

    I have a large site that requires ‘modules’ to be on my homepage. Each one of these modules pertains to a category or section on our website, for example dining, events etc. Each module contains maybe 1-3 thumbnails, then text headlines. I need editors to be able to pick and chose which articles appear in these modules easily, without resorting to finding IDs or trickery. Does ACF offer any type of search capability to search for an article and select it to be included in an output display? Or something similar to what my requirements are?

    Thanks!

    • Elliot

    • November 4, 2013 at 3:22 pm

    Hi @qwik3r

    I think the relationship field will be a perfect fit for your requirements. If you have 4 ‘modules’, create 4 relationship fields.

    In each relationship field, you can select and order posts. You can then loop through these selected posts and render the image / headline / link in your page template.

    Checkout the docs for the relationship field and get_field to get started.

    Thanks
    E

    • qwik3r

    • November 6, 2013 at 8:42 am

    Awesome! This looks like it’s exactly what we’re looking for! So essentially this can search through the database of posts and select which ones we want to ‘stick’ them to the homepage and output them, is that correct?

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

You must be logged in to reply to this topic.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.