Tagged: x
-
AuthorPosts
-
March 9, 2017 at 4:24 pm #1401140
ankitdesignsParticipantI don’t see anything in the theme options or pages, do I need to actually edit the php file do modify this?
March 9, 2017 at 11:37 pm #1401537
LelyModeratorHello There,
It depends on kind of changes you want to implement on search results page. If it’s design, we can add CSS on Appearance > Customize > Custom > Edit Global CSS.
March 10, 2017 at 8:50 am #1401941
ankitdesignsParticipantYes I need to change the design, CSS change I can do. I want to edit the actual page.
March 10, 2017 at 11:23 am #1402109
JoaoModeratorHi There,
Would you mind providing a mock-up of what you have in mind so we can provide you the right directions?
Thanks
March 14, 2017 at 2:00 pm #1406957
ankitdesignsParticipantAn example of what I want to do is removing the meta data related to each search result. I don’t want a css solution, I want to actually remove it from the template. I’d also like to apply No Container, Header, Footer to it too.
March 14, 2017 at 2:06 pm #1406965
JoaoModeratorHi,
Unfortunately this is a bit more complex and would fall out of the scope of our support.
Please refer to:
https://community.theme.co/forums/topic/how-do-i-modify-the-page-that-displays-the-search-results/
Thanks
Joao
March 14, 2017 at 3:13 pm #1407050
ankitdesignsParticipantTerrible.
March 14, 2017 at 5:37 pm #1407200
Nabeel AModeratorHi again,
We’re sorry you’re having trouble in modifying the search page. Customizing the search page is quite complex due to the fact it involves modifying different files. Let’s do this step by step (assuming you’re using an Integrity stack):
1. To apply No container, Header, Footer template, create a new file wp-index.php and paste the following code inside:
<?php // ============================================================================= // VIEWS/INTEGRITY/WP-INDEX.PHP // ----------------------------------------------------------------------------- // Index page output for Integrity. // ============================================================================= ?> <?php get_header(); ?> <div class="x-container max width offset"> <div class="<?php x_main_content_class(); ?>" role="main"> <?php x_get_view( 'global', '_index' ); ?> </div> <?php if( !is_search() ) { ?> <?php get_sidebar(); ?> <?php } ?> </div> <?php get_footer(); ?>Via FTP upload the file in your Child Theme /x-child/framework/views/integrity/
Then add the following CSS code in your Customizer via Appearance > Customize > Custom > Edit Global CSS::
.search-results .x-main { width: 100% !important; }2. You can turn off the Post Meta from Customizer to remove the Post Meta from the search page.
Follow the above steps and provide us with URL of you site so we can take a closer look depending upon the current setup you’re using.
Thanks!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1401140 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
