Recent Posts Widget Extended
[resolved] Removing styles (4 posts)

  1. lansipaltta
    Posted 2 years ago #


    Is there easy way to remove styles from this widget so I could use it like basic list with dots etc. (like WP's own Archives widget)? I dont't use date and image. Just list of recent posts.


  2. Satrya
    Plugin Author

    Posted 2 years ago #

    Try this, put this codes in your theme functions.php

    add_action( 'init', 'rpwe_remove_style', 1 );
    function rpwe_remove_style() {
     wp_dequeue_style( 'rpwe-style' );
  3. Satrya
    Plugin Author

    Posted 2 years ago #

    Please update to 0.8, I added option to remove the default styles.

  4. lansipaltta
    Posted 2 years ago #

    Thanks for your awesome quick reply.

    There's still one.

    Is there some reason why this widget uses <h3> tag for those list elements? Normally WP uses the body text/font inside the <li>. When I take that Default styles tap off and edit that h3 style to match my body style. The placement and the size of the text goes really weird. But when I add another widget (2 widgets same time) where that tap is on, both of them uses now my original body texts.

    I think this is maybe too complicated widget for my purposes because I have to do too much css editing to get it look just plain link list.

    But thanks for your effort.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.