❄️ Looking for Black Friday Deals? CLICK HERE for our post » Acabado: Fixing Italics and Bold Font on Pages - Pro Blogger Income

Acabado: Fixing Italics and Bold Font on Pages

by Josh Koop | Last Updated:  July 26, 2020
Apply to Ezoic Surfer SEO 7 Day Trial Brave Browser
As an Amazon Associate we earn from qualifying purchases made on our website. If you make a purchase through links from this website, we may get a small share of the sale from Amazon and other similar affiliate programs. You can read our complete disclaimer information for more details.

Numerous people were reporting issues with having bold or italicized text on their blog roll pages. So I dug in much more to find the bug and the fix is below until the next update comes out.

The lowdown is that what is causing it is the code in the themes function.php (around line 735)

You have to open the Theme Editor and locate functions.php from the right-hand side.

Find this below code on around line 735

$excerpt = strip_tags( $content, '<b><strong><em>' );

as soon as I remove it from leaving in tags (b, strong, em) then it is fine

$excerpt = strip_tags( $content );

This is due to the content in my first paragraph having these tags and I would expect the code in the theme tells it not to remove it from the excerpt, but then on the blog there is no ending or which makes ALL CONTENT AFTER THIS HAVE THE BOLD AND ITALIC OR WHATEVER WAS ENABLED.

I love technology, I have plenty of technical side experience but never really thought of blogging as a way to earn an income. With everything that has gone on in the last couple years and the instability of the job markets I started to learn how to blog and build affiliate niche sites to add more income channels to give me the chance to break free from the financial chains that bind me and find real freedom!