Hueman theme is one of the best free WordPress Themes on WordPress.org Theme repository, it is currently being used by more than 70,000 active WordPress sites allover the world (including WP Made Easy) and rated 5 out of 5. Hueman is mobile-friendly blogs, magazines and business websites WordPress theme. I’ve personally had problem adding HTML codes to Hueman copyrights section in the theme footer as it ONLY accepts text and if you added HTML codes to it it will not be executed and the code will appear as text, in this article I will help you solving this problem.
How to add HTML to Hueman Copyrights section in theme footer
I faced this problem when I tried to add links to my site copyrights line and the HTML code appeared as it is without being executed so the links didn’t appear, this problem is caused by WP esc_attr() function which automatically removes HTML from the content, so what you need to do is to stop this function by removing it from the footer.php code in your theme by following steps below.
#1 Copy footer.php file to child theme (create child theme if you don’t have one yet).
#2 Go to your WordPress Admin panel >> Appearance >> Editor.
#3 Edit footer.php file of your child theme.
#4 Find this code near the bottom of the file:
#5 Replace the third line of the code above with this one:
#6 Save the file and your HTML code should work now.
If you faced any problem or have any thing to add, feel free to leave a comment below!
/ 28 mins ago
DEATH is a normal part of life and it’s something we all have to...
/ 37 mins ago
HSBC has announced plans to close 114 branches. The latest round of closures comes...
/ 39 mins ago
THERE are several reasons why ordering a coffee on a plane might not be...
More in WordPress Themes
Looking for a good Arabic WordPress Theme?We’ve tested many.. and here’re the Best RTL...
There are lots of choices when it comes to WordPress coupon themes, so if...
ٍIt’s that time of year again! As we ease into the fresh excitement of...
Genesis framework comes with some built-in shortcodes that you can use to customize your...