WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Problem with Sidebar Widget and Random Qoute Plug-in (5 posts)

  1. ternef4339
    Member
    Posted 8 years ago #

    Hello!
    Can someone give me some help with my Sidebar Widget and Random Quote problem? I use the Sidebar Widget Plug-in and the Random Quote Plug-in

    In my earlier sidebar.php I called the Random Quote Plug-in with the code bellow

    <?php wp_quotes_random(); ?>

    but I can’t use this code in a the Sidebar Widget’s Text widget. When I looked at my page is the text widget empty. What do I do wrong?

    /Annelie

  2. Samuel Wood (Otto)
    Tech Ninja
    Posted 8 years ago #

    a) Text Widgets can't contain PHP code
    b) Text Widgets are filtered unless you have the "unfiltered HTML" role set
    c) WP-Quotes hasn't been updated in a while. While you could use the ExecPHP Widget to make a text widget that *does* support PHP code, it would make a bit more sense to use a plugin that is more up-to-date and supports widgets natively. Like Joe's Quotes Widget or something similar.

  3. ternef4339
    Member
    Posted 8 years ago #

    Thank you so much for your help, Otto! I have downloaded and installed the Joe's Ouotes Widget and it works great.

    /Annelie

  4. ElliotLapin
    Member
    Posted 7 years ago #

    Joe's Widget does work. But I've been unable to access them -- for selection, deletion, addition.

    Any ideas on how I should tweak my installation? Thanks...

  5. Samuel Wood (Otto)
    Tech Ninja
    Posted 7 years ago #

    The quote files are text files. Just edit them.

Topic Closed

This topic has been closed to new replies.

About this Topic