WordPress.org

Ready to get started?Download WordPress

Forums

Serial Posts
Search only within "Serial" custom fields or a dropdown widget? (2 posts)

  1. 3x7
    Member
    Posted 2 years ago #

    hi,

    is there a way to make a query on just "serial" custom fields, so the results page shows only groups of those serial fields.

    Example:
    Several different posts using 2 custom fields - "Serial field 1" and "Serial field 2"
    Let's say we do a search for "serial" keyword, then the results page would show all the posts for having keyword "Serial" that is in our case all posts using "Serial field 1 and 2", but when we search for a keyword "field 1" it would list only posts with "Serial field 1"

    What code would I need to insert and where to achieve this?

    I would also suggest to have a widget option with a dropdown of desired "serial custom fields", which would do the same listing as search but using the select method..

    Hope this can be done...

    Thanks
    Mike

    http://wordpress.org/extend/plugins/serial-posts/

  2. 3x7
    Member
    Posted 2 years ago #

    update:

    Description of what I'm actually looking for...

    That the results page lists groups of posts, so when we search for "serial" the
    RESULTS PAGE would list groups:
    - found X number of posts with "serial 1"
    - found X number of posts with "serial 2"

    but instead of doing that i came up with an idea and
    I think that this could be achieved if the "serial custom field plugin" somehow generates pages named by "serial custom fields" having shortcodes inserted. Generation could be done with cron or publish/update detection... anyhow, pages would represent the groups of posts with same custom field.

    Then the search could be done with "page search" plugin, which lists only pages with specific keyword...

    I would appreciate any help for achieving this.

    Thanks
    Mike

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic