Tagged: ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #50745
    dawfx
    Member

    As the title says, I am using the Kathmandu theme and I want to remove the Hyperlink of the title (which references the same page). I want to keep the title as it is, just remove the hyperlink.

    Kind Regards.

    #50751
    Sakin
    Keymaster

    @dawfx: For this, you need to build child theme and edit content-page.php file. So, first look at this article http://catchthemes.com/blog/create-child-theme-wordpress/ and build child theme. Then copy only content-page.php file in your child theme and find the following code
    <h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'catchkathmandu' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1>

    Then replace it with the following:
    <h1 class="entry-title"><?php the_title(); ?></h1>

    #50800
    dawfx
    Member

    @Sakin Amazing and something more. If I want to re-edit something then I need to upload again the zip or I edit it from the created file instantly? And moreover, does this technique applies to plugins also?

    Cheers!

    #50802
    Sakin
    Keymaster

    @dawfx: It depends on how theme and plugin are developed.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Remove page's Title HyperLink – Kathmandu theme’ is closed to new replies.