remove themler slider from search result in wordpress

mburgener
26 Posts
mburgener posted this 16 February 2017

is there a way to remove themler sliders from search results (for example using copy of index.php for search.php)

i played around with excluding some of the theme_print_content stuff in search.php however this does not help, it only removes the header.

could also be related to http://answers.themler.com/questions/62664/themler-problem-with-search-page-layout-in-wordpress

kind regards

Mike

is there a way to remove themler sliders from search results (for example using copy of index.php for search.php) i played around with excluding some of the theme_print_content stuff in search.php however this does not help, it only removes the header. could also be related to http://answers.themler.com/questions/62664/themler-problem-with-search-page-layout-in-wordpress kind regards Mike
Vote to pay developers attention to this features or issue.
15 Comments
Order By: Standard | Newest
Support Team
Support Team posted this 16 February 2017

Hi,

Where exactly the Slider is located? Could you please provide the link to your website?
The Search results page uses Default Themler template.

Thank you,
Olivia

Hi, Where exactly the Slider is located? Could you please provide the link to your website? The Search results page uses Default Themler template. Thank you, Olivia
mburgener
26 Posts
mburgener posted this 16 February 2017

i made a copy of index.php to get started with search.php
the page is https://blweb.ch/2

i made a copy of index.php to get started with search.php the page is https://blweb.ch/2
Support Team
Support Team posted this 17 February 2017

Hi,

The easiest way is to remove the slider from the Default template in Themler as Olivia mentioned above. Have you tried that solution?

Sincerely,
Hella

Hi, The easiest way is to remove the slider from the Default template in Themler as Olivia mentioned above. Have you tried that solution? Sincerely, Hella
mburgener
26 Posts
mburgener posted this 17 February 2017

if i remove the slider from the default template, the slider will be gone completely from the site.

i want to have the search results only display the page link/and/or title and some excerpt only as a search result.

regards

Mike

if i remove the slider from the default template, the slider will be gone completely from the site. i want to have the search results only display the page link/and/or title and some excerpt only as a search result. regards Mike
Support Team
Support Team posted this 17 February 2017

OK, try to create custom template, call it search.php and remove the slider on that specific template:
https://answers.themler.com/articles/9466/how-to-create-and-use-custom-templates

Sincerely,
Hella

OK, try to create custom template, call it `search.php` and remove the slider on that specific template: https://answers.themler.com/articles/9466/how-to-create-and-use-custom-templates Sincerely, Hella
mburgener
26 Posts
mburgener posted this 21 February 2017

ok, got this, thank you very much!

however, still unable to get the template search.php now displaying the auto excerpt.

tried following this http://www.wpbeginner.com/wp-themes/how-to-display-post-excerpts-in-wordpress-themes/ and

regards

MIke

ok, got this, thank you very much! however, still unable to get the template search.php now displaying the auto excerpt. tried following this http://www.wpbeginner.com/wp-themes/how-to-display-post-excerpts-in-wordpress-themes/ and regards MIke
Support Team
Support Team posted this 21 February 2017

Hi,

Unfortunately Themler theme does not have additional options to control the format of post on the search results page. There are 3 option to control the post format:

  • add excerpt directly to the post under the post settings.
  • add readmore
  • or set the excerpt length under the Appearance >> Theme Options.

Both blog and search result pages uses the same settings.

Themler itself does not have the options to control the post format.

Thank you,
Olivia

Hi, Unfortunately Themler theme does not have additional options to control the format of post on the search results page. There are 3 option to control the post format: - add excerpt directly to the post under the post settings. - add readmore - or set the excerpt length under the Appearance >> Theme Options. Both blog and search result pages uses the same settings. Themler itself does not have the options to control the post format. Thank you, Olivia
mburgener
26 Posts
mburgener posted this 27 March 2017

If i try to add custom code, it seems that themler themes do not support the "autoexcerpt" function of wordpress, is that correct?

i tried many guides on how to customize the search.php to just output the excerpt, see for example http://wpverse.com/2011/01/quick-tip-add-excerpts-to-search-results-page/

or

http://stackoverflow.com/questions/23780241/wordpress-custom-search-results-page-not-showing-excerpt

i would be ok if themler does not support customization of search.php but it should atleast provide the autoexcerpt function as every theme should, so that custom code is possible, isn't it?

regards

Mike

Hi,

Unfortunately Themler theme does not have additional options to control the format of post on the search results page. There are 3 option to control the post format:

  • add excerpt directly to the post under the post settings.
  • add readmore
  • or set the excerpt length under the Appearance >> Theme Options.

Both blog and search result pages uses the same settings.

Themler itself does not have the options to control the post format.

Thank you,
Olivia

