We're merging with GenerateBlocks! Learn more here.

[Support request] Two questions: Search Results & Displaying Date Ranges

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support Two questions: Search Results & Displaying Date Ranges

Tagged: ,

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #21643
    Ty
    Participant

    Hello team!

    I’ve just started using WP Show posts on a new web build for an editorial site. I’m currently using with the new alpha version. It’s working out really well!

    A have a couple of questions I hoped you might be able to help with.

    Firstly, do you have any examples of people using Show Posts as a search results page? Rather than implement a separate plugin for search, I’d love to display categories/post results with the same layout I’m using with Show Posts. I noticed someone was using it combined with FacetsWP previously but had some issues with the masonry. Any recommendation on methods for this would be appreciated. Alternatively I may just use Ajax Search Pro for live results only.

    Secondly, is it possible to implement a date range? I’ve tried a couple of quick meta key and meta value combinations without much effect. Ultimately I’d like to display a series of posts on a page using the masonry, and then implement a navigation to tab between each year of the same category.

    Thanks for your time and help! Much appreciated.
    Ty.

    #21759
    Tom
    Keymaster

    Hi there,

    1. This is difficult, as WPSP wasn’t originally developed to replace core archives/loops. It also depends on your theme and how archives are set up. I’m not sure if it works, but I tried writing something for GeneratePress users here: https://wpshowposts.com/support/topic/better-search-results-with-wp-show-posts/#post-21649

    2. This also sounds pretty complex – how would the tab be added/updated between sets of posts?

    #21763
    Ty
    Participant

    Hey Tom!

    Thanks for the reply.

    I’m using the Semplice theme which originally linked to WP Show Posts here. https://help.semplice.com/hc/en-us/articles/360026686391-Creating-grid-effect-for-blog-posts-how-to-display-blog-posts-on-a-page-.

    I’m setting up pages within the Semplice theme/WYSIWYG and then embedding the WPSP shortcodes. My current plan is to create a different page for each year of the category (for a separate WPSP shortcode for each), then add a link navigation to the top of each page to click between them.

    Ideally it would be great to have a category or search filter system that talks directly to to WPSP on each click instead of creating individual pages (reload the masonry/ajax).

    I understand Semplice isn’t ideal for out-of-box search results or posts. Hence why WPSP is acting as my default archive display. Not sure if your GeneratePress search results suggestion would work here?

    Many thanks,
    Ty.

    #21812
    Ty
    Participant

    Hey Tom!

    It might be helpful to see an example of something I’m trying to emulate. While not a date range exactly, this type of filtering system would be fantastic. I could then reorder and sort via category or date/name etc. If there’s a way to add additional shortcode to filter and talk directly to a WPSP list that would be super helpful!

    https://thegreatdiscontent.com/digital-features

    Many thanks again.
    Ty.

    #21828
    Tom
    Keymaster

    Hey Ty,

    I’m not familiar with that theme, unfortunately. You’ll need to ask their support if it’s possible to customize the search results archive with your own query.

    As for the filters, WPSP isn’t set up for something like this at the moment – it would require some custom development.

    Sorry I can’t be more helpful!

    #21841
    Ty
    Participant

    No worries! Thanks for looping back Tom. I’ve keep an eye on the updates! Hopefully some of that functionality becomes available down the track.

    Cheers,
    Ty.

    #21919
    Tom
    Keymaster

    No problem! We’ll be looking at something like this in the block version of the plugin 🙂

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.