Notifications
Clear all

Paid Addons Support Forum Only

Please note, that here we only support Paid Addons issues and questions.

gVectors Support staff works from 6am to 6pm (GMT+0)

All questions related to wpForo and wpDiscuz free plugins should be asked in the corresponding plugin support forum:

 

wpDiscuz Support Forum wpForo Support Forum

Search Widget could be better if...

7 Posts
2 Users
1 Likes
82 Views
Javier Pardos
Posts: 4
Customer
Topic starter
(@javier-pardos)
Member
Joined: 2 years ago

Hello, I have an online academy. In each of the lessons (which are CPTs), I have activated wordpress comments below, which in turn are replaced by the wpdiscuz design/system. So my students can ask questions of each of the lessons. In each of those "forums", they use the "search" addon that wpdiscuz incorporates, to search for keywords in the comments of that lesson. So far perfect.

But now, I've created a page where I can embed a search engine so students can search for keywords in ALL the academy comments. After going crazy trying to find a solution, I've discovered that while wpdiscuz doesn't use shortcodes for this purpose, it does incorporate a "search comments widget" that can be added to the sidebars.

But finally I have been able to add it as a widget at the end of a post, which I will use as if it were a page. And it worked perfect.

But I need 2 things:

1 . By default, before searching for any keyword, it shows the first 5 comments. How can I make it display for example 10?

2 . When searching for a keyword, the results show avatar author , author name, lesson title (+ link) and an excerpt from the comment. How can I make that excerpt not only show the beginning of the comment and an elpipsis type "..." but rather show the part of the comment where the keyword appears with its "Highlight search text in live results"? Even, How can you configure the number of words in the excerpt?

I guess tweaking functions or css, or something... yes, it could not?

I appreciate the help on these two questions.

Thank you !

6 Replies
Astghik
Posts: 5475
Admin
(@astgh)
Illustrious Member
Joined: 5 years ago

Hi Javier Pardos,

Posted by: @javier-pardos

1 . By default, before searching for any keyword, it shows the first 5 comments. How can I make it display for example 10?

You should change the value of the "Number of comments to show:" option. 

image

2 . When searching for a keyword, the results show avatar author , author name, lesson title (+ link) and an excerpt from the comment. How can I make that excerpt not only show the beginning of the comment and an elpipsis type "..." but rather show the part of the comment where the keyword appears with its "Highlight search text in live results"? Even, How can you configure the number of words in the excerpt?

I'll ask the developers if there is an easy way for this. 

Reply
5 Replies
Javier Pardos
Customer
(@javier-pardos)
Joined: 2 years ago

Member
Posts: 4

@astgh perfect ! Suuuuuper 🙂 Thanks a lot ! 🙂 I will wait for the answer

Reply
Astghik
Admin
(@astgh)
Joined: 5 years ago

Illustrious Member
Posts: 5475

Hi Javier Pardos,

We're really sorry, but for the second question, there is no easy solution we can share here. 

Reply
Javier Pardos
Customer
(@javier-pardos)
Joined: 2 years ago

Member
Posts: 4

@astgh ok ! Thanks for your answer and our time. Then, some one of you team can do that service (paying I mean) for me in my web?

Reply
Astghik
Admin
(@astgh)
Joined: 5 years ago

Illustrious Member
Posts: 5475

@javier-pardos,

Currently, we have plugin customization and custom addon development services at the gVectors Team. They can assess the work and create it for you. Just contact us via sales[at]gvectors.com email address and send a list of requirements you'd like to have.

Reply
Javier Pardos
Customer
(@javier-pardos)
Joined: 2 years ago

Member
Posts: 4

@astgh perfect. I already wrote to that email. I wait for the answer. Thanks 🙂

Reply
Share:
Scroll to top