• It seems that i can’t remove the double titles in the header. The FAQ and all the support threads that cover that, don’t apply apparently to all themes.

    Mine:

    <?php
    /**
     * Template Name: Full-width Page Template, No Sidebar
     *
     * Description: Use this page template to remove the sidebar from any page.
     *
     * Tip: to remove the sidebar from all posts and pages simply remove
     * any active widgets from the Main Sidebar area, and the sidebar will
     * disappear everywhere.
     *
     * @package WordPress - Themonic Framework
     * @subpackage Iconic_One
     * @since Iconic One 1.0
     */
    
    get_header(); ?>
    
    	<div id="primary" class="site-content">
    		<div id="content" role="main">
    					<?php while ( have_posts() ) : the_post(); ?>
    				<?php get_template_part( 'content', 'page' ); ?>
    				<?php comments_template( '', true ); ?>
    			<?php endwhile; // end of the loop. ?>
    
    		</div><!-- #content -->
    	</div><!-- #primary -->
    <?php get_footer(); ?>

    https://www.ads-software.com/plugins/anspress/

Viewing 1 replies (of 1 total)
  • Thread Starter massimod

    (@massimod)

    Ok, this seems to work and remove the double title.

    <?php
    
    get_header(); ?>
    
    	<div id="primary" class="site-content">
    		<div id="content" role="main">
    
                  <?php while ( have_posts() ) : the_post(); ?>
    
                    <?php the_content(); ?>
    
                  <?php endwhile; ?>
    
    		</div><!-- #content -->
    	</div><!-- #primary -->
    
    <?php get_footer(); ?>

    But when i view the anspress page, the WIDTH of the page is changed from the default of the template, to smaller.

    Any ideas ?

    Is there an easier way to get rid of the double titles ?

Viewing 1 replies (of 1 total)
  • The topic ‘Can't get rid of double header’ is closed to new replies.