• The following comes up in searches even though it was replaced a few weeks ago

    [eme_calendar htmltable=0] [eme_events limit=5 category=1,2,3]

    I reindexed but no luck. The only thing I could think is that Relevanssi was pulling it from revisions. Is that possible?

    When you view the source of this page https://www.princetonsenior.org/social-services-link/ “[eme_calendar htmltable=0]” or “[eme_events limit=5 category=1,2,3]” does not appear in the source of the page.

    No cache is used on the site.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Mikko Saari

    (@msaari)

    When I look at your pages, the calendar appears on the sidebar on every page. It doesn’t appear in the HTML source, because the shortcode is rendered on the page and shows up as the event calendar.

    So it’s coming from your pages.

    Add this to your theme functions.php:

    add_filter( 'relevanssi_page_builder_shortcodes', 'rlv_eme_calendar' );
    function rlv_eme_calendar( $shortcodes ) {
        $shortcodes[] = '/\[eme_.*?\]/';
        return $shortcodes;
    }

    Does that fix the issue?

Viewing 1 replies (of 1 total)
  • The topic ‘Search results display text no longer part of page after reindexing’ is closed to new replies.