[Advanced Custom Fields] Displaying field by name from random page (1 post)

  1. gcoulby
    Posted 1 year ago #

    Using Advanced Custom Fields:
    I am wanting to know if it's possible to display four images with the field name of "large_image" on a page.


    • Images must be random
    • There must be only four images
    • page ID must not be equal to the current page
    • Images are located on pages with a category of collection
    • I would like the post title and permalink accessible so that it can be displayed under each image

    I currently have the images loading on the same page to depict the current product. However I want to display adverts for other products in the sidebar and need to get the "large_image" from each page in the collection category.

Topic Closed

This topic has been closed to new replies.

About this Topic