SEO Auto Linker
[resolved] HTML Code Highlighted (4 posts)

  1. strikeengine
    Posted 4 years ago #

    I found that it can make the html code used in widgets like Post Layout into a link also.


  2. chrisguitarguy
    Plugin Author

    Posted 4 years ago #

    Can you give an example? Is the Post Layout widget a plugin?

    SEO Auto Linker works by hooking into the_content filter, so any other plugins that use the <?php the_content(); ?> template tag are going to have their content linked.

  3. strikeengine
    Posted 4 years ago #


    Yeah, post layout is a plug in. I use it to put Amazon adds at the bottom of posts and pages. The word I used was nos (Nitrous Oxide) and it comes up with <NOSCRIPT> . The HTML becomes visible.

  4. chrisguitarguy
    Plugin Author

    Posted 4 years ago #

    Ah, gotcha.

    Try this:
    -Open up the plugin folder on ftp or something similar (or on your local development environment).
    -Replace includes/front.php with this https://gist.github.com/1180831

    Alternatively, you could just change this line in includes/front.php
    add_filter( 'the_content', array( &$this, 'content' ), 99, 1 );
    to this:
    add_filter( 'the_content', array( &$this, 'content' ), 1, 1 );

    That's going to add the links very early, before anything else has a chance to add stuff to the_content. I suspect your issue is just a conflict with the two plugins hooking into the same thing.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • SEO Auto Linker
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic