• Resolved A.Baird

    (@abaird-1)


    Hi there –

    Is there a way to link to a specific blog post and not just the most recent?

    Disclaimer: I am not tech savvy and I searched for this answer but was not even sure if what I was reading pertained to my question so my apologies if this has been asked and answered.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Are you just trying to create a link on your page that you want to go to a specific blog post? If so then all you have to do is <a href="<?php echo get_permalink( 268 ); ?>">My link to a post or page</a>. Replace 268 with the id of the post. You can find more information at http://codex.wordpress.org/Function_Reference/get_permalink.

    Thread Starter A.Baird

    (@abaird-1)

    Thank you – I will have to look up what 90% of those words mean but it looks like the answer is in there. 🙂

    Would I follow similar procedure when posting to social networks? I.e. if I wanted to send someone to an older post directly?

    If you were on social networks you can just copy the URL of the post directly from the browser and then paste it into your social networking. Alternatively you could use a service like Bit.ly to shorten the URL and then also provide you with statistics on how many people engaged with your link. I wouldn’t recommend this internally for your site just for Social Networking.

    Thread Starter A.Baird

    (@abaird-1)

    Thank you for all of your help jherrington1!

    The confusion was that my posts were not giving a specific link. If one clicked on the title it took them back to the homepage.

    I realized that I was on “Custom Structure” which was why everything was linking back to the homepage.

    Ahh … well you are welcome :). All the best to you!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to link to specific blog post/entry’ is closed to new replies.