WordPress.org

Ready to get started?Download WordPress

Forums

PHP Code Widget
Doesn't seem to work (1 post)

  1. sharprichnorth
    Member
    Posted 2 years ago #

    Installed, activated, and this code doesn't work:

    <?php
    $alumni = rand(0,1);
    switch($alumni) {
    case 0: ?><p><img src="/images/xxx.png"></p>
    <p>TITLE: blurb</p><?php break;
    case 1: ?><p><img src="/images/yyy.png"></p>
    <p>TITLE: blurb</p><?php break;
    } ?>

    http://wordpress.org/extend/plugins/php-code-widget/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.