Home › Forums › Product Support Forums › Related Posts Pro for WordPress Support › Adjustment of RPP placement › Reply To: Adjustment of RPP placement
Hi Ernest,
Unfortunately, the change caused woocommerce products not to load (either gave an http 500 error, or just left a blank white page). I have been back into the hooks file and changed things back, (it was an emergency). It must be because we have a second instance running on product pages.
I changed line 253 to
add_filter(‘the_content’, ‘wpdreams_rpp_add_below_content’, 10, 1);
and line 63 to
add_action(‘wp_footer’, ‘wpdreams_rpp_hooks’, 10, 0);
I’m not sure if I changed line 311 (where I found a similar setup), it currently reads
add_filter(‘the_content’, ‘wpdreams_rpp_add_above_content’, 10, 1);
Do you think it would be safe to try changing the numbers again, in spite of using two instances in different places? Does the code look OK at the moment the way I’ve left it? Everything seems to be running OK again…
An example of a product page, where the second instance is running is this one
https://southeastasiabackpacker.com/bookings/tefl-course-thailand-koh-samui/