[resolved] Hide Page titles with loop.php (3 posts)

  1. christosd
    Posted 2 years ago #

    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 }
  2. WPyogi
    Forum Moderator
    Posted 2 years ago #

    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.

  3. christosd
    Posted 2 years ago #

    Thank you very much for the reply.

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

    Thank you

Topic Closed

This topic has been closed to new replies.

About this Topic