Home Forums Front-end Issues toggle switch


toggle switch

  • i wanted a simple toggle switch that a user could turn on an off and their selection would be stored. it doesn’t have to anything other than switch.

    i have set my field , name and label are user_switch , for now i have it set to show on a post type of /club .

    in my club php template i have <?php the_field('user_switch')?> . i also tried ( get_field(‘user_switch’)

    no matter what i can not get the toggle switch to display (it shows in back end fine). just under where i have the toggle set to show i have 24 acf fields of all different types displaying fine , am i missing something silly? i have very limited knowledge and seem to have fell at 1st hurdle.

    many thanks in advance for any assistance

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.