Support » Themes and Templates » Hide Page titles with loop.php

  • Resolved christosd

    (@christosd)


    Hi ,

    I would like to remove the titles of all the pages at my site and I don’t how I will do it and what changes I must do in the loop.php .

    Thank you in advance

    The code that shows in the loop.php is

    <?php  //Title
    				if (!is_single()&&!is_page()) { ?>
    				<h2><a>" title="<?php printf( $SMTheme->_( 'permalink' ), the_title_attribute( 'echo=0' ) ); ?>" class='post_ttl'><?php the_title(); ?></a></h2>
    			<?php } else { ?>
    				<h1><?php the_title(); ?></h1>
    			<?php }

Viewing 2 replies - 1 through 2 (of 2 total)
  • WPyogi

    (@wpyogi)

    Forum Moderator

    It’s actually easier to do that by using display: none; in the CSS. For more specific help, we’d need to see a link to your site.

    Thank you very much for the reply.

    I downloaded the plugin ‘Title toggle’ and I set up the titles in every page .

    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Hide Page titles with loop.php’ is closed to new replies.