Note: The ExecPHP widget does not work in the upcoming WordPress 2.5. Therefore, if you upgrade to 2.5, you will need to install the updated version of this widget. It can be found here, now and forever more: http://wordpress.org/extend/plugins/php-code-widget/
A new plugin for WordPress came out that’s kinda cool. It’s called Widgets, and the general idea of it is to make the sidebars on your blog a bit more configurable, a bit more easily.
So, I decided to spend an hour or so converting my sidebars to Widgets so I could manage them a bit simpler. Editing PHP code is easy but time consuming, while dragging stuff and dropping it to rearrange the blog, well, that’s quick and easy.
Few things I learned:
- The Widgets Plugin does not like Windows. Since I run this site on a Windows box (edit: I did then, I don’t anymore, and anyway, they have fixed this problem since then), it needed some tweaking to make it work. For those who want to know, the problem is in the sidebar_admin_setup() function in widgets.php. More info on this problem is in the comments of this post.
- Text boxes are extremely useful when converting from your existing customized webpage to a widgets based one, as you can simply cut and paste chunks of HTML into them and voila, you’ve got a sidebar widget. However, there’s not a lot of text widgets available. If you need more text widgets, you will need to edit these functions: widget_text_setup(), widget_text_page(), and widget_text_register(). As it turned out, I didn’t need but 4 text widgets because:
- Despite how useful text boxes were for a quick migration, they were not enough.
So, I ended up writing two plugins of my own.
The first one is a Google AdSense plugin. You can download it here: gadsense.zip. It’s exactly the same as the Text widgets, but with (very) minor tweaks specifically for inserting Google Ads in the sidebars. Also, it shows a name of “Google AdSense” in the widgets panel, which is nice. Like the Text widget, you can have more than 1 of them, but unlike the Text widget, you can only have 4 of them, since Google’s TOS only allows 3 ads and 1 link block on a page.
The next one is also like the Text plugin, however it will also let you put PHP code into the text and have it actually work. Here’s the download: execphp.zip. Like the Text plugin, you can have up to 9 of them (more if you want to tweak the code). Note that any PHP code you put into the widget MUST be surrounded by <?php and ?> tags, just like writing PHP normally. Also note that this is isn’t exactly safe, as it’s just doing an eval() on whatever you put in there, so you have complete and full access, as does anybody else who can get to your admin screen. Still, it’s very useful.
Both of those are plugins. Just drop them in the widgets folder under the plugins folder, and activate them on the plugins screen. Then the widgets will be available for you to use on the widgets screen.
Hope these help somebody. They sure helped me. ![]()
hi, i just wanted to download exephp.zip. the link seems to be broken??
can you send me the zipfile to me email adress? would be sooo great!!!!!!!
thanks kris
The link has been fixed. Sorry, I’ve had hosting issues lately.
Awesome!! That execphp was just what I was looking for! You rock!
Pingback: Its Going To Be A Long Rush Hour « John Chow dot Com
Pingback: HiiFii Celebrity Entertainment » Its Going To Be A Long Rush Hour
Nice plugin. Worked just perfectly; and much more flexible than some of the others.
Pingback: The Social Programmer - Craig Murphy - author, blogger, community evangelist, developer, speaker » WordPress Widgets and Google Adsense
I’m having trouble with what should be quite simple — the plug-in is downloaded and it resides in the proper directory, but it won’t show in the list of available plug-ins. Help?-rob.
Never mind the above; for whatever reason, the problem vanished after re-downloading, replacing the file, trashing the cache, and reloading the page.-rob.
When I paste my adsense script in the adsense widget and click save changes, on re-opening the text disappears!
Should I do something to encode/escape the HTML tags?
Thanks a lot. nice pair. Downloaded, installed, using
Pingback: the SmockLady
execphp is a great little plugin! You can see the Categories block I created with it on my left sidebar at potluck.com — it shows only the top level items, no subcategories, just what I’d wanted.
I wonder, though — on the “Potluck Creative Arts” page and all its subpages, I’d love for an image to show up *instead* of the Category block. I tried this:
“;
} else {
echo “Categories” . wp_list_cats(‘sort_column=ID&children=0&list=1&hide_empty=0′) . “”;
} ?>
…and I got close. The image shows up correctly on the appropriate pages instead of the category block. However, on all other pages/posts, the category block goes crazy — instead of showing up the way it does right now on the site, the “Categories” heading appears at the very bottom, below all the category items, and each category item is formatted as if it were its own little sidebar block, with the graphic outline. Looks terrible! Any idea what I could do, or is that just too much a general php/CSS question for me to ask here w/r/t to the execphp plugin?
I realized that the code I’d put in my last comment didn’t come through in tact. In any case, I suspect it’s beside the point. The real question may be this: Would it be possible to alter the execphp widget so that it included conditionality? E.g., in addition to the title and code boxes that currently exist, there could be another box at top which allowed the option of attaching conditional code. If left blank, the widget would function as it does now. If filled it, the conditions would be assessed, and only if true woud the box then be added, again just as it works now, but if the conditions proved false, then no box would be added to the sidebar at all. This would probably solve everything I need, and it would open up a world of possibility for this widget’s usage!
Pingback: My 16 Best Wordpress Plugins « John Chow dot Com
Hi,
When I insert some PHP code into the widget and hit update/save, all the code dissapears! So it’s not working. Any ideas on what may be causing this? I am using WP 2.1 and on WP Mu.
Thanks for the Adsense widget! It’s exactly what I’ve been looking for. Now it’s up and running. Thanks again.
This widget works great.. thank you so much!
Pingback: My Top 15 WordPress Plugins | The Air
Pingback: palewire / Ben’s Live Playlist (with assists from Jon and Otto).
Pingback: expose
Pingback: My Top Commentators Widget: Quick & Dirty » webgrrrl.net
Pingback: My Top Commentators Widget: Quick & Dirty » webgrrrl.net
Pingback: My Top Commentators Widget: Quick & Dirty » webgrrrl.net
Pingback: My Top Commentators Widget: Quick & Dirty » webgrrrl.net
Pingback: My Top Commentators Widget: Quick & Dirty » webgrrrl.net
Pingback: My Top Commentators Widget: Quick & Dirty » webgrrrl.net
Pingback: My Top Commentators Widget: Quick & Dirty » webgrrrl.net
Pingback: Telmina » ?WordPress 2.1??Telmina???????????????2007/02/12? ??
This is great. Thank you very much.
Pingback: Gregg Hawkins - "Judge One Not By His Charms, But By His Qualities"
Pingback: Gallery2 (g2) Widget Support » James Little writes about Affiliate Marketing, Blogging and other random thoughts
Pingback: Getting BUMPZee Sidebar Widget to Work » James Little writes about Affiliate Marketing, Blogging and other random thoughts
Pingback: Extending WordPress With Plugins - Hate The Grind
Pingback: Prepare2Respond.Com:Beyond Best Practice » Base Openads Setup Complete
Pingback: Mostly Harmless · RSS feed and Tarski Links Widget
Pingback: Plugbr - » Como instalar o top commentators em blogs que usam widgets
Pingback: » Top 15 Wordpress Plugins by Fuzzy Future
Pingback: BLOmiG » Le classement des commentateurs sur votre blog !
Just what I was looking for. I just updated my theme to a widget based, and had to move all my custom menu. Thanks, and keep up the good work.
Pingback: WP???????Executable PHP widget
Thank you.
Pingback: Techie’s Corner » Extending WordPress - Plugins Used
The download links no longer work
James: Fixed.
I’m new to WordPress, how do I exactly put my AdSense code into my sidebar using gadsense.php?. I know basic PHP and HTML, but I do not know WordPress Plug in API. I’ve also activated widgets plug in successfully.
I cant express enough thanks for this wonderful widget, it has made my life very easy, thank you so much.
Pingback: 15 indispensabili plugins di WordPress | Stalkk.ed
Every time I try to put the php code on it using your widget it says: The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
No matter when I try it. It says that EVERY time.
if you could please email me if you know what’s wrong, i would really appreciate it. (the-musicinmyheadAThotmail.com)
thanks
Pingback: WordPress Plugins Add Cool Functionality to your Blog | I'd Rather Be Writing
Pingback: Life Learning Today - What Do YOU Want to Learn Today? » How to Install and Use WordPress Plugins
Pingback: Life Learning Today - What Do YOU Want to Learn Today? » 18 Really Useful Wordpress Plugins
Im new to WordPress, how do I exactly put my AdSense code into my sidebar using gadsense.php?. I know basic PHP and HTML, but I do not know WordPress Plug in API. Ive also activated widgets plug in successfully.
Martin: You put the php file into the wp-content/plugins folder. Then you go to the plugins screen and activate the plugin. Finally, you go to the widgets screen, and you’ll have a new widget available for dragging and dropping into the sidebar. When you configure it, it’ll have a textbox for pasting the adsense code into.
Pingback: Wordpress Plugins
Hi Otto,
I think I’m having an problem with execphp, but I’m not sure if it’s that or the plugins I’m using. The two
I’m having issues with are “Popularity Contest” and “Top Commentators” – both use php code to call them.
would you mind taking a look at this thread over at wordpress support to see if you have any insight for me?
http://wordpress.org/support/topic/116715?replies=5#post-555395&id=116715
thanks so much!
Otto, Thank you so much for coming over to wordpress/support to help me with my question. Your answer worked perfectly. I’ll put it here too in case anyone is having trouble with Top Commentators or Popularity Contest formatting.
Here was Otto’s response:
You need to edit that widget and add and around the function call that you’re making. Why? Because the html it’s creating has each link inside of an li tag, but you don’t have a list around those for the li tags to make sense.
Just edit the widget and change this:
to this:
Thanks again!
Oops here the advice from Otto
You need to edit that widget and add and around the function call that you’re making. Why? Because the html it’s creating has each link inside of an li tag, but you don’t have a list around those for the li tags to make sense.
Just edit the widget and change this:
// //
to this:
//
//
forgot to put in the backslashes. The backslashes are like quotation marks around the code. They are not part of the answer.
OK. That didn’t work either. Here’s the link if anyone needs it:
http://wordpress.org/support/topic/116715?replies=10#post-557660
Pingback: Mis Plugins preferidos para WordPress: Segunda Parte. | Punto Fape
Pingback: Using The Executable PHP Widget » Blog-Op
I’m having trouble using this plugin with WP 2.2. Whenever I have more than one of these widgets in use at one time, the contents of the first to be evaluated are copied to every other instance of the widget.
Hmm…Samsarin’s PHP widget seems to have the same bizarre problem.
Look at http://trac.wordpress.org/ticket/4275
Pingback: LBnuke » WordPress 2.2
Thanks.
Pingback: Upgrading and Why You Need a Database Backup at MInTheGap
There’s a fix for WordPress 2.2 that will correct this problem:
Download this file: widgets.php.
Replace your /wp-includes/widgets.php with this file. Problem solved for the moment.
I’ll have a fix to the widget itself that should allow it to work with anything sometime tonight.
Pingback: // to be different than the Tellerrand » Blog Archive » Dinge die man über Wordpress 2.2 Upgrade wissen sollte
Pingback: Updates, Upgrades, and Miscellaneous Escapades | blogAGLOCO.com
thanks..
i really dont understand about php
so with this widget its easy
just copy paste..lol
Pingback: WP Plugins DB » Blog Archive » Executable PHP widget
Pingback: Best Wordpress Plugins - My Top 10 - eMonetized.com
Pingback: WP 2.2 Widget "fix" part 2 at Scattered
Pingback: leichenwald » Blog Archiv » Executable PHP widget | BugFix in WP 2.2
Pingback: gregtyree.com » Blog Archive » Issue with PHP Exec in 2.2
Executable PHP widget seems to screw the sidebar up in IE 7. No problem in Firefox. Using WordPress 2.2. Makes the bottom half of the sidebar move to the opposite side and not lined up. Using default theme.
Here is the code I put in the widget
‘ . __(‘Pages’) . ” ); ?>
Steven: The PHP widget is basically identical to the Text widget. It cannot “screw up” anything by itself.
It’s certainly possible for the code you use to do something like that though. So I’d suggest changing your code.
Well… duh!
Nevermind, I deleted and reloaded the plugin and it works as advertised.
Getting this error:
Parse error: syntax error, unexpected T_STRING in /home/.dino/chutney/makingchutney.com/wp-content/plugins/execphp.php(24) : eval()'d code on line 1sry – this is the whole code, removed the php tags at start and end to get it in the post…
wp_list_pages(‘exclude=44,45,46,48,50,51,52,53&title_li=’ . __(‘Pages’) . ” );
@chutney: Something is wrong with the PHP code you put into the widget. That’s what causes that error.
@rogilvie: I can’t tell you what’s wrong with your code, exactly. The widget itself doesn’t modify anything or produce any real output of its own. If it’s breaking the page, it’s your code that is doing it, somehow.
Pingback: WordPress Plugin Recommendation (June) >> PiXELWiT
Pingback: Wordpress | J'ai fini de migrer
that is so amazing plugin to wordpress and me
Thank u so much,? am so funny
Thx a lot for the solution with the execphp. I use it for my latest Pixelpost photograph to be displayed in WP.
Best wishes!!
Jens
Pingback: ?????screwdriver? » Blog Archive » ? Widgets ???? PHP Code
Pingback: Busy Day.. aka get info from your users in PHP | Nafurai
Pingback: One By One Media » BTW…Wordpress 2.2.1 released
Pingback: 2.2.1 Is A Go | The Air
Pingback: Show Top Commentators « A Guilty Pleasure
I have the problem with WordPress 2.2 and understand that I need to update my widgets.php as per link at the top of this page. Will this effect my current widgets settings?
Wordpress 2.2.1 works with the ExecPHP widget as is, no changes required.
And no, you will not lose any settings by updating the widget.
Pingback: Expanding the Air Part II | The Air
Pingback: rodtempleton.net » Exec PHP Widget seems to break under WP 2.2.1
Tried it on my test site, which has 2.2.1 installed, and got a message along the lines of “you don’t have permission to edit (or access?) widget.php file on this server …”
Smells like I need to fool with my file permissions but not sure what setting to assign. Currently have set to write by me only.
Bruce: What are you talking about? It’s a plugin. Drop it anywhere in the plugins folder, activate the plugin. You don’t need to edit any widgets.php file or anything like that.
All the files in the WordPress directory must have at least 444 permissions, most likely, but that’s normal for WordPress.
Otto, not attempting to edit the widget file. That’s what’s odd. I just add the PHP widget to my sidebar, put some code in it, and get the following message
You don’t have permission to access /keenstuff/kltestblog/wp-admin/widgets.php on this server.
The code I put in is simple
Recent Posts
">
Strange. The widgets file is showing a permission of 644.
I know I am doing something wrong somewhere but just don’t know what. Any suggestions? By the way, I get an odd “you cannot write to such and such directory” for some other admin items,too. Not a pattern. There must be a permission screwed up somewhere along the way.
Thanks,
Bruce
Pingback: Plugins That Powers Wpdesigner » WPDesigner
Pingback: DigiZen: Un blogfesor aprendiendo » Formas de incluir código PHP mediante widgets en blogs de WordPress
Pingback: Executable PHP widget | ????????
Pingback: Top 15 Wordpress Plugins | Bookmark Bliss
Pingback: Related or similar posts — This and that
Pingback: How To Track Aweber Opt-ins With Wordpress
Pingback: TylerCruz.com: An Internet Entrepreneur’s Journey » Blog Updates
Works as advertised. Great plugin.
Worked like a charm for Technorati Rank, but not Stumble Crumble.
Any ideas?
THANKS!
Pingback: Fading Whispers: The Chronicles » Blog Archive » Watching the number 23 and plugins galore!
Thanks a lot !! I’m a complete newcomer to wordpress and spent days and night trying to figure how to insert my html code from amazon or del.icio.us like I did on Blogger ! Thanx a lot ! You saved my next 2 or 3 coming nights for sleeping !
)
Pingback: » Must Have Wordpress Stuff Warrior Blog- Internet Marketing Made Easy: The Affiliate Guide Marketing, Offering Affiliate Marketing Tip and Affiliate Marketing Tool
Pingback: PatJe Sandkasten » Blog Archive » Plugins in Webby Blue
Pingback: More Than Scratch The Surface » Blog Archive » WordPress - Most Viewed - Sidebar Widget
Pingback: Coming Attraction : un plugin pour annoncer les prochains articles
Pingback: Top zoveel Wordpress Plugins » Onbezet.nl
Pingback: » Wordpress 2.2.1 Available For Download->Make Money and Happy Online with Hat Money Dot Com
Pingback: Wordpress 2.2: les plugins que j’utilise…pour le moment : Blog pour la veille et les humeurs numériques de Guy Pastre
Pingback: Ashish Jha's Blog
Pingback: Back and beautified
Pingback: Drop down links for Wordpress — This and that
Hi Otto, I write at montrealtechwatch.com
I used the phpcode to pull most commented posts. however, I noticed that if you add another php code widget, for another php function, it displays the exactly the same thing, i.e. the results from the first php code 1 widget. looked at the database, and it stores both php code in the wp_options row. i don’t know now where to look at.
????
Heri: You are using an older or incorrect version of Widgets. The version of Widgets that was included in the first release of Widgets in the core code had this problem. It was patched for subsequent releases of WordPress.
In other words, update WordPress to the latest version (2.2.2 as of this writing) and the problem will go away.
ExecPHP widget – Great plugin, thanks for building it!
Steve
Pingback: FlashVacuum » Blog Archive » WordPress Plugin - ExecPHP
Pingback: Why Your Sidebar Plugins Don’t Work
Update the widgets.php according to post 32 http://ottodestruct.com/blog/2006/04/09/fun-with-widgets/#comment-756 solve my problem.
Thanks
If that update fixes your problem, then you need to update WordPress. One version of WP had a bug that required that fix, but the latest version works perfectly with the original version.
Pingback: My Computer Back in Service » Blog Archive
Hi Otto,
I’m currently using 2.3 Beta 3 of WP and am getting the following error when I try to insert my FAlbum php script to display 4 random photos:
Fatal error: Call to a member function on a non-object in /home/.valenzuela/dcelis/david.sebastiancelis.com/wp-content/plugins/execphp.php(24) : eval()’d code on line 1
Is this compatability issues with Beta 3, or is something wrong just happening?
David,
No, ExecPHP is perfectly compatible with Beta 3, something’s just wrong with the code you put into the widget. Because your code executes in the context of the execphp plugin, any error in your own PHP code causes the error to appear to come from the plugin. But the key here is that the error is in the “eval()’d code”. Your own code is the code that’s being “eval()’d”.
Sorry, I know that that doesn’t help much, but it’ll tell you where to look at least.
Pingback: How To Add Wordpress 2.3 Tags To Your Current Theme | Aiming for Independence
Hi Otto,
it doesn´t works with my WordPressMU 1.2.4. Only text will be saved, no php-code.
WP 2.2.2 –> it works.
Viele Grüße,
Maxoo
Pingback: Wordpress 2.3 - pastreaza-ti tema dupa upgrade - Apollinaire Online
Pingback: Playing with Plugins at The Phoenix Real Estate Guy
Pingback: Widgetize your Wordpress Themes For Easy Insertion of Ads at acoenoc.com
Just used this – works great – Thanks!
Pingback: olpa, OSS developer » Blog Archive » casting WPAds to a widget
Pingback: Adsense - I Got My 21 Cents | More Than Scratch The Surface
Hmmm. It seems that when I add a second widget, the results is a repeat of the first one. So I get two instances of the first execphp widget output on the sidebar.
(I’m using WP 2.2.)
Michel: Update to the latest WordPress. Either 2.2.3 or 2.3. This will fix your problem.
Pingback: wehuberconsultingllc.com » Blog Archive » Updating my blog to WordPress 2.3 and migrate the UTW tags to the WP native tags
Pingback: Kiss Wordpress Database Error Goodbye...! | Home
Pingback: My Top Ten WordPress Plugins : A Few Thoughts
Pingback: Das Wort zum Sonntag : QuerFormat
Pingback: links for 2007-10-07 « BlueLion???
Pingback: Multi-line AdRotator for Wordpress | acoenoc.com
Pingback: links for 2007-10-07 | BlueLion???
Pingback: Daiko’s Text Widget - Micro update at Daikos.Net
Pingback: Acoenoc.com’s list of Wordpress plug-ins and widgets | acoenoc.com
Thank you very much.
It works fine!
Pingback: ExecPHP Widget på dansk på Kald det en blog hvis du vil
Pingback: Essential Plugins for your Blog - Part4 (Misc)
Pingback: Finally Transferred Over! | Josh Dockery - My Journey to Make Money Online
Pingback: Complete List of OMB WordPress Plugins - One Mans Blog
I wish I had this plugin sooner for one of my clients! Thanks a lot for doing all this work Otto! Great plugin, works as advertised.
I’m having a problem with IE7/Opera and the Exec-PHP (4.2) plugin on latest wordpress 2.3.1. In firefox, it works gloriously. In IE7 and Opera, however, if anything is BELOW the widget containing the php code, the alignment goes to hell and everything is screwy. Im using the cutline 3.1 theme and the widget in question is Star Ratings for Reviews 0.4.
The workaround is to put the Exec-PHP widget as the last widget on the sidebar, but obviously in this case that’s not where I want it to be. =)
I’ve seen you state that it’s the PHP code, but I imagine I dont get why it would work in firefox then. Of course it’s a superior browser, but.. heh.
Thanks for all your hard work! Let me know if you have any ideas.
Without knowing the specific PHP code you’re putting in the widget, I cannot tell you what the problem is. However, it’s absolutely certain that it’s the code you’re putting into the widget. The ExecPHP widget is like the Text widget: by itself, it does absolutely nothing. It’s just a container for your own code.
I suggest running your site through the W3C validator. If your code is valid, it will likely show up correctly in all browsers. If your code is invalid, then it won’t. That’s sort of the point of validation.
Pingback: » Extending WordPress - Plugins Used Hallo World!: Just another WordPress weblog
Pingback: How to use WordPress 2.3 built-in tags | Timberline Employee Blog
Pingback: WordPress Plug-ins I Use And Why | Thom Allen Weblog
Pingback: Executable PHP widget | Internet Money Howto's Guides and Techniques
Pingback: WordPress World: 100+ WordPress plugins, articles and resources | Stalkk.ed
Pingback: Plugin Weekly (05/12/07) « BlozanGa
Thanks, i just used this plugin.
Pingback: Making Money Online, Newbie Facts And Figures, Part 4 | Bare Fly.com
Pingback: Random post with image on sidebar - Entity11.com
Yes, having the same problem as Chewru Guru with 2.3.1 wordpress…. any ideas??? I’ve used this plugin for many other sites with older versions of wp just fine.
Brooke: The plugin works perfectly well with 2.3.1, there’s nothing wrong with it. You need to understand that by itself, the PHP widget does nothing of importance. Any code that is created on your page is created by the PHP you put into the widget. If it’s broken, then either your code is broken or the theme is broken.
Otto: Bruce was having a problem with “permissions” with widgets.php. I had a similar problem stating “Method not implemented – POST to /wp-admin/widgets.php”. I suspect others are having similar problems.
The problem was that the “ModSecurity” module in Apache was detecting what it though was a “PHP Injection Attack” when posting (submitting) the php code in your widget. (Normally you would not want a visitor to your website to post php code that would be executed.)
My (crappy) solution was to turn off (comment out) that part (2 lines) of the modsecurity, submit the php widget, then re-enable the modsecurity. It means you have to have access to your Apache config while making changes to the php widget code, OR you need to permanently disable the modsecurity — NOT a good idea!
But if you don’t update the PHP widget code very often, temporarily disabling the modsecurity while submitting the code works okay.
A possible work-around: Do as described above to submit a php code widget that is simply a PHP include command. Then modify the separate php file using FTP, vi, or whatever appropriate tools you have.
Otherwise, after a little digging through error logs and other messing around, the widget works as advertised. THANKS!
Pingback: random threads » Blog Archive » fixed…
Hello Otto,
Excellent plugin. Thanks a lot for that, since i needed it to get the just-as-excellent wp-ajax-newsletter plugin to work (http://code.google.com/p/wp-ajax-newsletter/). One question though: you refer to some safety problem, although you don’t explain this. What’s the danger of using the plugin? For your information: it works at my site, so there’s no problem to be solved. Just curious.
Pingback: ?????????? Wordpress 2.3 ? Tags ?? | hostmonster?????
Pingback: Anime Diet » A New Year Deserves New Site Enhancements
I too had the problem with the code messing up in IE. It was not a php code problem. In the plugin file I had to add a right after the div class execphpwidget. Now everything works beautifully in IE.
I knew it wasn’t the code because all of the various codes I tried from half a different plugins messed up the sidebar. 6 plugin writers couldn’t write php code snippets that poorly in my opinion.
Glad it’s fixed. Hope this works for someone else!
AllyAnderson: No, I’m sorry, but there is no problem whatsoever with the PHP Code widget. The exephpwidget DIV is coded correctly, and everything inside that DIV is generated by the PHP code that you type into the widget!
Pingback: Show Comment Love! : Blog Zenith
@myself
Ok, nothing to do with execphp. Why this confusion ? Because the problem occured when i activated execphp … If you have a dispaly problem with IE (or any other browser but Firefox seems less touchy) when adding a widget with a plugin, you should test adding a built-in wordpress widget at the same place … Correlation is not causality, old story … ;o) Thanks for your time.
Pingback: Enhanced Links_Wordpress plugin
Pingback: Shylock Adsense Plugin - Hack To Avoid Smart Pricing | More Than Scratch The Surface
Pingback: Spontaneous Derivation » Moving from Beta Blogger to a Self-Hosted Wordpress for First-Timers, Part 3: Plugins and Little Things
Cheers Otto! Fantastic! I had problems getting WordTube to work as a widget (wanted multiple songs listed, not just one), and couldn’t get the multi-version to go into a sidebox. Your widget did the trick
Now I just have to figure out why anything under the widget is way out of alignment (like off the bottom).
Cheers!
ok, I’m just a goober at this, so here is a link to the code http://www.thecosmeticcounter.com/code.txt
If the function is coming up as undefined like that, then either the other plugin is not activated, or it’s misspelled…
Pingback: Movable Type to WordPress | Mostly Harmless
Pingback: wehuberconsultingllc.com » Features News » Redesigning this web site to use WordPress
Thanks, I had no clue a plugin like execphp existed but have wished one did for quite some time now.
OMG thanks soooo much!!
I’ve been trying to find a plugin like this for days now
thanks soooo much for this great plugin
Pingback: Les plugins Wordpress que vous devez avoir » Business Attitude - Cédric Annicette - ingénieur EPMI
Pingback: Endless Sonata » Blog Archive » Creating Multiple Widget Sidebars
Pingback: WordPress 2.5 : Broken Plugins at STCFX - Web Everything
Awesome script, thank you for the resource…perfect size!
Pingback: Mise en place des conseils de John Chow | Scan-X’s Blog [french]
Pingback: Shylock Adsense Plugin - Hack To Avoid Smart Pricing | The Coupon Cruncher
Pingback: How to Decide Where to Put Widgets on Your Blog | Stephan Miller
Pingback: PopDo’s Blog » Blog Archive » WordPress 2.x Plugins - Show Top Commentators
http://codex.wordpress.org/Plugins/Plugin_Compatibility/2.5 says this plugin is not compatible with 2.5, do you plan to update it?
That is a great plug in. It is working perfect. I am using it to get the latest posts from my phpBB forum. However, I had to re-install the forum and the widget went crazy. I cannot access my php code in the widget as the code corrupted my widget section in the admin panel. Is there a .php file where my code I entered in the widget is stored, so that I can edit it. As I have no more access to the widget/code from WP-Admin. I can deactivate the plug-in an all is working again but I would like to use it. I tried to override the execphp with a fresh file but the plugin still remembers my code. Where can I edit it ?
Hi Otto,
I was looking for a plugin that does exactly what yours does. My problem is, i have activated it already, but how and where do i put the adsense code? sorry i’m really new at this, hope you could help so I could put up the adsense on the right side of my site. Thanks for your help Otto.
If I want to use php code widget with a theme that is not widget-aware, what should I do? Thanks
Awesome widget! Exactly what I needed. Thanks so much.
i just downloads the adsense widget and upload to specific folder, activate it…
but
at the widgets layout page, its appears a blank widget, with no title…
i am using latest upgraded wp 2.6.2
any guide?
The adsense widget is way out of date and should not be used any more. Use a standard text widget instead, or one of the wonderful plugins for adsense over at http://wordpress.org/extend.
Pingback: Wordpressの人気ランキング表示プラグイン「WP-PostViews」 - Nakamori Report
Great! thanks a lot!
Wow! this is really awesome!