- February 2, 2017 at 7:45 pm #11808
hi can we have a character limit on titles so they are not so long, and have a “…” after something like 40 characters?February 3, 2017 at 9:19 am #11810
Yes, it is possible with a small modification and a custom code. Follow the steps below, I will try to guide you. If you need help with editing the files, you can fill the ticket details with FTP access, and I will do it for you.
1. Open up the wp-content\plugins\related-posts-pro\includes\related_content.class.php file on your server and change line 1514 from this:
$this->post[$key] = apply_filters('rpp_item_after_postprocessing', $post);
$this->posts[$key] = apply_filters('rpp_item_after_postprocessing', $this->posts[$key]);
2. Then add this code snippet to the functions.php file in your active theme directory (copy from line 4):
3. Open the plugin settings and save them without changing anything, so the cache will be cleared.
The titles should appear trimmed now.Best,
If you like my products, don't forget to rate them on codecanyon :)
February 3, 2017 at 5:52 pm #11815
You must be logged in to reply to this topic.