• Resolved florlola

    (@florlola)


    Since the update, I’ve noticed the title of the page (Home) is showing up on the homepage. Which wasn’t before, and besides the fact that I don’t want it there, it shows up at the bottom of the page, right before the footer starts…

    Any ideas on how to get it out of there?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Encontré el error y la solución, ve a Apariencia → Editor y entra al archivo front-page.php luego encuentra esta linea if (get_theme_mod('colormag_hide_blog_front', 0) == 0): ?> y edítala para que quede así: if (get_theme_mod('colormag_hide_blog_front', 1) == 0): ?> ya con eso se soluciona, recomendación, este tema no usa pagina estática para el home, como estás usando el tema te estas arruinando todo el SEO.

    Saludos ??

    how did you go with this florlola?

    Thread Starter florlola

    (@florlola)

    I haven’t gotten any answers… I think I’m just going to just change the theme altogether….

    Go to Appearance → Editor and then to front- page.php file then find this line if ( get_theme_mod ( ‘ colormag_hide_blog_front ‘, 0) == 0 )? > And edit it to make it like this: if ( get_theme_mod ( ‘ colormag_hide_blog_front ‘, 1 ) == 0 )? >

    thats it !

    Thread Starter florlola

    (@florlola)

    I must have a different page.php file, because that line does not exist

    This is my page.php file:

    <?php
    /**
     * Theme Page Section for our theme.
     *
     * @package ThemeGrill
     * @subpackage ColorMag
     * @since ColorMag 1.0
     */
    ?>
    
    <?php get_header(); ?>
    
    	<?php do_action( 'colormag_before_body_content' ); ?>
    
    	<div id="primary">
    		<div id="content" class="clearfix">
    			<?php while ( have_posts() ) : the_post(); ?>
    
    				<?php get_template_part( 'content', 'page' ); ?>
    
    				<?php
    					do_action( 'colormag_before_comments_template' );
    					// If comments are open or we have at least one comment, load up the comment template
    					if ( comments_open() || '0' != get_comments_number() )
    						comments_template();
    	      		do_action ( 'colormag_after_comments_template' );
    				?>
    
    			<?php endwhile; ?>
    
    		</div><!-- #content -->
    	</div><!-- #primary -->
    
    	<?php colormag_sidebar_select(); ?>
    
    	<?php do_action( 'colormag_after_body_content' ); ?>
    
    <?php get_footer(); ?>

    Umm, florlola, aditya.naskar is referring to front-page.php Is this the one you are editing? Not the page.php (template) file.

    Thread Starter florlola

    (@florlola)

    oh! I see
    Got it! Thanks!

    I think there is a typo in the above solutions. Here is what worked for me:

    Go to Appearance → Editor and then to front- page.php file then find this line if ( get_theme_mod ( ‘ colormag_hide_blog_front ‘, 0) == 0 )? > And edit it to make it like this: if ( get_theme_mod ( ‘ colormag_hide_blog_front ‘, 0 ) == 1 )? >

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Page title on Homepage’ is closed to new replies.