- This topic has 3 replies, 2 voices, and was last updated 6 years, 11 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Home › Forums › All Other Themes › Image Meta missing in Local Business Pro
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?
Thanks
Hi,
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,
Chris
Thank 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.
Hi,
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
Christmas New Year WordPress Deals Up to 50% Off on SKT Themes The New Year is a time to start a new journey and make […]
Fintech WordPress Themes are strategically developed to create comprehensive online experiences that showcase technological expertise and customer-centric financial services. Advanced features include interactive financial calculators, […]
Beauty Wellness WordPress Themes are engineered to create comprehensive digital portfolios that highlight skills, build trust, and streamline business operations. Integrated features include service packages, […]