Support » Plugin: Photo Gallery by Envira - Responsive Image Gallery for WordPress » Gallery displayed in search results, link does not work

  • Resolved ludek184

    (@ludek184)


    (Envira Gallery Lite 1.5.0.2)

    Hi,
    having gallery named, it is displayed on search result page as link, but the link does not work.
    Example:
    this search “http://alfa7.cz/mil/?s=E-2C&submit=Hledat” shows this link “http://alfa7.cz/mil/?p=712” to article, which works well, and this link “http://alfa7.cz/mil/?post_type=envira&p=1442” to gallery in main article, which does not work.
    Is my understanding correct, that gallery itself cannot be displayed separatelly, just embedded into article/post/page? And if so, how to exclude gallery link from search results – while leading to “404” page?
    Thank you.

    https://wordpress.org/plugins/envira-gallery-lite/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi all, sorry for bothering. Found that early posted solution (add a filter to default-filters.php) works for me as well – while it seems to be not working at the first look, not having correct modification of default-filters.php. Fixed my mistype and works fine.

    Thanks for great plugin!

    Hi,

    Thank you for contacting us 🙂 Great to hear that you have solved it now.

    Have a great weekend.
    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Gallery displayed in search results, link does not work’ is closed to new replies.