WordPress.org

Forums

Modifying relation " rel " for links in the links database. (1 post)

  1. bmemor21
    Member
    Posted 6 years ago #

    Hello everyone,

    We make use of the Shadowbox plugin (a great overlay plugin for iframes, etc.), and to use it you have to define a link's relation. So, like:

    '.. href="xxx" rel="shadowbox;other stuff and parameters">xxxx</...'

    This works great for hard-coded links on a page, but how do I modify rel = whatever via the links database? You can use the "Link Relationship (XFN)" section, but you actually have to hack the file to be able to enter whatever you want in there, then whenever you update WordPress, you have to hack it all over again. There has got to be a better way. Does anyone know of a plugin, or an easy way I just add my own rel=whatever?

    Thanks much!!

Topic Closed

This topic has been closed to new replies.

About this Topic