Post the title as text in the post body
-
This is a little unusual but here’s what I’m trying to do…
If I have a post with the title, “My Favorite Color”, the link for the post will be…
“http://mysite.com/my-favorite-color/
I am using a plugin that will allow me to automatically post a link at the bottom of each post. I want to be able to automatically inject the post title (with the dashes) into a link with a different domain name.
For example,
Instead of the link above, it would be something like…
http://myothersite.com/my-favorite-color/
I installed a plugin called “Insert PHP” so I imagine the link would look something like this…
http://myothersite.com/%5Binsert_php%5D(code that posts the post title with dashes)[/insert_php]
I hope that makes sense and thanks in advance.
- The topic ‘Post the title as text in the post body’ is closed to new replies.