From 8c3de90e46576ab4cb04c91aa186def3fdd4d0ad Mon Sep 17 00:00:00 2001 From: Andre Bulatov Date: Sat, 6 Feb 2016 17:05:40 -0500 Subject: [PATCH] FIXED hAtom errors in Ultimate Posts Widget MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. Update standard.php in “Ultimate Posts Widget” `/wp-content//plugins/` folder and copy it 2. Upload updated custom template file from with fixed hAtom markup file (i.e., missing `class=“date updated”`) from #1 above, to /wp-content/themes/[your-site-theme]/upw 3. In WordPress backend, go to “Appearance > Widgets” and open the UPW widget 4. Go to second tab of widget and select custom template and use the name without the *.php extension --- wp-content/themes/mag-wp/upw/custom-dre.php | 130 ++++++++++++++++++++ 1 file changed, 130 insertions(+) create mode 100644 wp-content/themes/mag-wp/upw/custom-dre.php diff --git a/wp-content/themes/mag-wp/upw/custom-dre.php b/wp-content/themes/mag-wp/upw/custom-dre.php new file mode 100644 index 0000000..047eee8 --- /dev/null +++ b/wp-content/themes/mag-wp/upw/custom-dre.php @@ -0,0 +1,130 @@ + + +
+ +
+ +
+ have_posts()) : ?> + have_posts()) : $upw_query->the_post(); ?> + ID == $current_post_id && is_single()) ? 'active' : ''; ?> +
> +
+ +
+ + + +
+ + +

+ + + +

+ + + + +
+ +
+

+ + + + +

+
+ +
+ +
+ +
+ ID, 'category', '', ', '); + if ($instance['show_cats'] && $categories) : + ?> +
+ : + +
+ + ID, 'post_tag', '', ', '); + if ($instance['show_tags'] && $tags) : + ?> + + + + +
+ ID, $name, true); + if ($custom_field_values) : ?> +
+ +
+ +
+ +
+
+ + +

+ +

+ +
+ +
+ +
+ \ No newline at end of file