Edit PHP code of the Visual Editor textbox (1 post)

  1. ConduciveMammal
    Posted 1 year ago #

    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?


Topic Closed

This topic has been closed to new replies.

About this Topic

  • RSS feed for this topic
  • Started 1 year ago by ConduciveMammal
  • This topic is not resolved
  • WordPress version: 3.9.2