Home Forums Add-ons Options Page I'd like to divide the data for repeater field.


I'd like to divide the data for repeater field.

  • I’d like to use the same code(template) for each environment.
    and I use the code below but it doesn’t work well.

    when front page, I’d like to use the custom fields of Option.
    In the other case, I’d like to use custom fields as each page.

    the code is below.
    when the front page, it doesn’t work.

    $contents = array(‘section-set’,’option’);
    $contents = ‘section-set’;

    <?php if( have_rows($contents) ): ?>
    while ( have_rows( $contents ) ): the_row();

    Does anyone know the solutions?


Viewing 1 post (of 1 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.