Forum Replies Created
-
AuthorPosts
-
Perfect! That worked. Thanks!!!!!
That worked! However, is there a way to add this to only the post pages? That is to say, not on the homepage or any other page on the site. Just the post pages. We want to do this because when you click on a post (https://www.internationalcomplianceblog.com/u-s-hits-cuba-with-another-round-of-sanctions-de-minimis-threshold-dropped-to-10-percent/) you can’t see that it is for the International Compliance blog.
Thanks again for your help so far.
Hi Victoria! See private content for log file error.
Hi Ismael,
I tried your revised code above in my functions.php file and I’m still getting the “The site is experiencing technical difficulties.” error.
Luke
Thanks, Ismael! I’ve added the snippet to the functions.php file of my child theme and whenever I do that it breaks the site. The site shows a “This site is experiencing technical difficulties” error. When I remove that snippet from the php file, the site is ok again. Any ideas?
Additionally, if I wanted to add an image, how would I do that in the php syntax? Does it take html? Is it like
add_action('ava_after_main_container', function() { // <img src="abc.jpg" /> }, 10);
Also, if I apply this to my functions.php can I be sure that this image I’m trying to add below the logo and menu only shows up on blog posts and pages, and not the homepage (since there’s already a masthead image there)?
Best regards,
Luke- This reply was modified 5 years, 2 months ago by lukeskelly.
-
AuthorPosts