Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1433710

    See private content:

    • This topic was modified 2 weeks ago by Webvriend.
    #1434082

    @guenter any update?

    #1434299

    Hi,

    I submitted your request on our private GitHub. We’ll let you know when there’s an update.

    Regards,
    Yigit

    #1435078

    Hey!

    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,
    Ismael

    #1435098

    See private content @ismael

    #1435115

    Hi!

    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!
    Ismael

    #1435118

    See private content

    • This reply was modified 1 day, 2 hours ago by Webvriend.
Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.