WordPress.org

Support

Support » Plugins and Hacks » SM Sticky Featured Widget » [Resolved] [Plugin: SM Sticky Featured Widget] How to add a "Read More" link?

[Resolved] [Plugin: SM Sticky Featured Widget] How to add a "Read More" link?

Viewing 1 replies (of 1 total)
  • Plugin Author Seth Carstens

    @sethcarstens

    I don’t want to overcomplicate the options of the plugin, but I did add in a new filter for modifying the output of the “…”

    $readmore_text = apply_filters('wp_widget_smsticky_readmore_text', '...');

    from a themes (or hopefully child themes) functions.php you simply add a filter like so:

    add_filter('wp_widget_smsticky_readmore_text', 'my_readmore_text_function');
    function my_readmore_text_function($args=array()){
        return '<br><span class="readmore">Read More</span>';
    }

    If you wanted to add the permalink you need to call “the_permalink” in the php. If you don’t understand the process behind this I might suggest you hire a professional developer to help you through the customization.

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] [Plugin: SM Sticky Featured Widget] How to add a "Read More" link?’ is closed to new replies.
Skip to toolbar