WordPress.org

Forums

Post the title as text in the post body (2 posts)

  1. modernwebmaster
    Member
    Posted 1 year ago #

    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/insert_php(code that posts the post title with dashes)[/insert_php]

    I hope that makes sense and thanks in advance.

  2. I am using a plugin that will allow me to automatically post a link at the bottom of each post.

    what plugin exactly? where did you download it from?

    you might be able to adjust that plugin to do what you need.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags