Forums

PHP Code Widget
[resolved] PHP dont works (4 posts)

  1. linchen
    Member
    Posted 1 year ago #

    <?php echo"hallo";?> show empty widget

  2. Otto
    Tech Ninja
    Posted 1 year ago #

    <?php echo"hallo";?> is not valid php code.

    Have you tried <?php echo "hallo";?> instead?

  3. kpmanuel
    Member
    Posted 1 year ago #

    It doesn't work for me either. The text doesn't show up. I have WordPress 3.1.

    I've tried
    <?php echo 'testing'; ?>
    <?php echo "testing"; ?>

  4. kpmanuel
    Member
    Posted 1 year ago #

    Nevermind, I figured out what I was doing wrong. I was still using the old "Text Widget" box instead of the "PHP Code Widget" box. Oops!

    Thanks for the widget!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic