-
AuthorPosts
-
October 21, 2024 at 6:43 pm #1469574
Hi,
I’m trying to edit the search option result page.
First, the result numbering is over the result search option link and must be fixed.
But, I would like to edit the page, adding a banner or something to make it look more like the site’s theme.Thank you
October 22, 2024 at 6:22 am #1469583Hey Reut Rachel,
Thank you for the inquiry.
You will have to manually modify the includes > loop-search.php file in order to add a banner and move the pagination. To move the pagination, look for this line of code at the very bottom of the file:
echo avia_pagination( '', 'nav' );
Move it below this code, around line 4:
global $avia_config;
Best regards,
IsmaelOctober 27, 2024 at 6:52 am #1469915Hi Ismael
Thank you for the help.Unfortunately, I couldn’t find the loop-search.php file in the wp-includes folder.
Also, the same problem with the pagination overlapping the result is happening on another site of mine and I couldn’t find the loop-search.php file in the wp-includes folder. ether.
Can you help me fix it on both sites?
Thank you
October 27, 2024 at 8:24 am #1469917it is not in the wordpress folder – it is inside the enfold folder : includes
October 27, 2024 at 12:47 pm #1469932Yes, of course, it was my mistake.
So I copied the file from the Enfold theme to my Enfold child theme. I’ve moved the code line – echo avia_pagination( ”, ‘nav’ ); to be below the code line – global $avia_config;
But nothing has changed. I created a sub-folder – includes – inside the enfold child folder and put the correct loop-search.php file in this folder
and still, nothing has changed.What am I missing?
I’ve added links to the 2 websites I’m having this problem directly to a random search results page for you to see the problem on your own.
The first one is the website I’ve altered the files
The second one I didn’t change anything.October 28, 2024 at 3:35 am #1469961Hi,
Thank you for the update.
On the first link or page, the pagination is positioned above the post, which means that the modification works. If you’d like to adjust the counter container, please try adding this css code:
#top .template-search.content .entry-content-wrapper { padding-right: 50px; }
Best regards,
IsmaelOctober 28, 2024 at 10:11 am #1469979Hi Ismael
Thank you so much.
It’s fixed on both sites now.October 28, 2024 at 4:26 pm #1470021Hi,
Glad Ismael could help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
Mike -
AuthorPosts
- The topic ‘Result search page edit’ is closed to new replies.