Join the Soledad Facebook Users Group here
for Share, assistance, discussion, and Updates related to Soledad WordPress Theme.

If you can't create a new ticket - you can send us an email via our contact form and we will get back to you.

Okay
  Public Ticket #2742482
Search function is returning post only, not pages
Closed

Comments

  • cherde started the conversation

    I just notived that the search function of my soledad website is only returning posts, not pages. Is this intended behaviour or a bug? I'm new to wordpress and may have overlooked a switch which controls this behavior.

    I found this solution on stackoverflow.com. Adding the code snippet provided in the answer to functions.php in the soledad child theme solves the problem. Or is there a better way to do this?

    By the way: Many thanks for the beautiful theme! Your work is much appreciated!

  •  2,699
    PenciDesign replied

    Hi,

    Thank you for loving our theme.

    Yeah, by default we’ve exclude all pages from the search results. If you want to include pages on the search results, please go to Customize > General > General Settings > and check to “Include pages on search results”


    Best Regards,

    PenciDesign

  • cherde replied

    Many thanks! I should have found that myself. I was looking for quite some time, but there are so many options...
    On the other hand, that's just the strong point of Soledad.

    Best regards, Christian