How to style shortcode | WordPress.org

[ad_1]

Hi, opening another thread, I have added a “Block” and managed to add in the shortcode:

<h6 class=”widget-title”><strong>Popular Posts</strong></h6>[wpp range=’last30days’ stats_views=0]

But I was not able to get it to look the same as before. I have tried to edit the settings.php at:

'markup' => [
                'custom_html' => true,
                'title-start' => '<h2>',
                'title-end' => '</h2>',
                'wpp-start' => '<class="wpp-list">',
                'wpp-end' => '</class>',
                'post-html' => '{title}<br>'
            ]

However, it did not work. May I know how can I style it to look similar to before? Thank you.

Ideally, I do not want to touch the settings.php code as it may mess up other things.

The page I need help with: [log in to see the link]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer