Closed morteza-homapour closed 1 year ago
Hello @morteza-homapour,
Thanks for contacting us! 🙏
I see you have Elementor Pro. In this case you could create a Search Results Archive Template using Elementor Pro's Theme Builder. You don't need to edit the PHP files, and it's recommended you don't. Editing theme files is also not under Elementor's Terms of Services, and we can't provide support for that.
Check this article that teaches you how you can build a Search Results Archive Template with Elementor:
https://elementor.com/help/search-results-site-part/
In this case, instead of using the Archive Title widget to set your Search Archive Title, you could use the Heading Title widget and give your own title.
👉 Please remember to check the Help Center or contact Elementor Support before submitting an issue.
❔ If you have questions, or need guidance, help, or general support, please use one of the following channels:
💎 If you have an active Elementor Pro license you are entitled to personal support, please see your purchase email or visit your Elementor Account page for details.
Remember to always follow our 🐞 Bug Report Guidelines to save time and ensure smooth troubleshooting.
Thank you for understanding! 🙏
Kind regards
Prerequisites
Description
I'm facing a persistent issue when attempting to edit the search result page title on my WordPress website by editing the search.php file. Despite following the provided instructions and troubleshooting steps, the changes I make to the search result page title do not take effect.
Steps to reproduce
1) Edit search.php File: Access your WordPress theme directory and locate the search.php file within the Hello Theme. Edit the search.php file, which involves customizing the search result page title wrapped in h1 directly in the template file.
2) Save search.php Changes: Save the changes made to the search.php file in your theme directory.
3) View Search Result Page: Visit the search result page on your live website: (yoursite.com/?s=example) and check if the changes made to the search.php file are reflected in the page title.
Isolating the problem
System Info
Click to reveal
````txt == Server Environment == Operating System: Linux Software: LiteSpeed MySQL version: MySQL Community Server (GPL) v5.7.40 PHP Version: 7.4.33 PHP Memory Limit: 512M PHP Max Input Vars: 8000 PHP Max Post Size: 500M GD Installed: Yes ZIP Installed: Yes Write Permissions: All right Elementor Library: Connected == WordPress Environment == Version: 6.3.1 Site URL: https://www.visamondial.com Home URL: https://www.visamondial.com WP Multisite: No Max Upload Size: 500 MB Memory limit: 3072M Max Memory limit: 512M Permalink Structure: /%year%/%monthnum%/%postname%/ Language: en-US Timezone: Asia/Tehran Debug Mode: Inactive == Theme == Name: Hello Elementor Child Version: 2.0.0 Author: Elementor Team Child Theme: Yes Parent Theme Name: Hello Elementor Parent Theme Version: 2.8.1 Parent Theme Author: Elementor Team == User == Role: administrator WP Profile lang: fa_IR User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/117.0 == Active Plugins == Advanced Access Manager Version: 6.9.14 Author: Vasyl Martyniuk