Home Forums General Issues Link repeater on another page?


Link repeater on another page?

  • Hi there,
    let’s say I create a page with a repeater that displays a series of ‘cards’ with maybe four bits of information. Its a kind of index. On another page, in this case a WooCommerce product page I would like to add three of the cards from the repeater on the index page.

    I would go to the product page and hopefully there would be a way to add three of the cards by selecting them in some way? The idea would be that the information is centralised.

    Can I do this?


  • You cannot select specific fields, repeater or otherwise, but especially repeaters, to display on another post, at least not without a lot of custom coding.

    The issue is that you are selecting a page and I am assuming by reading your description that every page can have a different repeater. In this case you would need to have at least 2 field. One where you select the related page and a second where you select the rows of the repeater you want to so. To do this you would need to build custom JavaScript that is fired when the first field is changed that then does an AJAX query and populates the possible values in the second field.

    An alternate, easier option would be to add a true/false field to the repeater to select which rows to show when they are shown on the product page.

    Unless this repeater is on an options page and that would require something completely different.

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

You must be logged in to reply to this topic.