How to insert the plugin code into the website
-
Good morning, I have the following code for a single file –
<?php<div id="primary" class="content-area"> <div class="content-container site-container"> <main id="main" class="site-main" role="main"> <?php /** * Hook for anything before main content */ do_action( 'kadence_before_main_content' ); ?> <div class="content-wrap"> <?php if ( is_404() ) { do_action( 'kadence_404_content' ); } elseif ( have_posts() ) { while ( have_posts() ) { the_post(); /** * Hook in content single entry template. */ do_action( 'kadence_single_content' ); } } else { get_template_part( 'template-parts/content/error' ); } ?> </div> <?php /** * Hook for anything after main content */ do_action( 'kadence_after_main_content' ); ?>
When I add the code, the website does not work properly. How to insert the code into the page content so that it is displayed correctly?
- The topic ‘How to insert the plugin code into the website’ is closed to new replies.