ternef4339
Member
Posted 5 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
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.
ternef4339
Member
Posted 5 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
ElliotLapin
Member
Posted 5 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...
The quote files are text files. Just edit them.