-
AuthorPosts
-
February 8, 2024 at 4:17 pm #1433710
See private content:
- This topic was modified 10 months, 2 weeks ago by Webvriend.
February 12, 2024 at 1:45 pm #1434082@guenter any update?
February 14, 2024 at 2:17 pm #1434299Hi,
I submitted your request on our private GitHub. We’ll let you know when there’s an update.
Regards,
YigitFebruary 22, 2024 at 5:53 am #1435078Hey!
Regarding #4, there is a function called avia_filter_wpseo_sitemap_urlimages, which extracts mage IDs from image or slider elements in the ALB, and push them to the wpseo_sitemap_urlimages filter for registration in the Yoast sitemap. To register more ALB elements such as sliders, you can use the avf_add_elements_wpseo_sitemap filter in the functions.php file:
add_filter('avf_add_elements_wpseo_sitemap', function($elements, $postid) { $image = array( 'image' => array( 'pattern' => '/\[av_image [^]]*]/', 'source' => 'src' ), 'accordion' => array( 'pattern' => '/\[av_slideshow_accordion(.+?)?\](?:(.+?)?\[\/av_slideshow_accordion\])?/sim', 'source' => 'sid' ), 'slideshow' => array( 'pattern' => '/\[av_slideshow(.+?)?\](?:(.+?)?\[\/av_slideshow\])?/sim', 'source' => 'sid' ), 'slideshow_full' => array( 'pattern' => '/\[av_slideshow_full(.+?)?\](?:(.+?)?\[\/av_slideshow_full\])?/sim', 'source' => 'sid' ), 'slideshow_fullscreen' => array( 'pattern' => '/\[av_fullscreen(.+?)?\](?:(.+?)?\[\/av_fullscreen\])?/sim', 'source' => 'sid' ) ); return array_merge($image, $elements); }, 10, 2);
Related thread: https://kriesi.at/support/topic/how-to-make-images-in-masonry-gallery-to-be-indexed-in-seo-yoast-sitemap/
Thank you for your patience.
Regards,
IsmaelFebruary 22, 2024 at 8:50 am #1435098See private content @ismael
February 22, 2024 at 11:23 am #1435115Hi!
Thank you for the update.
1.) The value “mainContentOfPage” is a valid schema.org item property for indicating the main content of a webpage. For more information on schema.org’s WebPage type and its properties, you can refer to the official documentation at https://schema.org/WebPage.
2.) The theme doesn’t really impose strict limitations on how users build their pages, so they are not limited to elements that applies images as background. We recommend using elements that make use of HTML img tags, such as an Image element, rather than applying background images to Color Sections.
3.) If you’ve experienced a decline in your site’s search engine ranking, it may be best to seek assistance from an SEO consultant. While the theme includes basic schema markup to help search engines understand the structure of your content, you may need more specific schema markup for certain types of content or data. You might want to look for a dedicated schema markup plugin or extension for a more accurate schema markup suited to your site.
4.) We modified the filter a bit to make sure that it recognizes the value of the attachment attribute in the Image element.
// https://pastebin.com/hpZ7V3pU
With this modification, Yoast was able to recognize the Image, Gallery and Slider elements in the page as shown in the screenshots below. The page has 3 Image elements, a Gallery with 5 items, and an Easy Slider with 3 slides, total of 11 images: https://1drv.ms/f/s!AjjTfXSRbKTvgtxfLx7TxBKZnZrGyw?e=NgYxo2
Cheers!
IsmaelFebruary 22, 2024 at 12:23 pm #1435118February 26, 2024 at 12:06 pm #1435427Hi,
1-2.) Unfortunately, this is beyond the scope of support. You may need to hire a freelance developer to help you with this customization. You can find freelancers by visiting our customization page.
4.) We updated the Yoast config to include posts images to the sitemap. Please edit the enfold/config-wordpress-seo/config.php, remove everything, and then replace it with the content from the following link: https://pastebin.com/kRh3YKbh
Best regards,
IsmaelFebruary 26, 2024 at 12:21 pm #1435431Hey!
UPDATE: Regarding 1 & 2, we registered the background image of the color section in the Yoast sitemap. Please update the enfold/config-wordpress-seo/config.php file with this code: https://pastebin.com/N3rmYPRW
Best regards,
IsmaelFebruary 26, 2024 at 2:13 pm #1435447February 27, 2024 at 9:41 am #1435553Hi @Webvriend,
Best regards,
GünterFebruary 27, 2024 at 10:12 am #1435563February 27, 2024 at 11:00 am #1435567February 27, 2024 at 12:10 pm #1435582Hi @guenter, see replay
February 27, 2024 at 5:46 pm #1435622Hi,
I added filter avf_sc_section_before_close at line 1507ff.
Complete file with modification:
Let me know if this helps you.
Will be in next release.
Best regards,
GünterFebruary 29, 2024 at 8:19 am #1435826February 29, 2024 at 2:15 pm #1435882March 1, 2024 at 9:38 am #1435963Hey,
See the private content field. -
AuthorPosts
- You must be logged in to reply to this topic.