• Resolved kiiritolink

    (@kiiritolink)


    Hello,

    I’m starting to build my website. I use ACF to help me on my task, all works good. I enjoy to use this plugin, but I have a question for a field. I use true/false on my page for a field and the php code generate by this plugin doesn’t appear on my website.

    I don’t understand why, I activate my field and read this code:

    div>
                <?php echo "<strong>Traduction fran?aise:</strong>"; if ( get_field( 'traduction_francaise' ) == 1 ) { 
                 // echo 'true'; 
                } else { 
                // echo 'false'; 
                }  ?> 
            </div>

    whatever I choose, nothing appear on my website, if true it must appear “oui” and false “non”. But I have nothing. Why?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘True / False doesn’t appear’ is closed to new replies.