Forums

[resolved] how to turn off the linking in a post title... (3 posts)

  1. dtarver
    Member
    Posted 2 years ago #

    Hello

    How do I turn off the linking in a post title please?
    If you visit (IT IS UNDER DEVELOPMENT SO DON'T ORDER) http://www.createandmanageschedules.com/coaching/ and roll over the title "Welcome to Create And Manage Schedules Exclusive Video Coaching!" it highlights. I commented out the code but when people click on the title it reloads a page.

    I prefer to prevent the title linking on all posts. How do I do that please?

    Thank you,
    Dora

  2. MichaelH
    Volunteer
    Posted 2 years ago #

    In the WordPress Default theme's wp-content/themes/default/index.php that 'linking' is caused by code like this:

    <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>

    so you would change that to:

    <h2><?php the_title(); ?></h2>

    So look for something like that in your theme's index.php file

  3. dtarver
    Member
    Posted 2 years ago #

    Thank you Michael! :-)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.