Hi @merkucio,
To get the exact information, I have reached out to my team. I will update this thread once I have anything to share.
Kind regards,
Aradhy 😊
Hi @merkucio,
I apologize for the delay.
Your query involves custom code that is beyond the scope of official support, so we can’t provide full guidance on implementation. That said, I will leave this to the community if there’s any developer who can jump on this thread and help you out.
However, to give you a starting point, you can try adding the following filter to your site:
function move_reading_time_above_content( $content ) {
if ( is_singular( array( 'post', 'page' ) ) && in_the_loop() && is_main_query() ) {
$reading_time = do_shortcode( '[read_meter]' );
return $reading_time . $content;
}
return $content;
}
add_filter( 'the_content', 'move_reading_time_above_content' );
Please test carefully first, ideally on a staging site, since this is a custom tweak.
Kind regards,
Aradhy 😊
Hi @merkucio,
It’s been a while since I posted my response, and we haven’t heard from you since then. I assume that you have fixed this or have reached out to us.
I am marking this thread as Resolved due to inactivity. Feel free to start a new thread if there’s anything else related to this plugin, we can help you with.
Kind regards,
Aradhy 😊
This issue was not resolved due to PHP errors after adding your code snippet.
Hi @merkucio,
Thanks for the update.
I tested the code on my end, and it seems to be working fine, without generating any error messages. Could you please try the code without any other plugins active, just in case it might be coming from a conflict? In case the issue persists, kindly share the exact error message so that we can get a better clarity.
Kind regards,
Aradhy 😊