The reference in the title of the full post

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #3117 Reply

    Anonymous

    Hi, Ron!

    Sorry for my English.
    How to remove the reference in the title (record: full post)?
    Page references itself.

    Thank you!

    PS: Great theme!

    #3123

    Ron
    Keymaster

    You didn’t mention the theme you are using. I’ll assume you want to remove the link on the post’s title. Go to Appearance -> Editor then edit loop-single.php

    Change this line:

    <h1 class="entry-title"><a href="<?php the_permalink(); ?>"><?php echo the_title(); ?></a></h1>

    To this:

    <h1 class="entry-title"><?php echo the_title(); ?></h1>
    #3126

    Anonymous

    Asteroid theme. I really like it!
    However, there’s this code:

    <h1 class="entry-title"><a href="<?php the_permalink(); ?>">
    	<?php
    		if ( the_title( '', '', false ) != '' ){
    			echo the_title();
    		}
    		else {
    			echo __('Untitled', 'asteroid');
    		}
    	?>
    </a></h1>

    Can it be replaced by:

    <h1 class="entry-title"><?php echo the_title(); ?></h1>
    

    Thank you!

    #3127

    Ron
    Keymaster

    Yes

    #3128

    Anonymous

    Thank you very much!
    You are a good man!

    #3129

    Anonymous

    Thank you very much!
    You are a good man!

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: The reference in the title of the full post
Your information: