• Resolved RenoJohn

    (@renojohn)


    I have a sattelite tracking system that sends automated posts to my blog (via wp-mail) and included in thses posts is a link to a google map.
    ( ie: https://maps.google.com/maps?f=q&hl=en&geocode=&q=39.5276,-119.7011&ie=UTF8&z=12&om=1 )

    Is there any way to make this link (which is in the text of the post) an active hyperlink so that readers can just click on it?

    Currently, readers need to cut/paste the link into a browser. Being able to just click on the link would add huge functionality to the blog.

    any help/thoughts appreciated. …renojohn

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Uh, you’d have to look at the plugin or whatever is making the post, but wrapping it like <a href="https://maps.google.com/maps?f=q&hl=en&geocode=&q=39.5276,-119.7011&ie=UTF8&z=12&om=1">GeoTag</a> should work.

    Thread Starter RenoJohn

    (@renojohn)

    The post is being made by an automated sattelite tracking thing that is sending a plain text email to wp-mail. It won’t come with any html tags etc.

    Me wondering if there is a way to identify a link and wrap it (as you suggets or similar) after-the the fact …either in wp-mail or in the blog sofware as it gets posted?

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    Try adding this to your theme’s functions.php file:

    add_filter('the_content', 'make_clickable',9);

    Thread Starter RenoJohn

    (@renojohn)

    Otto 42 wrote:

    Try adding this to your theme’s functions.php file:
    add_filter(‘the_content’, ‘make_clickable’,9);

    Otto42, you are my hero!! That worked like a dream!!

    Thank you so much ..this has added a ton of functionality to my blog.

    So, is there a way to have this link come up in a new windows as to not take people from the blog??

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    Putting it in a new window is not as simple. You need javascript to do that sort of thing properly, and anyway it’s generally not recommended and considered poor form.

    Thread Starter RenoJohn

    (@renojohn)

    re: New window

    If not as simple, I’ll forget about it.
    BTW …poor form is one of my strengths ??

    GREAT help here, thanks! Marking “resolved” ..renojohn

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Make static link a *hyperlink* in posts. Possible?’ is closed to new replies.