functions.php in child theme?
-
Hi Ben,
I’m trying to get line breaks in my author bio. Other than 1 reputable plugin that I’ve found (that doesn’t seem to work for me) I read that adding this to my functions.php file should work:
$bio = $custom[“_staff_member_bio”][0];
if ($bio){ echo ‘Bio:<div>’ . wpautop( $bio ) . ‘</div>’; }So, should I make a copy of my functions.php file, add this code, then upload it to the child theme folder?
Or is there another work around?
Thanks again…
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘functions.php in child theme?’ is closed to new replies.