• Resolved feelee

    (@feelee)


    Hi David,

    the image search I’ve been using for years on my membership website, together with the “MLA tax query Example” plugin, is not returning all the expected results any more. This is the shortcode I’m using:

    [mla_gallery s="{+template:({+request:search-string+}|a-bad-term)+}" mla_target="_blank" link=file, full orderby=date order=DESC columns= 7 mla_caption="{+title+}" posts_per_page=100]
    
    [mla_gallery s="{+template:({+request:search-string+}|a-bad-term)+}" mla_link_href="{+page_url+}?search-string={+request:search-string+}" posts_per_page=100 mla_output=paginate_links]

    When I do a search (for example the word “valentino“, which is in the title/name of the images I would like to be returned as results) I get way less matches than the number of images that actually are in the media gallery and contain the word I’m searching for.

    I’m not sure why this is happening. I’d be happy to send you admin login credentials if you’d be so kind and take a look at the possible issue.

    Thank you so much for your kind help.

    Filippo

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author David Lingren

    (@dglingren)

    Thanks for your question, and for including the complete text of the shortcodes you are using; very helpful. Your shortcodes are working without problems on my system.

    Thanks for your offer to access your system, but WordPress rules specifically and strongly prohibit me from requesting or using any access to your site.

    The “MLA tax query Example” plugin is not involved in this issue. A custom shortcode parameter, “my_custom_sql”, activates the logic in the example plugin. That parameter does not appear in your shortcodes.

    Have you tried performing the same search using the Search Media text box in the Media/Assistant admin screen? Does it give the same results?

    You can add mla_debug=log to your shortcode , then run a test search to write a lot of debug information to the site error log. You can view or download the log from the Settings/Media Library Assistant Debug tab. If you download the log you can contact me at my web site to send the log by email.

    I will leave this topic unresolved and hope to hear from you. Any additional information you can provide will be helpful. Thanks for your help and your long-standing interest in the plugin.

    Thread Starter feelee

    (@feelee)

    Hi David,

    thanks for the feedback. To answer your question, “yes, I have tried performing the same search using the Search Media text box in the Media/Assistant admin screen and I get way more results than when I perform the image search via the shortcode.”

    I have activated the debug log by editing the wp-config.php file so that it now includes:

    define( 'WP_DEBUG', true );
    define( 'WP_DEBUG_LOG', true );

    I have downloaded the error log and I am now going to send it to you at the address included in your website.

    Thanks again for your help.

    Filippo

    Plugin Author David Lingren

    (@dglingren)

    Thanks for working with me by email and for finding that the “print my blog pro” plugin was adding restrictions to the search. I assume that deactivating that plugin has been a satisfactory solution for you.

    I am marking this topic resolved, but please update it or contact me if you still have problems with your keyword(s) search application.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Search results are very limited’ is closed to new replies.