WordPress and Visual Composer custom page template

Solution:

Yes this is possible.

Below is a code-example of the template file where you can add your custom code wherever you like.

Name your file like this example-page.php The ID’s and classes are of course optional.

<?php
// Template Name: Your name

get_header(); ?>

<!-- Your custom code goes here -->

<div id="primary" class="content-area">
    <main id="main" class="site-main" role="main">
        <div class="container">

            <!-- Or here, if you want it inside your container -->

            <div>
                <?php
                while ( have_posts() ) : the_post();

                    the_content(); // Will output the content of visual composer


                endwhile; // End of the loop.
                ?>
            </div>

        </div><!-- END container -->
    </main><!-- #main -->
</div><!-- #primary -->

Need more instructions? Please let me know 🙂