Change ‘No Post Found’ text

Ticket for: Combo Blocks
0
Change 'No Post Found' text 1
Ryan Tyler
Jul 26, 2019 07:00 PM 1 Answers
Member Since Jul 2019
Subscribed Subscribe Not subscribe
Flag(0)

Hello, I am using your plugin along side Search & Filter, and it works great. However when the some of the filters are selected together it returns no result as expected. What I would like to do is change the words 'No Post Found' to something else. How do I do this?

2 Subscribers
Change 'No Post Found' text 1
Change 'No Post Found' text 3
Submit Answer
Please login to submit answer.
1 Answers
Sort By:
Best Answer
0
Change 'No Post Found' text 4
PickPlugins
Jul 27, 2019
Flag(0)

Welcome to our forum.

you can do this by filter hooks, please add following code to your theme functions.php file

add_filter('post_grid_no_post_text', 'post_grid_no_post_text', 10);

function post_grid_no_post_text($text){
    $text = 'Sorry! no post';
    return $text;
}

Let me know the result.

Regards

Change 'No Post Found' text 5
Ryan Tyler
- Jul 30, 2019 05:19 AM
Flag (0)
0

Thanks! This worked.

Sign in to Reply
Replying as Submit