PHP code in Post, problem
-
Hi,
if I enter the following code in an article, (using the pre or code tags):if( !empty( $testx ) ) { $output = apply_filters( 'test_name_output', sprintf( '<h2 class="testx">%s</h2>', $testx ) ); echo $output;part of this code is “converted” and I get the following result, screenshot: http://i.imgur.com/13uXZUt.png
This problem occurs with any theme.
Tried with WordPress 4.4.xx AND 4.5.xx, same problemThanks for any help or suggestions.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘PHP code in Post, problem’ is closed to new replies.