Viewing 1 replies (of 1 total)
  • At first, I thought I was unable to edit the code as well. I saw $html = ""; right before line 1. I put my cursor between the two quotes and tried to type. Nothing. Then I figured out what he’s doing. He’s showing that the $html variable is initially declared with a blank string as its content. Then on line 1 (the only area where you can type) you need to assign it a value. Like this: $html = "<div class="my-output">My shortcode output</div>"; I think it’s working, but confusing.

Viewing 1 replies (of 1 total)
  • The topic ‘Does not work. I cannot edit the code.’ is closed to new replies.