David Chandra 7 years ago testing php code: `<?php /* Testing Echo */ echo ' This is heading ‘; ?>` testing script: ` (function($){ /* on document ready */ $(document).ready( function(){ } ); })(jQuery) `
David Chandra 7 years ago the `script` tag is gone. and first quote of php echo changed to html entities. test another php: code: “ should be pre: ` ` echo in double quote: “
David Chandra 7 years ago all php opening and ending got stipped. i think the member need to get unfiltered html: http://codex.wordpress.org/Roles_and_Capabilities#unfiltered_html
David Chandra 7 years ago btw, this is the original content of my reply with code of http://themehybrid.com/board/topics/code-testing#post-2603 in txt: https://dl.dropboxusercontent.com/u/32880842/etc2/code-test.txt
Anand Kumar 7 years ago I think this should not output date/time ` document.write(Date()); ` document.write(Date());
David Chandra 7 years ago the script tag is gone. and first quote of php echo changed to html entities. test another php: code: <?php echo 'Something'; ?> should be pre: <?php echo 'Something'; ?> echo in double quote: <?php echo "Something"; ?>
David Chandra 7 years ago without backtick: the script tag is gone. and first quote of php echo changed to html entities. body{display: none !important;} test another php: code: should be pre: echo in double quote:
Testing inline `
` and block-level:
`
/**
* Prints the topic last activity time.
*
* @since 1.0.0
* @access public
* @return void
*/
function mb_topic_last_active_time( $topic_id = 0 ) {
echo mb_get_topic_last_active_time( $topic_id );
}
`
testing php code:
`<?php /* Testing Echo */
echo '
This is heading
‘;
?>`
testing script:
`
(function($){
/* on document ready */
$(document).ready( function(){
} );
})(jQuery)
`
the `script` tag is gone. and first quote of php echo changed to html entities.
test another php:
code:
“
should be pre:
`
`
echo in double quote:
“
all php opening and ending got stipped.
i think the member need to get unfiltered html:
http://codex.wordpress.org/Roles_and_Capabilities#unfiltered_html
btw,
this is the original content of my reply with code of http://themehybrid.com/board/topics/code-testing#post-2603
in txt:
https://dl.dropboxusercontent.com/u/32880842/etc2/code-test.txt
I think this should not output date/time
`
document.write(Date());
`
document.write(Date());
Code between backticks should work a lot better now.
the
script
tag is gone. and first quote of php echo changed to html entities.test another php:
code:
<?php echo 'Something'; ?>
should be pre:
echo in double quote:
<?php echo "Something"; ?>
without backtick:
the script tag is gone. and first quote of php echo changed to html entities.
body{display: none !important;}
test another php:
code:
should be pre:
echo in double quote:
awesome!