Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1402955
    Moonworks
    Participant

    I’m trying to show the info from the different fields in ACF Pro, but don’t seem to be getting anywhere.

    I’ve created some fields and am using the following shortcode:

    [acf field="{$length_of_tour}"]

    This is what I found on the page at:

    Displaying Values in Your Theme

    It isn’t doing anything though, it just shows the shortcode on the page or, if using it within Visual Composer, it doesn’t show anything, just a blank section.

    Here is a URL with a simple test, it just has that shortcode and nothing else:
    http://book-tour.com/_test

    Thanks.

    #1402978
    Moonworks
    Participant

    I realised that where it was showing was due to code that had been added to the shortcode. Without it, it doesn’t show at all.

    #1403065
    Thai
    Moderator

    Yeah sure, remove the code shortcode around it will work.

    Regards!

    #1403077
    Moonworks
    Participant

    The shortcode doesn’t work, it just shows a blank space

    #1403087
    Thai
    Moderator

    Please try with this shortcode:

    [acf field="length_of_tour"]

    Let us know how it goes!

    #1403114
    Moonworks
    Participant

    That’s done it, thank you 🙂

    #1403186
    Thai
    Moderator

    You’re most welcome 🙂

  • <script> jQuery(function($){ $("#no-reply-1402955 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>