[Theme: Mesocolumn] How to make blank landing page template?
-
How can I create a blank page template for the purposes of creating a landing page? I know this question has been asked a thousand times before, but I’ve tried and failed to apply the advice given to previous posters of this question. I do not know how to code in any language.
This is my website: https://consciouscontentmarketing.com/
The theme is Mesocolumn.
Any help would be much appreciated!
The following is the code I found in my page.php, header.php, and footer.php files.
page.php code:
<?php get_header(); ?> <?php do_action( 'bp_before_content' ); ?> <!-- CONTENT START --> <div class="content"> <div class="content-inner"> <?php do_action( 'bp_before_blog_home' ); ?> <!-- POST ENTRY END --> <div id="post-entry"> <section class="post-entry-inner"> <?php if (have_posts()) : ?><?php while (have_posts()) : the_post(); ?> <!-- POST START --> <article <?php post_class('post-single page-single'); ?> id="post-<?php the_ID(); ?>"> <h1 class="post-title entry-title"><?php the_title(); ?></h1> <?php get_template_part( 'lib/templates/post-meta' ); ?> <?php do_action( 'bp_before_page_content' ); ?> <div class="post-content"> <div class="entry-content"><?php the_content( __('...more »',TEMPLATE_DOMAIN) ); ?></div> <?php wp_link_pages('before=<div id="page-links">&after=</div>'); ?> </div> <?php do_action( 'bp_after_page_content' ); ?> </article> <!-- POST END --> <?php endwhile; ?> <?php comments_template(); ?> <?php else : ?> <?php get_template_part( 'lib/templates/result' ); ?> <?php endif; ?> </section> </div> <!-- POST ENTRY END --> <?php do_action( 'bp_after_blog_home' ); ?> </div><!-- CONTENT INNER END --> </div><!-- CONTENT END --> <?php do_action( 'bp_after_content' ); ?> <?php get_sidebar(); ?> <?php get_footer(); ?>
header.php code
class="no-js"> '; } ?> id="custom"> > 'top', 'container' => false, 'menu_class' => 'sf-menu', 'fallback_cb' => 'mesocolumn_revert_wp_menu_page','walker' => new Custom_Description_Walker )); ?> class="header-overlay-on" id="siteinfo"> ? <><> <><> class="header-overlay-on" id="topbanner"> 'primary', 'container' => false, 'menu_class' => 'sf-menu', 'fallback_cb' => '','walker' => new Custom_Description_Walker )); else: echo ' '; echo wp_list_categories('orderby=name&show_count=0&title_li='); echo ' '; endif; ?> category_parent): else: $in_category = get_category( get_query_var( 'cat' ) ); $cat_id = $in_category->cat_ID; $this_category = wp_list_categories('show_option_none=&orderby=id&depth=5&show_count=0&title_li=&use_desc_for_title=1&child_of='.$this_category->cat_ID."&echo=0"); if($this_category) { echo ' '. $this_category . ' '; } endif; } endif; ?>
footer.php code
</div><!-- CONTAINER WRAP END --> <?php do_action( 'bp_after_container_wrap' ); ?> </section><!-- CONTAINER END --> <?php do_action( 'bp_after_container' ); ?> </div><!-- BODYCONTENT END --> <?php do_action( 'bp_after_bodycontent' ); ?> </div><!-- INNERWRAP BODYWRAP END --> <?php do_action( 'bp_after_bodywrap' ); ?> </div><!-- WRAPPER MAIN END --> <?php do_action( 'bp_after_wrapper_main' ); ?> </div><!-- WRAPPER END --> <?php do_action( 'bp_after_wrapper' ); ?> <?php do_action( 'bp_before_footer_top' ) ?> <?php if ( is_active_sidebar( 'first-footer-widget-area' ) || is_active_sidebar( 'second-footer-widget-area' ) || is_active_sidebar( 'third-footer-widget-area' ) || is_active_sidebar( 'fourth-footer-widget-area' ) ) : ?> <footer class="footer-top"> <div class="innerwrap"> <div class="ftop"> <?php if ( is_active_sidebar( 'first-footer-widget-area' ) ) : ?> <div class="footer-container-wrap"> <div class="fbox"> <div class="widget-area the-icons"> <?php dynamic_sidebar( 'first-footer-widget-area' ); ?> </div> </div> <?php endif; ?> <?php if ( is_active_sidebar( 'second-footer-widget-area' ) ) : ?> <div class="fbox wider-cat"> <div class="widget-area the-icons"> <?php dynamic_sidebar( 'second-footer-widget-area' ); ?> </div> </div> <?php endif; ?> <?php if ( is_active_sidebar( 'third-footer-widget-area' ) ) : ?> <div class="fbox"> <div class="widget-area the-icons"> <?php dynamic_sidebar( 'third-footer-widget-area' ); ?> </div> </div> <?php endif; ?> <?php if ( is_active_sidebar( 'fourth-footer-widget-area' ) ) : ?> <div class="fbox"> <div class="widget-area the-icons"> <?php dynamic_sidebar( 'fourth-footer-widget-area' ); ?> </div> </div> <?php endif; ?> </div> </div> </div> </footer><!-- FOOTER TOP END --> <?php endif; ?> <?php do_action( 'bp_after_footer_top' ); ?> <?php do_action( 'bp_before_footer_bottom' ); ?> <footer class="footer-bottom"> <div class="innerwrap"> <div class="fbottom"> <div class="footer-left"> <?php _e('Copyright ©', TEMPLATE_DOMAIN); ?> <?php echo gmdate(__('Y', TEMPLATE_DOMAIN)); ?>. <?php bloginfo('name');?> <?php do_action( 'bp_footer_left' ); ?> </div><!-- FOOTER LEFT END --> <div class="footer-right"> <?php if ( function_exists( 'wp_nav_menu' ) ) { // Added in 3.0 ?> <?php wp_nav_menu( array( 'theme_location' => 'footer', 'container' => false, 'depth' => 1, 'fallback_cb' => 'none' )); ?> <?php } ?> <?php if( has_nav_menu('footer') ) { echo '<br />'; } ?> <?php if( get_theme_option('footer_credit') != 'Disable'): ?> <?php //only allow author credit link in homepage and not sitewide $paged = get_query_var( 'paged' ); if( (is_home() || is_front_page()) && !$paged ){ $author_link = '<a target="_blank" href="https://www.dezzain.com/wordpress-themes/mesocolumn/">Mesocolumn</a>'; } else { $author_link = 'Mesocolumn'; } printf( __( '%s Theme by Dezzain', TEMPLATE_DOMAIN ), $author_link ); ?> <?php endif; ?> <?php do_action( 'bp_footer_right' ); ?> </div> </div> <!-- FOOTER RIGHT END --> </div> </footer><!-- FOOTER BOTTOM END --> <?php do_action( 'bp_after_footer_bottom' ); ?> </div><!-- SECBODY END --> <?php $footer_code = get_theme_option('footer_code'); echo stripcslashes(do_shortcode($footer_code)); ?> <?php wp_footer(); ?> </body> </html>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘[Theme: Mesocolumn] How to make blank landing page template?’ is closed to new replies.