Could you make the options:!!!
1. To exclude certain posts and pages. (ID for example)
2. %H% is the nearest tag above H6, H5, H1…
i have installed the plugin and activated all the a=settings are right still its not working
]]>Hi,
We have been having an issue with one of our WordPress websites. I tracked down the cause to PHP fatal errors that logged:
Fatal error: Call to a member function find() on a non-object in [...]/wp-content/plugins/seo-friendly-images-for-wp/seo-friendly-images.php on line 170
as well as some:
PHP Notice: Use of undefined constant is_admin - assumed 'is_admin' in [...]wp-content/plugins/seo-friendly-images-for-wp/seo-friendly-images.php on line 48
)
I fixed it as follows:
diff -u --recursive orig/seo-friendly-images-for-wp/seo-friendly-images.php wp-content/plugins/seo-friendly-images-for-wp/seo-friendly-images.php
---orig/seo-friendly-images-for-wp/seo-friendly-images.php 2016-03-21 06:09:16.000000000 +0100
+++ wp-content/plugins/seo-friendly-images-for-wp/seo-friendly-images.php 2017-03-04 17:45:06.381772531 +0100
@@ -45,7 +45,7 @@
private function actions()
{
- if (is_admin) {
+ if (is_admin()) {
add_filter('plugin_row_meta', array($this, 'plugin_meta_links'), 10, 2);
}
@@ -167,7 +167,7 @@
$dom = str_get_html($html);
- foreach($dom->find('img') as $element) {
+ if ($dom) foreach($dom->find('img') as $element) {
$image_name = basename($element->src);
$image_name = pathinfo($image_name)['filename'];
@@ -199,4 +199,4 @@
SEO_Friendly_Images::getInstance();
-?>
\ No newline at end of file
+?>
I appreciate this might not be totally sufficient or bug-free. Please take all relevant actions.
Cheers,
Christophe.
after install and activated, the images of the site is ok about alt text but all categories in woocommerce not showing any products. after dezactivated, all is back ok.
https://www.ads-software.com/plugins/seo-friendly-images-for-wp/
]]>Hi, thank you for your amazing plugin.
I use this plugin with my website, every things is work well but the lightbox(pop out images) didn’t work.
How can I fix this problem??
https://www.ads-software.com/plugins/seo-friendly-images-for-wp/
]]>