• Resolved Lisa

    (@lisa-geerts)


    Hi,

    In my current theme, ACF is showing a button with a link to an external page. Now I am trying out this new theme and I can’t get the button to work.

    I placed this in the single.php of the new theme:

    <?php if ( get_field( 'show_external_link_button' ) == 1 ) : ?>
    	<?php // echo 'true'; ?>
    <?php else : ?>
    	<?php // echo 'false'; ?>
    <?php endif; ?>

    And I added the export php code to my functions.php file.

    In my post costumizer I see the fields and the URL’s, so that part works. Does anybody know what I am doing wrong here?

    Thanks for your reply.

    Lisa

    • This topic was modified 2 years, 11 months ago by Lisa.

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

Viewing 1 replies (of 1 total)
  • Plugin Support ACF Support

    (@acfsupport)

    Hi there!

    ACF Support Team here. This forum is generally used by ACF users to help each other out.

    However, we would love to continue investigating and troubleshooting this issue, please can you create a ticket using our ​support form and we can look into it further.

Viewing 1 replies (of 1 total)

The topic ‘Button doesn’t show up’ is closed to new replies.