Edit PHP code of the Visual Editor textbox
I’m trying to add the following code to my Visual Editor so that it effects only that textbox and shows as a typical HTML placeholder containing text that disappears when you click on it:
<div id="quote"><?php random_make (); ?></div>
But I can’t seem to find any code for the Visual Editor, I’ve looked in functions.php but I must be missing it.
Can anyone tell me where I can place this code so that I get my desired results?
- The topic ‘Edit PHP code of the Visual Editor textbox’ is closed to new replies.