Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1083326
    auldreekie
    Participant

    I’ve got an X child theme set up. I’m modifying framework/views/icon/content-page.php in order to customise the layout of a third party calendar details/single page.

    The calendar plugin allows me to add content to an event using Visual Composer. I’d like to reference this block of VC content in content-page.php, so that the content appears on the event page.

    Adding <?php the_title(); ?> and <?php the_excerpt(); ?> to content-page.php does display the expected content, but <?php the_content(); ?> doesn’t do the trick.

    Is there a chunk of php (or another way) that I can add reference Visual Composer content in content-page.php?

    Thanks.

    #1083583
    Darshana
    Moderator

    Hi there,

    Thanks for writing in! You can use ACF Pro to input and display such custom fields. Please refer to the following knowledge base article here (https://community.theme.co/kb/integrated-plugins-acf-pro/).

    Hope that helps.

    #1084483
    auldreekie
    Participant

    Of course! Thanks 🙂

    #1084715
    Christian
    Moderator

    You’re welcome. 🙂

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