Search - by mtsch - on WordPress WooCommerce support

This topic has 16 replies, 3 voices, and was last updated 7 years, 11 months ago ago by Eva Kemp

  • Avatar: mtsch
    mtsch
    Participant
    April 19, 2016 at 20:54

    Hey there!

    I have a question regarding the search tool of the Lifsstyle Theme.

    When I tried using the search function I noticed, that there were no results of the portfolio section and no results of regular pages displayed.

    Please try the following keyword: “langer”

    This name ist mentioned at the pages

    “Home” – http://igp.melanie-tschiedel.at/
    “Vorstand” – http://igp.melanie-tschiedel.at/vorstand/

    and at the portfolio sections

    http://igp.melanie-tschiedel.at/mitglieder-fachrichtung/
    http://igp.melanie-tschiedel.at/mitglieder-alphabetisch/

    How to include this term and others into the search algorithm?

    Best Regards

    Melanie

    Please, contact administrator
    for this information.
    15 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    April 20, 2016 at 08:07

    Hello,

    In this case you have to edit the file wp-content/themes/lifestyle/framework/templates/searchform.php and comment the line 10 <input type="hidden" name="post_type" value="post" /> .

    Regards,
    Eva Kemp.

    Avatar: mtsch
    mtsch
    Participant
    April 20, 2016 at 09:34

    Hey Eva!

    Thank you!

    It works fine!

    Can you tell me how to style the search-result page?

    Melanie

    Avatar: Eva
    Eva Kemp
    Support staff
    April 20, 2016 at 11:23

    Hello,

    Search result page use main index file. If you want to create custom template for search results page please refer to WordPress documentation http://codex.wordpress.org/Creating_a_Search_Page .

    Regards,
    Eva Kemp.

    Avatar: mtsch
    mtsch
    Participant
    April 25, 2016 at 07:32

    Hey there!

    I tried to tranlate the search field of my website like you describe it in the documentation.
    I’m afraid it doesn’t work.

    I edited the default.po file with poedit and saved it as de_DE.po and mo and uploaded it into the langauges folder in lifestyle.

    Please help me with this issue.

    Regards

    Melanie

    Please, contact administrator
    for this information.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    April 25, 2016 at 08:18

    Hello,

    Please provide us with FTP credentials.

    Thank you.
    Best regards,
    Jack Richardson.

    Avatar: mtsch
    mtsch
    Participant
    April 25, 2016 at 13:20

    Here it is.

    Regards Melanie

    Please, contact administrator
    for this information.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    April 25, 2016 at 13:41

    Hello,

    I’ve added the code $locale='de_DE'; in wp-config.php file.
    Please check search form now.

    Best regards,
    Jack Richardson.

    Avatar: mtsch
    mtsch
    Participant
    April 25, 2016 at 14:44

    Great! It works!

    Only one question left:

    can’t find the tranlsation string for this – Search… – field.

    Thank you!

    Please, contact administrator
    for this information.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    April 25, 2016 at 14:56

    Hello,

    You can find that word in the file wp-content/themes/lifestyle/framework/templates/searchform.php in line 9.

    Best regards,
    Jack Richardson.

    Avatar: mtsch
    mtsch
    Participant
    April 26, 2016 at 10:28

    Hey there!

    Is it possible to change the links of the search-results?

    I’m not useing project pages at portfolio function. It should be used only as a overview on two pages.

    http://igp.melanie-tschiedel.at/mitglieder-fachrichtung/

    On this page I’m only using excerpts of each project and the portfolio filters.

    http://igp.melanie-tschiedel.at/mitglieder-alphabetisch/

    On this page I’m useing only metadata from each project.

    Is ist possible to link the searchreults of projects to this page?

    http://igp.melanie-tschiedel.at/mitglieder-fachrichtung/

    Thank you!

    Melanie

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    April 26, 2016 at 10:31

    Hello,

    Please take our apologies but there is no such possibility.

    Regards,
    Eva Kemp.

    Avatar: mtsch
    mtsch
    Participant
    April 26, 2016 at 10:37

    Ok. Is it possible to remove the links in general?

    Avatar: Eva
    Eva Kemp
    Support staff
    April 26, 2016 at 11:29

    Hello,

    Could you please show on a screenshot what links you want to remove on search results template?

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: mtsch
    mtsch
    Participant
    April 26, 2016 at 11:37

    http://imgur.com/tWLXS6f

    This is the searchresult of the keyword “Langer”

    the word is mentioned four times –

    “Vorstand” = Page
    “Impressum” = Page
    “Home” = Page

    “Langer Dr. Manuel” = Portfolio project.

    Is it possible, in general, to remove links to single projects no mather what keyword is used?

    Avatar: Eva
    Eva Kemp
    Support staff
    April 26, 2016 at 15:23

    Hello,

    This requires additional customization which is beyond our basic support scope.
    You can order additional support via this form https://www.8theme.com/customization-services/ .

    Regards,
    Eva Kemp.

  • Viewing 16 results - 1 through 16 (of 16 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.