How to limit characters in Academica featured posts widget?

I am guessing that this is the theme you are talking about. If so, I don’t see any specialized filters that would let you alter the character count of the excerpt. The widget does use get_the_excerpt() so you should be able to alter the character count with Core filters though. function excerpt_trim_cb_wpse_114219($excerpt) { remove_filter(‘wp_trim_excerpt’,’excerpt_trim_cb_wpse_114219′,1000); return … Read more

customize footer widgets area

CSS is a better way to go. Use a different class for the first two widgets than those that follow, so you can position them each where you want them. Float, width, and possibly min / max-width should be all you need to get this working. If every widget is floating left, and the first … Read more

Can I use widgets & shortcode if I need to return an array?

I think that your proposed solution, or plan of attack, is far more complicated than it needs to be. You can use a static variable to manage this. Proof of concept: function shortcode_with_static_data($atts,$content) { static $ids; $ids[] = time(); var_dump($ids); // you should return a string not dump data in a real shortcode } add_shortcode(‘scwsc’,’shortcode_with_static_data’); … Read more

Banner editable from backend

Is there perhaps an easier solution than programming it all myself? Download the Black Studio TinyMCE Widget plugin from http://wordpress.org/plugins/black-studio-tinymce-widget/. Activate the plugin and drag and drop the Black Studio TinyMCE widget in your desired sidebar. Works great and tested with WordPress 3.6.1. Picture taken from the plugin’s screenshots.

conditional tags for the output of a plugin

You code is not wrong, probably the only problem is that you are using is_home() when you need is_front_page. However, just for a tip, I want show how your code can be semplified a lot: class donor_pdf_plugin extends WP_Widget { static $fields = array(); // Constructor function donor_pdf_plugin() { self::$fields = array( ‘link’ => __(‘Menu … Read more

How to show a feed that requires user/pass within a sidebar widget?

There is a solution as described here where you can put code at the top of wp-includes/feed-rss2.php to authenticate that the requester is a registered WordPress user. A better solution is to add it to your theme’s functions.php file: function my_check_feed_auth() { if (!isset($_SERVER[‘PHP_AUTH_USER’])) { header(‘WWW-Authenticate: Basic realm=”RSS Feeds”‘); header(‘HTTP/1.0 401 Unauthorized’); echo ‘Feeds from … Read more