Home › Forums › All Other Themes › Image Meta missing in Local Business Pro
- This topic has 3 replies, 2 voices, and was last updated 6 years, 8 months ago by
Sonl Sinha.
Viewing 4 posts - 1 through 4 (of 4 total)
-
AuthorPosts
-
December 19, 2017 at 8:09 pm #89970
site https://fiscaltaxhelp.com
Using Local Bussiness Pro- Image meta tags don’t show up on any banners so all pages are missing alt tags. How can it be fixed?
ThanksDecember 20, 2017 at 11:31 am #90086Hi,
Kindly edit architect-pro/header.php file and paste below code just before </head> tag.
<script> jQuery(document).ready(function() { jQuery('img').each(function(){ var $img = jQuery(this); var filename = $img.attr('src') $img.attr('alt', filename.substring((filename.lastIndexOf('/'))+1, filename.lastIndexOf('.'))); }); }); </script>
Regards,
ChrisDecember 20, 2017 at 8:03 pm #90125Thank you for your assistance. I entered the script in the header.php just before </head> tag but see no results.
You stated “edit architect-pro/header.php file”
Not sure what “architect-pro” refres to.December 21, 2017 at 5:57 am #90151Hi,
Kindly edit skt-local-business-pro/header.php file and paste below code just before </head> tag.
<script> jQuery(document).ready(function() { jQuery('img').each(function(){ var $img = jQuery(this); var filename = $img.attr('src') $img.attr('alt', filename.substring((filename.lastIndexOf('/'))+1, filename.lastIndexOf('.'))); }); }); </script>
Regards,
Chris -
AuthorPosts
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.