WordPress.org

Ready to get started?Download WordPress

Forums

RPS Include Content
[resolved] In results page need to show parent not included childrens (5 posts)

  1. masterbip
    Member
    Posted 7 months ago #

    Hi there. This plugin is awesome. Thanks for that.

    Well, i got 3 parent pages that includes with the plugin 5 different child pages each.
    In my site I show the parent page and all works awesome.

    But if I make a search, the results shows me the child pages, not the parent one, and it mess the design and functionality of the site.

    I need to know how can I search but in results show the parent of the children page that get the content, and not the children itself.

    Thanks in advance!

    http://wordpress.org/plugins/rps-include-content/

  2. redpixelstudios
    Member
    Plugin Author

    Posted 7 months ago #

    Glad you are finding RPS Include Content to be useful. There might be a solution for you using the following approach.

    Set all of the pages that should not show in search (the included content) to "private". Then make sure that the Include Content Setting labeled "Show private included content without restriction" is checked. Let us know if that works for you or if you have additional questions.

  3. masterbip
    Member
    Posted 7 months ago #

    Thanks for that, but didn't worked as expected.
    I search something and it still appears in results page as
    "PRIVATE: The title of the included page"

    Do i have to do something with my search function?

    Thanks a lot for your answer.

  4. redpixelstudios
    Member
    Plugin Author

    Posted 7 months ago #

    It is possible the private posts are showing in your search results because you are logged in as a user with the capabilities required to see them. Try logging out and executing your search again.

    Let us know if that doesn't address the issue and we can point you in the right direction to information about how to modify your search query.

  5. redpixelstudios
    Member
    Plugin Author

    Posted 6 months ago #

    Hopefully our explanation of what might be happening helped you. Feel free to reopen this topic if it warrants further discussion. Thanks.

Reply

You must log in to post.

About this Plugin

About this Topic