Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › conflict with related posts pro
- This topic has 7 replies, 2 voices, and was last updated 9 years, 6 months ago by
Ernest Marcinko.
-
AuthorPosts
-
November 30, 2016 at 1:51 am #11020
optimalpartners
ParticipantHello,
we are having problems with the search widget not showing on the right side bar and footer of the site, for single posts, when the plugin “related posts pro” is enabled.
From what I can tack down, it seam to have something to do with what is going on in the global $shortcode_tags variable. the $m variable when function do_shortcode_tag() is called seams fine.
Now the problem is not persistent. After refreshing the page once or twice the search widget tends to show up. This made us look for cashing problems during the last months with no success in solving the problem.Se can setup a staging site and grant access if necessary.
Thank you-
This topic was modified 9 years, 6 months ago by
optimalpartners.
November 30, 2016 at 10:57 am #11030Ernest Marcinko
KeymasterHi,
I’m not able to re-create the issue unfortunately, so I’m not sure what exactly is causing it. Can you please set up a staging site where I can check it directly? I suspect one or the other is disabling the search shortcode for some reason.
December 4, 2016 at 2:45 am #11109optimalpartners
ParticipantYou cannot access this content.
December 5, 2016 at 10:11 am #11115Ernest Marcinko
KeymasterHi!
Thank you for the details. I’ve noticed that the Related Posts Pro version you are using is not the latest. Just about 10 days ago version 1.5 was released. Please try updating it (only manual updates are available yet), that should hopefully resolve this issue as well.
December 5, 2016 at 6:45 pm #11130optimalpartners
ParticipantHello, we have updated the related posts pro plugin to 1.5. Unfortunately the symptoms have not changed.
December 6, 2016 at 10:18 am #11153Ernest Marcinko
KeymasterHi,
I might have found the source of the issue, I’m not sure, because I cannot make modifications via FTP. To try my theory, please change the following:
1. Open the wp-content\plugins\related-posts-pro\includes\related_content.class.php file and navigate to line 1492, which should be this:
[code]add_shortcode(‘wpdreams_ajaxsearchpro’, array($this, ‘return_empty_string’));[/code]
2. Remove that line, or comment it like this:
[code]//add_shortcode(‘wpdreams_ajaxsearchpro’, array($this, ‘return_empty_string’));[/code]
3. Save the file, and go to the back-end and save the Related Posts Pro options as well.
Let me know if it helps, so I can investigate it further on my test environments.
December 6, 2016 at 12:47 pm #11183optimalpartners
ParticipantYes it dose seam to work.
Thank you very much. It would wave taken me some long hours to figure this out on my own.December 7, 2016 at 2:48 pm #11196Ernest Marcinko
KeymasterYou cannot access this content.
-
This topic was modified 9 years, 6 months ago by
-
AuthorPosts
- The topic ‘conflict with related posts pro’ is closed to new replies.