If i try to add custom code, it seems that themler themes do not support the "autoexcerpt" function of wordpress, is that correct? i tried many guides on how to customize the search.php to just output the excerpt, see for example http://wpverse.com/2011/01/quick-tip-add-excerpts-to-search-results-page/ or http://stackoverflow.com/questions/23780241/wordpress-custom-search-results-page-not-showing-excerpt i would be ok if themler does not support customization of search.php but it should atleast provide the autoexcerpt function as every theme should, so that custom code is possible, isn't it? regards Mike > Hi, > > Unfortunately Themler theme does not have additional options to control the format of post on the search results page. There are 3 option to control the post format: > > - add excerpt directly to the post under the post settings. > - add readmore > - or set the excerpt length under the Appearance >> Theme Options. > > Both blog and search result pages uses the same settings. > > Themler itself does not have the options to control the post format. > > Thank you, > Olivia
mburgener
26 Posts
mburgener posted this 28 March 2017

btw the page url has changed to https://blweb.ch

btw the page url has changed to https://blweb.ch
Support Team
Support Team posted this 31 March 2017

Hi,

Sorry for the delay.
Please check Excerpts options under WP Appearance >> Theme Options. If you enable "Use auto excerpts" option it will be used by search results page. But it will be used for other pages like blog or category.

If you want to use native WP excerpt function please add CMS code control instead of the Post Content control and insert the following code:

<?php the_excerpt(); ?>

The sample code on how to control the excerpt length is available here:
http://www.wpbeginner.com/wp-themes/how-to-display-post-excerpts-in-wordpress-themes/
It should be added to the Themler Settings >> CMS CODE field.

Please keep us posted about the progress.

Thank you,
Olivia

Hi, Sorry for the delay. Please check Excerpts options under WP Appearance >> Theme Options. If you enable "Use auto excerpts" option it will be used by search results page. But it will be used for other pages like blog or category. If you want to use native WP excerpt function please add CMS code control instead of the Post Content control and insert the following code: `<?php the_excerpt(); ?>` The sample code on how to control the excerpt length is available here: http://www.wpbeginner.com/wp-themes/how-to-display-post-excerpts-in-wordpress-themes/ It should be added to the Themler Settings >> CMS CODE field. Please keep us posted about the progress. Thank you, Olivia
mburgener
26 Posts
mburgener posted this 04 April 2017

Exactly what i tried, however i tried using Custom Code Control! using CMD code control it worked like a charm!

thank you very much!

Hi,

Sorry for the delay.
Please check Excerpts options under WP Appearance >> Theme Options. If you enable "Use auto excerpts" option it will be used by search results page. But it will be used for other pages like blog or category.

If you want to use native WP excerpt function please add CMS code control instead of the Post Content control and insert the following code:

&lt;?php the_excerpt();?&gt;

The sample code on how to control the excerpt length is available here:
http://www.wpbeginner.com/wp-themes/how-to-display-post-excerpts-in-wordpress-themes/
It should be added to the Themler Settings >> CMS CODE field.

Please keep us posted about the progress.

Thank you,
Olivia

Exactly what i tried, however i tried using Custom Code Control! using CMD code control it worked like a charm! thank you very much! > Hi, > > Sorry for the delay. > Please check Excerpts options under WP Appearance >> Theme Options. If you enable "Use auto excerpts" option it will be used by search results page. But it will be used for other pages like blog or category. > > If you want to use native WP excerpt function please add CMS code control instead of the Post Content control and insert the following code: > > `&lt;?php the_excerpt();?&gt;` > > The sample code on how to control the excerpt length is available here: > http://www.wpbeginner.com/wp-themes/how-to-display-post-excerpts-in-wordpress-themes/ > It should be added to the Themler Settings >> CMS CODE field. > > Please keep us posted about the progress. > > Thank you, > Olivia
Support Team
Support Team posted this 04 April 2017

You are welcome. Feel free to contact us in any other occasion.

Sincerely,
Hella

You are welcome. Feel free to contact us in any other occasion. Sincerely, Hella
mburgener
26 Posts
mburgener posted this 19 February 2018

very bad, never got this working, however want to give it another try.

looks like the code is always ignored, no matter in which control i add it.

very bad, never got this working, however want to give it another try. looks like the code is always ignored, no matter in which control i add it.
Support Team
Support Team posted this 19 February 2018

Hi,

You are talking about the slider or excerpts problem? You have written in the above posts that it was working with the CMS Code control. Please explain the issue in more details.

Sincerely,
Hella

Hi, You are talking about the slider or excerpts problem? You have written in the above posts that it was working with the CMS Code control. Please explain the issue in more details. Sincerely, Hella
mburgener
26 Posts
mburgener posted this 19 February 2018

the &lt;?php the_excerpt();?&gt; part is not working, however when using

<p><a href="<?php echo get_page_uri( $post->ID ); ?>"><?php echo get_page_uri( $post->ID ); ?> </a>
 </p> 

to print the page title in results that part works, but (even in the same control) the excerpt doesn't

the `&lt;?php the_excerpt();?&gt;` part is not working, however when using <p><a href="<?php echo get_page_uri( $post->ID ); ?>"><?php echo get_page_uri( $post->ID ); ?> </a> </p> to print the page title in results that part works, but (even in the same control) the excerpt doesn't
You must log in or register to leave comments