Where WP loads the post content?
-
Hello,
I would like to edit the way WP shows its post content. I have lots of PHP code and I would like to highlight it with highlight_string() php function. I do NOT want to use highlight plugins because they are not unique and takes time to load the JS functions and they only work on JS enabled browsers.
Basically:
$wp_post_content = ... highlight php code ... echo $wp_post_content;I do not want Admin CP to do this, because if I modify a post it will so the highlighted code! So, I want WP to highlight everytime it loads post content.
The topic ‘Where WP loads the post content?’ is closed to new replies.