• When I use the normal WordPress search I get lots of bad code for pages using Gmedia for example

    IGOC Gallery jQuery(function(){ var settings = {“ID”:”4″,”moduleUrl”:”http:\/\/pinkdev1.co.uk\/wp-content\/plugins\/grand-media\/module\/phantom”,”pluginUrl”:”http:\/\/pinkdev1.co.uk\/wp-content\/plugins\/grand-media”,”libraryUrl”:”http:\/\/pinkdev1.co.uk\/wp-content\/grand-media”}; var content = [{“id”:”45″,”image”:”\/image\/24.jpg”,”thumb”:”\/image\/thumb\/24.jpg”,”captionTitle”:””,”captionText”:””,”media”:””,”link”:””,”linkTarget”:””,”date”:”2015-09-22 16:42:55″,”websize”:[450,300],”thumbsize”:[300,200]},{“id”:”44″,”image”:”\/image\/23.jpg”,”thumb”:”\/image\/thumb

    https://wordpress.org/plugins/grand-media/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Serhii Pasyuk

    (@pasyuk)

    Seems like your theme strip tags on search results and shows all code which should be in SCRIPT tag. Ask your theme’s developer to fix search results and display them without shortcodes or do not strip tags in results.

    Thread Starter RuthVant

    (@ruthvant)

    I’m just using the_excerpt so it just shows the start of each page. Is there quick way to just exclude Gmedia from the search?

    Plugin Author Serhii Pasyuk

    (@pasyuk)

    You could click “Insert Read More” button on Visual Editor panel to insert divider between excerpt and full text.
    Insert “more” tag right before shortcode, so it will not be visible in excerpt.

    It Text Editor (HTML) there is “more” button on the panel which inserts <!--more--> tag.

    Thread Starter RuthVant

    (@ruthvant)

    Oh thanks I will give it a go

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Search Results’ is closed to new replies.