How Do I Make A Post Title Post Clickable In Wordpress

7 replies
  • WEB DESIGN
  • |
I'm trying to find out how to make a post title clickable to
go to the site mentioned in the post how do I do that.
#clickable #make #post #title #wordpress
  • Profile picture of the author rosetrees
    I just tried it. Add the standard code and it turns it into a link. In the title box for you post just put <a href ="http:// my domain (dot) com">My Linked Site </a>
    {{ DiscussionBoard.errors[4082144].message }}
    • Profile picture of the author highbids
      rosetrees: That did it thank you vary much I'm just wondering it there's
      anyway to make it any easier to do this I guess not anyway it works.

      Originally Posted by rosetrees View Post

      I just tried it. Add the standard code and it turns it into a link. In the title box for you post just put <a href ="http:// my domain (dot) com">My Linked Site </a>
      {{ DiscussionBoard.errors[4083389].message }}
  • Profile picture of the author highbids
    The post title is about a Pouch Ottoman for sale.

    I just want that phrase clickable how would I do
    that.

    Here's the html code.


    <table border="0" cellspacing="0" cellpadding="0" bordercolor="orange">
    <tbody>
    <tr>
    <td>
    <div id="promotionMessage"><span>Outlet </span><span>$159.99</span>
    <span>Original </span><span>$599.00</span></div></td>
    </tr>
    <tr>
    <td id="copyCell">
    <div id="copyText">Serving. Seating. Storage. It all comes together in the multi-functioning Pouch Ottoman.</div>
    <ul>
    <li>cushion top lifts up to become seat back for single or double seat</li>
    <li>lid beneath cushion top lifts up to reveal hidden storage compartment</li>
    <li>stylish, durable microsuede</li>
    </ul>
    Premium hardwood construction; corner-blocked, wood-screwed and glued. Polyester upholstery. 44x44x17"H. Imported</td>
    </tr>
    </tbody>
    </table>
    {{ DiscussionBoard.errors[4082167].message }}
    • Profile picture of the author Ralf Skirr
      A post title displayed by wordpress is generated dynamically using the wp theme you installed. So if you want the post titles as hyperlinks your theme must have the correct code for this.

      Sample code (it can be done in many ways):
      <a href="<?php the_permalink() ?>" ><?php the_title_attribute(); ?>
      But I'm not sure if this is really what you want.

      Ralf
      {{ DiscussionBoard.errors[4082254].message }}
      • Profile picture of the author Michael Shook
        Perhaps you are meaning how ot make the words in the post clickable to go to the site to buy that? I am not sure after reading the post and responses.

        But in case that is what you want to do.

        Highlight the words you want clickable.
        Click the little cahin link button on your post editor dashboard, it looks like a little globe with a chain.
        Put the page you want the link to go to
        Click insert.

        Then your words will be clickable.

        Ther are a couple of options about the inserted link as well, like open in new/same window and add title attribute to the link. Those choices depend on what you are trying to accomplish.
        Signature


        {{ DiscussionBoard.errors[4082640].message }}
      • Profile picture of the author highbids
        rosetrees: I still want the title of my post to be clickable, but I don't want
        to have to keep editing the html.

        Originally Posted by rosetrees View Post

        Ok - misunderstood you. I thought you wanted the title of your post to be clickable.

        The same principle applies. Just use the code I gave you wherever you want the link to be.
        Ralf Skirr: Which template in the theme should I edit & where should I put the code.

        I use the NewsPublish 1.0 theme.

        Originally Posted by Ralf Skirr View Post

        A post title displayed by wordpress is generated dynamically using the wp theme you installed. So if you want the post titles as hyperlinks your theme must have the correct code for this.

        Sample code (it can be done in many ways):
        But I'm not sure if this is really what you want.

        Ralf
        {{ DiscussionBoard.errors[4082733].message }}
  • Profile picture of the author rosetrees
    Ok - misunderstood you. I thought you wanted the title of your post to be clickable.

    The same principle applies. Just use the code I gave you wherever you want the link to be.
    {{ DiscussionBoard.errors[4082242].message }}

Trending Topics