Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author DWUser

    (@dwusercom)

    Hi,

    You can automatically link the titles by editing the wp-content/plugins/easyrotator-for-wordpress/engine/main.php plugin file. On or around line 1870, you’ll see:

    $codeOut .= "\n " . '<span class="title">' . $title . '</span>';

    Update this to be:

    $codeOut .= "\n " . '<span class="title">< a href="' . htmlspecialchars($link) . '">' . $title . '</a></span>';

    NOTE: I added a space between < and a (it’s currently < a) to prevent the forum from breaking the formatting. You should remove that space in the real code.

    Sincerely,
    Drew O’Neill

    Thread Starter one9ooh6

    (@one9ooh6)

    Hey Drew,

    That didn’t work for me, unless I did something wrong.

    Plugin Author DWUser

    (@dwusercom)

    Hi,

    Can you please post a gist with the exact code that you changed? Please also send the URL of your page that has a rotator that’s not auto-linking.

    Sincerely,
    Drew O’Neill

    Thread Starter one9ooh6

    (@one9ooh6)

    Here’s the <a></a>

    Thread Starter one9ooh6

    (@one9ooh6)

    Here’s the link .

    Here’s the screenshot

    Plugin Author DWUser

    (@dwusercom)

    Hi,

    Sorry – the code I sent was for dynamically-generated slides; to add links to manually-added slides, just update the slide titles in the editor to include link code. For example:

    Miss America is coming to Vicksburg!

    Becomes:

    < a >Miss America is coming to Vicksburg!< /a>

    (Spaces added to a tags to prevent parsing.)

    Sincerely,
    Drew O’Neill

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Slide Title’ is closed to new replies.