How can we help?

If you are looking for support for our Poka theme, this is the place!

Home Forums PokaCasino support This value to an arbitrary position in an arbitrary page

This topic contains 4 replies, has 2 voices, and was last updated by  Bohdan Lukach 1 year, 2 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #492

    Bohdan Lukach
    Participant

    Hey. Need code, to display this value to an arbitrary position in an arbitrary page:

    #493

    Bohdan Lukach
    Participant
    This reply has been marked as private.
    #494

    Bohdan Lukach
    Participant

    All values all items:

    <?php while(the_repeater_field('affiliate_info_list')) { ?>
    <li><strong><?php the_sub_field('item_title'); ?>: </strong><?php the_sub_field('item_value'); ?></li>
    <?php } ?>

    I need to value item 5.

    #496

    admin
    Keymaster

    Hi Bohdan!

    if you want to get the fifth item value you can do:

    the_field('affiliate_info_list_4_item_value');

    And if you want the value outside the loop:

    the_field('affiliate_info_list_4_item_value','REVIEW ID');

    #497

    Bohdan Lukach
    Participant

    Thank you so much!

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

You must be logged in to reply to this topic.