WordPress.org

Support

Support » Plugins and Hacks » [Advanced Custom Fields] Displaying field by name from random page

[Advanced Custom Fields] Displaying field by name from random page

  • 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.

    Criteria.

    • 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.

  • The topic ‘[Advanced Custom Fields] Displaying field by name from random page’ is closed to new replies.