Tagged: , ,

Viewing 24 posts - 31 through 54 (of 54 total)
  • Author
    Posts
  • #833062

    Hey @ismael,

    I didn’t implement any filter yet, or is there a filter already in that file?

    Thx for the solution, will try!

    grt Boris

    #833134

    Thanks,

    I have got the feeling Masonry doesn’t work in the update.
    I added both the scripts to my functions.php in the child theme.

    The single images were added, but the masonry – in contrast to yesterday function – were not added.

    #833244

    Hey!

    @Roger: Are you using the “Masonry Gallery”? The filter is not going to work for the “Masonry” element unless you include it using the provided filter. Please re-copy the filter again because we modified it a bit.

    Regards,
    Ismael

    #833314

    Hello @ismael,

    Thank you, right now it is working.
    Only one little thing. If I use 2 single images on a portfolio-item or page, of which one is also the featured image.
    The sitemap says the portfolio-itemor the page is containing 3 images. So the featured is added double,
    It is possible to fix this?

    By the way, thank you for the filter!

    #833444

    Hi @ismael

    Great to see the progress! Thank you!
    One last problem to overcome – Sliders!
    Yoast Sitemaps DO NOT READ SLIDER CONTENT!!!!
    Can you fix this please?
    Thank you
    Ed

    #835531

    Hi,

    We can not fix that somehow.
    Yoast Sitemaps do not read sliders – we can not do something for that.
    Yoast Team can only we are afraid.

    Best regards,
    Basilis9

    #835546

    Thanks @basilis
    What a shame and a great disappointment because Yoast won’t do anything either.
    Why can you not make this happen? Is it because you don’t have the time or you consider it to not be important enough? I would like to know if you don’t mind please.
    So now I have 200 pages with sliders to change…
    Fantastic :(
    Very poor show my friend… this is not good.

    Regards
    Ed

    #837826

    Hi,

    Sorry for the late reply due to summer holidays.

    I put your request in our todo list and will check again, if we can find a solution.

    We will come back to you as soon as possible. Thank you for your patience.

    Best regards,
    Günter

    #838651

    Hi!

    Please update the code in the functions.php file: https://kriesi.at/support/topic/how-to-make-images-in-masonry-gallery-to-be-indexed-in-seo-yoast-sitemap/#post-832895

    The featured image slider is not included because that particular shortcode does not include image ids.

    Cheers!
    Ismael

    #838971

    Thanks @ismael – looks great!
    Before I paste this do i remove ALL the previous code or leave the most updated one in functions.php? Just to be clear. Does this replace everything else?
    Thanks
    Ed

    #839103

    Hey!

    Yes, please remove everything then use the following functions and filter: https://kriesi.at/support/topic/how-to-make-images-in-masonry-gallery-to-be-indexed-in-seo-yoast-sitemap/#post-832895

    Cheers!
    Ismael

    #839498

    Hey @ismael
    Slightly confused – where has that new code gone that you pasted?
    Thanks
    Ed

    #840643

    Hi,

    What do you mean where it has go?
    If you open the topic that Ismael provided and use only that nothing else, please let us know if your issue will be fixed.

    Best regards,
    Basilis

    #840646

    Hi @basilis
    I thought I saw some fresh code on this page?
    No matter – Ismael’s code lets sliders be read but then removes everything else- so no, I’m afraid it’s not working correctly. Can he post just the added code for the slider crawling?
    I have copied and replaced as instructed but it goes wrong. URL’s that had 1 image jump to 12 then ones that had 15 jump to 1!!!! It’s all getting very complicated… but I appreciate your persistence. We are close now.
    Regards
    Ed

    #841657

    I am using the code provided in my sitemap.
    Since last week I get errors in my sitemap when I view the search console or webmaster tools.

    Don’t know if the code is the problem or the yoast version.

    Am I the only one seeing this error? Could you check on your own sitemaps?
    The sitemaps which have errors are :page, post and products
    my sitemap: https://rogercremers.com/sitemap_index.xml

    roger

    #842191

    Hi,

    We are afraid there are not a lot we can do to help fix those issues.
    Yoast might have changed their code structure or something related, so we do not have the know how to fix those problems.

    They will – most probably – be able to provide the proper coding solution so you can go without any mistakes and issues.

    Best regards,
    Basilis

    #842582

    Well in the previous version, the indexing of the single avia images was counted, I think the problem is there.

    #844264

    Hi,

    @swarez: Please remove the previous code. We put everything in this reply:

    // https://kriesi.at/support/topic/how-to-make-images-in-masonry-gallery-to-be-indexed-in-seo-yoast-sitemap/#post-832895

    Add the functions and the filter with the new elements.

    Best regards,
    Ismael

    #844319

    Hi @ismael

    Like I said before this now crawls sliders but removes other functions!
    Please see the previous response.
    Both final parts of your code are pasted into function.php correctly.

    So now all the sliders and masonries get read on pages/portfolio pages with sliders but normal images and galleries are ignored! This doesn’t make any sense?
    Regards
    Ed

    • This reply was modified 3 years, 1 month ago by  Swarez.
    #844665

    Hey!

    There’s a minor code error. Please look for this code:

    	case 'attachment':
    							$src = '/attachment=\\\'(\d+)\\\'/';
    

    Replace it with:

    	case 'src':
    							$src = '/attachment=\\\'(\d+)\\\'/';
    

    Or just copy the code again.

    // https://kriesi.at/support/topic/how-to-make-images-in-masonry-gallery-to-be-indexed-in-seo-yoast-sitemap/#post-832895

    Cheers!
    Ismael

    #845441

    Hi @ismael
    Thank you!
    Finally after a very long time we have the solution and it works.
    Thank you to everyone involved.
    In the last two weeks I have had the highest percentage of images indexed ever – and I would like to think the accuracy of my sitemap has been the reason, though I will never know for sure.
    Thanks again
    Regards
    Ed

    #845685

    Hi,

    Glad it is working. We forwarded the patch to Kriesi.

    Best regards,
    Ismael

    #876663

    Hi Everyone,
    I just reaquested google to crawl and fetch my site and I did noticed the same, that the crawler doesn’t see the masonary grid, which is especially bad because it links to each post of my site. How can I make sure the crawler follows the link?

    thx

    #877360

    Hi,

    @jawer: This thread is related to the shortcodes’ images. The issue that you’re describing seems to be a little different. Please create a new thread or post and explain the issue further. We’ll close this thread now.

    Best regards,
    Ismael

Viewing 24 posts - 31 through 54 (of 54 total)

The topic ‘How to make images in masonry gallery to be indexed in seo yoast sitemap’ is closed to new replies.