Hi, I also (think) I just want to execute a little bit of php code within a widget, and your widget seemed like the perfect thing.
I’m trying to make a very simple thing, essentially a post counter saying “Now with 400 posts.” Your plugin in combination with the wp_count_posts function seemed to be the perfect thing. I installed the plugin, added the Widget to the appropriate sidebar, and pasted the following in after my plain text-
<?php
$count_posts = wp_count_posts();
?>
I thought that code would then return a number of posts, but it just leaves a blank space. I freely admit to being a relative novice, and feel like I’m missing something pretty obvious. Any help would be great. Thanks.