chan liu
asked 8 years ago

1. how can I add post per permanent to search result page;
I want to show the post URL in each search result after the excerpt in search result page only
2. how can I have the right length of excerpt in the page 
I am the Chinese website, and the excerpt doesnt work well in all post list page in the whole sit. please check the url below for example.
how can I define the maximum length in the excerpt? 
http://115.28.149.124/category/disease/%E7%B2%BE%E5%8D%8E%E9%97%AE%E7%AD%94/ 
3. how can I resolve the garbled code problem?
when i search the keyword with a “space”, the result page becomes like this: 
in this case, I use the keyword “爱情 “
http://115.28.149.124/?s=%E7%88%B1%E6%83%85+&submit=Search 

3 Answers
chan liu
answered 8 years ago

I’ve already resolve the question 1 and 2.
please help with the question 3.
thanks

DominicStaff
answered 8 years ago

Hello Chan !
I have sent and notified our technical team about this problem. We are checking and fix the issue as soon as possible.

DominicStaff
answered 8 years ago

Hi Chan  !
Issue3: To resolve the issue with the Searchform, you can log in to Dashboard > Appearance > Customize > General Setting, add the following code to the Footer Script:

<script>
 jQuery(document).ready(function($){
  $('[name="searchForm"]').on("submit",function(event){
   $(this).find('[name="s"]').val( $.trim( $(this).find('[name="s"]').val() ) );
  });
 });
</script>

Hope this helps !

Powered by DW Question & Answer Pro