Linking a post to a page (2 posts)

  1. soulluciani01
    Posted 2 years ago #

    How can I link a post to a url? so when the title of the post is clicked it goes to the url i choose?

  2. Sabinou
    Posted 2 years ago #

    You can make the inside of a post linked to a particular URL, however, when this is a blog post, I don't think this is possible. The very wordpress structure makes that the title of a blog post is the link to the blog post.

    Typically, the call to the title of a blog post is like this :
    <h2>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></h2>

    See ? the_permalink : otherwise, there's not even calling the post from the database.

    Well, if I'm wrong and there's a way, that'll be good to know, though.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.