WordPress.org

Support

Support » How-To and Troubleshooting » Insert link to self in post

Insert link to self in post

  • 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

  • The topic ‘Insert link to self in post’ is closed to new replies.