WordPress.org

Ready to get started?Download WordPress

Forums

The link of the title post (6 posts)

  1. lifeisvibe
    Member
    Posted 8 years ago #

    Hi,

    How to delete the link for each title post..

    Cause I don't want a link a (post) to a page where there are (post + commentaries)

    So how to erase this link?

  2. skippy
    Member
    Posted 8 years ago #

    If you want each post title to be just the title, and not a link, you can edit your theme's index.php and remove the the_permalink() template tag.

  3. lifeisvibe
    Member
    Posted 8 years ago #


  4. lifeisvibe
    Member
    Posted 8 years ago #

    I have remove <?php the_permalink() ?> in:

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

    It has no effect... strange

  5. skippy
    Member
    Posted 8 years ago #

    Change this:
    <a href=... rel="bookmark" title="Permanent Link to <?php the_title(); ?>">

    to this:
    <?php the_title(); ?>;

  6. lifeisvibe
    Member
    Posted 8 years ago #

    It delete the link........it only works in the page where all posts are.. so where all title are....

    but it doesnt really work for title post in categories of each menu..the link is always here

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.