Plugin Author
Ajay
(@ajay)
Ali,
You have two options on this one:
1. Use the Manual Install by editting your theme files. Information of this is in the FAQ
2. Try something like this under functions.php. Backup your files before doing this
remove_filter('the_content', 'ald_crp_content');
add_filter('the_content', 'ald_crp_content',99);
The number 99 controls at what priority the plugin should ideally kick in. The default is 10 for most plugins. So if your sharing buttons have a priority of 10, then something higher than that will display after the sharing plugins.
Hey, me too, really need to do it.
Plugin Author
Ajay
(@ajay)
djforce have you tried the options above?
Hi Ajay, I tried the above provided fixes but even though it enabled me to place CRPs in my desired place, yet it also shows them within its default place (again within the article body). So it’s making the posts to show twice… Any idea please?
hi, I tried to fix the functions.php file but it did not help …
Plugin Author
Ajay
(@ajay)
aliqamarvpn, Can you try this test: Remove the second line I asked you to add in? i.e only keep remove_filter('the_content', 'ald_crp_content');
What’s the result of this?
djforce, am assuming you are editting the themes function.php file. Also, are you having the same issue as Ali?
if I put it remove_filter (‘the_content’, ‘ald_crp_content’);
Block disappears from all pages
Plugin Author
Ajay
(@ajay)
Can you try adding this to your functions.php file
// Content function with user defined filter
remove_filter('the_content', 'ald_crp_content');
add_action( 'template_redirect', 'crp_content_prepare_filter' );
function crp_content_prepare_filter() {
add_filter( 'the_content', 'ald_crp_content', 99 );
}
Plugin Author
Ajay
(@ajay)
I checked out the second link. The related posts are at the bottom of your post. What other blocks are you thinking about on that page that the output should come after?