Digital experiences for all disciplines
New Landing › How can we help? › Themeforest Theme Support › Uplift › Edit Search
New Landing › How can we help? › Themeforest Theme Support › Uplift › Edit Search
- This topic has 15 replies, 4 voices, and was last updated 7 years by Rui Guerreiro – SUPPORT.
-
Posted in: Uplift
-
September 26, 2016 at 2:09 pm #293352
Hi.
I need some help with the search in my website. Basically, I need change the placeholder “Type and hit enter to search” for other text, but I can`t find some way to do this.
Also i would ask about the search page of results. How I can change the structure of the page? I need remove all the sidebar right and change some features of the boxes with results like the date and the name of the writer.I hope that someone I can help me.
Thanks.
Attachments:
You must be logged in to view attached files.September 27, 2016 at 7:00 pm #293526Please install and activate the supplied child theme, inside the child theme
functions.php
file paste this and change the strings: Type and hit enter to search/* * HEADER SEARCH OVERRIDE * ------------------------------------------------ * @original - /swift-framework/core/sf-header.php * ================================================== */ if (!function_exists('sf_get_search')) { function sf_get_search($type) { if ($type == "search-off") { return; } $sf_options = sf_get_theme_opts(); $header_search_type = $sf_options['header_search_type']; $header_search_pt = $sf_options['header_search_pt']; if ($type == "aux") { $type = $header_search_type; } $search_output = ""; if ($type == "full-header-search") { $search_output .= '<li class="menu-search parent"><a href="#" class="header-search-link fs-header-search-link"><i class="sf-icon-search"></i></a></li>'. "\n"; } else { $search_output .= '<li class="menu-search parent"><a href="#" class="header-search-link header-search-link-alt"><i class="sf-icon-search"></i></a>'. "\n"; $search_output .= '<ul class="header-search-wrap sub-menu"><li><form method="get" class="header-search-form" action="'.home_url().'/">'; if ($header_search_pt != "any") { $search_output .= '<input type="hidden" name="post_type" value="'.esc_attr($header_search_pt).'" />'; } $search_output .= '<input type="text" placeholder="'.__("Type and hit enter to search", 'uplift').'" name="s" autocomplete="off" /></form></li></ul>'. "\n"; $search_output .= '</li>'. "\n"; } return $search_output; } }
You manage the search result page layout here: Theme Options => Archive/Category Options
September 28, 2016 at 6:03 pm #293711How i can install and the supplied child theme? I did’t find nothing about that.
September 29, 2016 at 9:16 am #293750Hi
The child theme zip file is provided in your download files, upload that to Appearance > Themes and activate it. Then go to Appearance > Editor and paste the code above in functions.php
– Kyle
September 30, 2016 at 6:46 pm #294008I did all the steps but the problem persists. I can`t change the placeholder.
Do you have other way to resolve the issue?
September 30, 2016 at 7:10 pm #294010Hi,
Can you provide me your site url and some admin credentials to check if you did it properly?Use the private reply.
-Rui
September 30, 2016 at 7:26 pm #294012This reply has been marked as private.September 30, 2016 at 7:29 pm #294015just to be sure, did you activated the child theme?
-Rui
September 30, 2016 at 7:36 pm #294017This reply has been marked as private.October 3, 2016 at 11:36 am #294135Will FTP access & WP admin access to assist further.
– David.
October 27, 2016 at 1:15 pm #299092This reply has been marked as private.October 28, 2016 at 9:30 am #299287No we need to check what you have done, else it is simply guess work.
Thanks.
November 16, 2016 at 7:03 pm #302226This reply has been marked as private.November 17, 2016 at 12:54 am #302291What is the admin url where I can login with the admin credentials?
-Rui
November 17, 2016 at 1:02 pm #302343This reply has been marked as private. -
Posted in: Uplift
You must be logged in and have valid license to reply to this topic.