WordPress.org

Ready to get started?Download WordPress

Forums

Insert link to self in post (1 post)

  1. SierraDescents
    Member
    Posted 6 years ago #

    For Feed purposes, I'd like images in my posts to link back to the actual post:

    [a href="take me to this post"][img src="my image"][/a]

    While I could manually enter the full path of the url as plain html, it would be awfully nice to grab the post's url automatically:

    [a href="[?php Get_My_Url();?] ...

    My understanding is that putting php code into WP 2.3.2 posts is somewhat problematic.

    Is there any kind of shortcut available within posts to grab the post's url?

    Andy

Topic Closed

This topic has been closed to new replies.

About this Topic

  • RSS feed for this topic
  • Started 6 years ago by SierraDescents
  • This topic is not resolved
  • WordPress version: 2.3.2

Tags