WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: SEO Auto Linker] HTML Code Highlighted

[Resolved] [Plugin: SEO Auto Linker] HTML Code Highlighted

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author chrisguitarguy

    @chrisguitarguy

    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.

    Hi

    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.

    Plugin Author chrisguitarguy

    @chrisguitarguy

    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] [Plugin: SEO Auto Linker] HTML Code Highlighted’ is closed to new replies.