Aug
21

Instead of turining off the WYSIWYG

No tags for this post.

< ?php
if ( is_single()) {
echo 'turning it off‘;
echo’
‘;echo’
‘;echo’
‘;
} else {
echo ‘turning it off‘;
}
?>

To successfully write PHP code in the content of an article, the WYSIWYG editor needs to be turned off through the ‘Users > Your Profile’ menu. It is not enough to simply keep the WYSIWYG editor on, switch to the ‘Code’ tab of the editor in the ‘Write’ menu and save the article. This will render all contained PHP code permanently unuseful. (more…)

Mar
5

Hello world!

No tags for this post.

Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!