AJ
Forum Replies Created
-
Forum: Plugins
In reply to: [Relevanssi - A Better Search] relevanssi_didyoumean not workingok, so if i pair that solution with relevanssi premium, it should work without having to log searches, right?
Forum: Plugins
In reply to: [Relevanssi - A Better Search] relevanssi_didyoumean not workinggot it, so i should just be able to do this?
relevanssi_didyoumean( get_query_var('search'), 'We could\'t find any results for <strong>'.get_query_var('search').'</strong>, did you mean: ', '', 5 );
Forum: Plugins
In reply to: [Relevanssi - A Better Search] relevanssi_didyoumean not workingcan you give me an example of what a search string looks like? is it something i can build with the search variable?
Forum: Plugins
In reply to: [Relevanssi - A Better Search] relevanssi_didyoumean not workingget_search_query( false )
returns an empty string as well. I’ve never logged search queries before, is there something I’m missing regarding this? (IE is this done automatically or is there something I need to do myself to make WP do that?)Forum: Plugins
In reply to: [Yoast SEO] Unable to look up primary taxonomy after updateHi all! I’ve discovered the issue.
When two or more taxonomies are selected, the primary taxonomy drop down menu appears. Yoast populates this dropdown with the selected taxonomies in the order they were selected. If a user were to select the intended primary taxonomy first, it would be the first to appear in the list, creating the illusion it has been selected, when in fact, no primary taxonomy was selected.
A potential remedy here would be to add some kind of initial entry, like and empty option or an option that says “Select a primary _taxonomy_name_”
Thanks for the help!
Forum: Plugins
In reply to: [Yoast SEO] Unable to look up primary taxonomy after updateunderstood. are you able to point me to some documentation that explains how to access the primary taxonomy for a given post?
Forum: Plugins
In reply to: [Yoast SEO] Unable to look up primary taxonomy after updateWhen multiple taxonomies are selected and a primary taxonomy is defined, this script used to pull the primary taxonomy. Now it pulls the first in the array based on the title’s alphabetical order.
Seems the ZIP package is corrupt! sorry!
same issue here! deleted browser cache and the password protected page still displays!!!
- This reply was modified 4 years, 9 months ago by AJ.
i have this same issue. deactivated and removed plugin, but password page persists.
Forum: Plugins
In reply to: [Yoast SEO] Compatibility with Custom Permalinks pluginThe issue does not, at any time, present itself within their plugin’s functionality or features at any point. The issue arises in your plugin, when I try to ensure the slug matches the custom permalink used for the pages in question.
that did it! thank you!
here’s one more example better illustrating why the above format would be beneficial to your plugin’s functionality. Parsing an array of arrays with separate taxonomy declarations will allow users to combine multiple taxonomies (or multiple terms for the same taxonomy) and only return results if the combination of taxonomies returns them. Passing terms as an array of terms will get ALL results for for all terms passed.
'tax_query' => array( array( 'relation' => 'AND', array( array( 'taxonomy' => $taxonomy, 'field' => $field, 'terms' => $terms, ), array( 'taxonomy' => $taxonomy, 'field' => $field, 'terms' => $terms, ) ) ) )
Wait. Upon further inspection, I realized why I used the structure I did. This structure allows the combination of multiple terms to be searched, and only if the combination has results are they returned. Any way we can get Relevanssi to recognize nested tax_queries with the following format?
'tax_query' => array( array( 'relation' => 'AND', array( array( 'taxonomy' => $taxonomy, 'field' => $field, 'terms' => $terms, ) ) ) )
ok, I’ve dug in deep and did some further testing and upon comparing a successful relevanssi search with tax_query filters, I was able to locate the problem. My tax query was constructed of several nested arrays defining terms. While the regular old WP_Query doesn’t mind this format, it appears relevanssi hates it! I restructured my tax query and everything works! Thank you for helping me reach this answer. Without our troubleshooting, I would not have found it.