Forums

Auto keyword linking (10 posts)

  1. macmonkeymark
    Member
    Posted 9 months ago #

    I'm about to demolish and rebuild my ageing but successful website and have chosen Wordpress as the foundation. I'm keen to make it very accessible and interactive and have had an idea on how I can tie my content and external sources together.

    This stems from the idea of affiliate links - I'd like to be able to define keywords (such as manufacturer or product name) in my content have something that auto generates a dropdown menu that displays the following:

    • a link to the original manufacturers or product site
    • a search link to find all related news stories in my site
    • a search link to find all related reviews in my site
    • a search link for my Youtube account
    • a search link for my Flickr account

    Ideally, I'd like for this to appear only in the first instance of the word in a post rather than littering my content with annoying links.

    Does anyone know if this can be done, or am I looking at getting some Wordpress wiz to knock me up a plugin?

  2. MichaelH
    moderator
    Posted 9 months ago #

    If you go the hire a wiz route, please consider posting a "New Job Request" [1] to have a professional work with you, or consider joining and soliciting professional assistance from the wp-pro mailing list [2].

    [1] http://jobs.wordpress.net/postajob.php
    [2] http://lists.automattic.com/mailman/listinfo/wp-pro

  3. macmonkeymark
    Member
    Posted 9 months ago #

    I will thank you Michael. Seeing as you're a moderator round here and therefore a Wordpress expert, this suggests to me that what I'm after can't be done with anything that you're aware of?

  4. MichaelH
    moderator
    Posted 9 months ago #

    I don't know of a plugin that does that, but you might find something at:
    http://wordpress.org/extend/plugins/

    Please note, Moderator status is not necessarily indicative of expertness ;)

    Good luck.

  5. mores
    Member
    Posted 9 months ago #

    Use one of these plugins as a starting point:
    http://wordpress.org/extend/plugins/lexicon/
    http://wordpress.org/extend/plugins/automatic-tag-link/
    http://wordpress.org/extend/plugins/auto-link/
    Then edit the code to not generate a link, but a little popup of sorts with your desired info.

  6. MichaelH
    moderator
    Posted 9 months ago #

    Nice list mores!

  7. macmonkeymark
    Member
    Posted 9 months ago #

    Oooh - they're somewhere close and quite hackable into what I need. I wonder if my long forgotten PHP skills can hack it?

    Thanks very much mores. That's been a great help.

  8. macmonkeymark
    Member
    Posted 9 months ago #

    So I had a play, and I should be able to get Lexicon to work. I edited the PHP so that it used the keyword to search my Flickr account, which means Youtube shouldn't be an issue, not should searching my Wordpress blog by keyword either.

    Dropdowns can be done with lists and CSS, as seen here with a simple demo here.

    The one small issue I have to work through is having a manufacturer link to the keyword. But I suspect I'll be able to work my way through the plug-in to add a second field and have that as the link in the top of the dropdown menu.

    If I'm successful, I'll let you see the results. Thanks guys for the direction.

  9. mores
    Member
    Posted 9 months ago #

    Purdy javascript tooltips a.k.a. popups can be done with this little script:
    http://www.leigeber.com/2008/06/javascript-tooltip/

    Glad you got it figured out, keep us posted!

  10. cornetjr
    Member
    Posted 5 months ago #

    http://www.semiologic.com/software/autolink-uri/

    The above plugin is still supported/updated regularly. Also a source of many other useful plugins.

Reply

You must log in to post.

About this Topic