WordPress.org

Ready to get started?Download WordPress

Forums

SEO Auto Linker
[resolved] Adding a CSS class to the generated links (2 posts)

  1. lukaszwiecek
    Member
    Posted 1 year ago #

    Congratulations on a great plug-in!

    I miss it possible to add a CSS class to generated links to be able to assign them to different styles.

    Best regards!
    Lukasz
    http://majsterkowo.pl

    http://wordpress.org/extend/plugins/seo-auto-linker/

  2. chrisguitarguy
    Member
    Plugin Author

    Posted 1 year ago #

    the CSS class auto-link is added to all links in 0.9.1

    You can modify that programmatically with the seoal_link_class filter:

    <?php
    add_filter('seaol_link_class', function($cls) {
        $cls = 'my-custom-class';
        return $cls;
    });

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic