• I inserted a text widget in my left sidebar and inserted this code into it:

    <?php
    if (is_home()){
    echo (‘hello world’);
    }
    else {
    echo (‘Google code here’);
    }
    >?

    But when I view the site, at the top of the left sidebar instead of seeing either ‘hello world’ or ‘Google code here,’ I just see a question mark.

    My site is at https://writerhoward.wordpress.com.

    How can I fix this?

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘What did I do wrong?’ is closed to new replies.