The ultimate widget for displaying posts, custom post types or sticky posts with an array of options.
upw_enqueue_styles (boolean) Allows changing whether to load the template CSS file(s).
upw_wp_query_args (array) Allows changing the WP_Query arguments for the widget.
upw_custom_template_path (string) Allows changing the default custom template path.
legacy As of version 2.0.0 we changed the widget HTML markup. For installs prior to 2.0.0 you can use the legacy template to retain the old HTML markup and compatibility.
standard The new standard template as of version 2.0.0. It features better HTML5 markup, improved styling on various themes without the need for custom CSS, and hfeed microformat.
As of version 2.0.0 you can now provide your own custom template files. To do this, create a directory named
upw in your theme and copy a template from the plugin's
templates directory. Edit as needed.
Then, in the widget settings under the Display tab, choose Custom from the Template drop down. In the Custom Template Name field that appears and enter the file name of your template (excluding .php). For example, if your template is named
custom.php then enter
custom in the Custom Template Name field.
As of version 2.0.0, the plugin no longer supports setting custom image sizes from the widget options panel.
To change image sizes you can either edit the built-in sizes (thumbnail, medium, and large) or define a custom image size in your theme
Edit built-in image sizes: Go to Settings > Media and change the image sizes as desired. Once image sizes are changed you will need to regenerate thumbnails to update any existing images. This can be done with AJAX Thumbnail Rebuild or Regenerate Thumbnails plugins. Note that this will affect image sizes for the entire site.
Define a custom image size: Edit your
functions.php file and add a new image size with the
add_image_size function. See the WordPress codex for documentation. Once the function is added, your custom size will be available to select from the widget options. Like editing a built-in size, you will need to regenerate thumbnails for existing images.
<?php add_image_size( 'my-custom-size', 800, 600, false ); ?>
As of version 2.0.0 timthumb is no longer used.
This plugin uses the timthumb library to resize post thumbnails. Please review these requirements and troubleshooting tips if you are having problems displaying thumbnails.
wp-content/plugins/ultimate-posts-widget/cacheshould be set to 777 or if that doesn't work, you may find 755 is ok.
thumb.phpto support larger image sizes.
Still stuck? See additional troubleshooting tips from the timthumb author.
Requires: 3.5 or higher
Compatible up to: 4.3.5
Last Updated: 12 months ago
Active Installs: 30,000+
0 of 4 support threads in the last two months have been marked resolved.
Got something to say? Need help?