Reply To: Original Blog Post content get stripped of HTMl and Shortcodes

Home Forums Product Support Forums Related Posts Pro for WordPress Support Original Blog Post content get stripped of HTMl and Shortcodes Reply To: Original Blog Post content get stripped of HTMl and Shortcodes

#2338
Ernest Marcinko
Ernest Marcinko
Keymaster

Hi!

1. You should try to disable the “Run the content filter” and “Run the title filter” options on the same panel: https://i.imgur.com/pKLsAct.png
Could you please also send me a log of the errors throwed by the plugin?

2. Currently there is no option for that, but with a simple modification it’s possible. Open up the plugins/related-posts-pro/includes/related_content.class.php file and go to line 843, this should be an empty line, and put this code there:

if ( $this->posts[$key]->image == null || $this->posts[$key]->image == '') {
  unset($this->posts[$key]);
  continue;  
}

Save the settings once again to refresh the cache, and you shouldn’t see posts without images in the result list anymore.

Best,
Ernest Marcinko

If you like my products, don't forget to rate them on codecanyon :)