there are no images in the sitemap (Oxygen)

  • there are no images in the sitemap (Oxygen)

    Sitemap Settings “Images in Sitemaps” = ON

    the site is made with Oxygen (oxygenbuilder.com)
    the contents of the page are read thanks to the plugin “WPDevDesign – Oxygen – Rank Math Integration”

Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    I believe that the “WPDevDesign – Oxygen – Rank Math Integration” add on will only help to parse post content and pass it to the Rank Math content analysis when editing the post.

    Rank Math is however not fully compatible with Oxygen and the plugin may not be able to gather all the images within the builder and add them to the sitemap.

    I can suggest that you get in touch with the developer from WPDevDesign – Oxygen – Rank Math Integration and seek their help in adding images to the sitemap using the following filter:

    /**
     * Filter images to be included for the post in XML sitemap.
     *
     * @param array $images  Array of image items.
     * @param int   $post_id ID of the post.
     */
    add_filter( 'rank_math/sitemap/urlimages', function( $images, $post_id ){
    	return $images;
    }, 10, 2);

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 1 replies (of 1 total)

The ticket ‘there are no images in the sitemap (Oxygen)’ is closed to new replies.