612-293-8629 HELLO@THEMIGHTYMO.COM

Today I was banging my head against a wall, because “p” tags were being wrapped around a piece of text that I am pulling from a custom theme options page. It turns out the issue was that I was using the wpautop filter in the theme for reasons unknown (can I blame someone else for that?).

My code looked like this:

echo wpautop(get_option('arbitrary_custom_option_name'));

Now it’s all good:

echo get_option('arbitrary_custom_option_name');

PHONE, EMAIL, TEXT

We love to communicate: phone, email, text, Facebook, Twitter, LinkedIn, you name it.

LOCATIONS

PAYMENTS ACCEPTED

Call Now

Enroll in Our Free Beginner WordPress Class - delivered to your Email Inbox!

Become a WordPress superstar for FREE in only minutes a day!  Our free Beginner WordPress Email Class will be delivered to your inbox!

Learn More 

You Have Successfully Enrolled! Prepare For Amazing!