Search view should use LMP-style partial chooser, not use featured style for homepage featured posts. · Issue #1023 · WPBuddy/largo · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The search filter can't use the LMP filter, because the LMP filter reads from the query and not from the post. But it's otherwise very similar.
LMP won't return the right post here, though, because the search results filter only affects the partials on the initial page load, not the query vars, and the LMP filter doesn't know the post type of the post that is being displayed. It only knows the query. https://github.com/INN/Largo/blob/master/inc/ajax-functions.php#L111-L119
From AJ-3:
is_search
, so it doesn't do the featured presentation on the search.The text was updated successfully, but these errors were encountered: