Support

Account

Home Forums Front-end Issues toggle switch

Unread

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
    martin

Viewing 1 post (of 1 total)

The topic ‘toggle switch’ is closed to new replies.