• Hey, just trying your plugin for the first time and I have to say, it’s as easy to use as SEO smart links which is great.

    I do have one suggestion though. I would love to see a a field on the configuration page that allows you to exclude auto links being created in specific elements based on they’re class and/or id.

    Use case:
    I have a button on the home page that says “Learn more about our products”, I have set the auto linker to create different links throughout the website using the keyword “products” and “about”. Because of the plugin behavior, the button on the homepage now displays the text “Learn More” with “about our products” displaying outside the button element.
    I would like the plugin to ignore instances of these keyword in specific elements – in this case, a button that is styled by my theme (.fusion-button)

    Apart from that, it’s a great plugin. I’ll work my way around this limitation for now but hopefully we’ll get to see this or a similar feature implemented soon. Also, if you do plan on developing it and want some testing done before you release it just get in touch with me ??

    Keep up the good work.

Viewing 1 replies (of 1 total)
  • Vin I could not work out how to do this either, but I’m pretty sure you could edit this part to include more matches…

    For instance I really want to avoid any links in captions as it looks very unprofessional and weird.

    Maybe someone can give us a code example of excluding say H tags like below and something like <figcaption></figcaption> etc.

    if ($options[‘excludeheading’] == “on”) {

    $text = preg_replace_callback(‘%(<h.*?>)(.*?)(</h.*?>)%si’, function($m) {
    return $m[1].SEOAutoReSpecChar($m[2]).$m[3];
    },
    $text

Viewing 1 replies (of 1 total)
  • The topic ‘Exclude links from specifc CSS classes or selectors’ is closed to new replies.