WordPress.org

Support

Support » How-To and Troubleshooting » Widget problem

Widget problem

  • We are using a widget-driven sidebar on a site which holds most of the text in the MySQL database.

    The following line of text is not parsing correctly, which breaks the sidebar in IE, and gives an incorrect href in other browsers:

    <p class="i_rss"><strong ><a href="<?php bloginfo('rss2_url'); ?>">Subscribe via Rss</a></strong></p>

    —————————————————
    When looking at the source code, the PHP statement comes right through, rather than being processed on the server:

    <p class="i_rss"><strong ><a href='<?php bloginfo('rss2_url'); ?>'>Subscribe via Rss</a></strong></p>

    I have tried all kinds of jimmying with the code, replacing the double with single quotes, changing their position, etc. Nothing seems to work.

Viewing 2 replies - 1 through 2 (of 2 total)
  • OK, some more oddness: If I do into PHPMyAdmin and change so much as the link from:
    <a href="<?php bloginfo('rss2_url'); ?>">Subscribe via RSS</a>

    to: <a href="anyLink.php">Subscribe via RSS</a>

    Nothing on the sidebar works after that! This makes absolutely no sense to me. Should I get out of PHPMyAdmin and work directly through the WordPress admin section?

    It seems that nobody in the wordpress world is knowledgeable enough to answer widget questions. After searching these forums for 2 days I have come to this conclusion. I guess all of these experts are not really experts at all.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Widget problem’ is closed to new replies.
Skip to toolbar