Forums

Sideposts CSS (4 posts)

  1. ashley3ee
    Member
    Posted 2 years ago #

    I see a bunch of posts on the Sideposts widget. I'm going insane over here because I'm trying to make the style work. How can I disable the style sheet?

    I saw somewhere possibly make a plugin to disable it, how would I do that?

    thank you

  2. Txanny
    Member
    Posted 2 years ago #

    The easy way: detele the style.css file on the widget folder.

    If you're interested on doing it by a plugin, you need to hook into the 'ak_sideposts_style_url' and return an empty string:

    function disable_sideposts_styles( $url )
    {
    	return '';
    }
    add_filer('ak_sideposts_style_url', 'disable_sidepost_styles');
  3. Txanny
    Member
    Posted 2 years ago #

    Forgot that:

    Another way to disable the styles is to create a file named 'alkivia.ini' in the wp-content folder with this content:

    [sideposts]
    disable-module-styles = On
  4. ashley3ee
    Member
    Posted 2 years ago #

    thank you, that file alkivia.ini works perfect!

Topic Closed

This topic has been closed to new replies.

About this Topic