WP Show Posts - Version 0.5

Version Description

  • Fix conflict with Yoast SEO causing taxonomy and terms fields to be blank
  • Add support for translations
Download this release

Release Info

Developer edge22
Plugin Icon 128x128 WP Show Posts
Version 0.5
Comparing to
See all releases

Code changes from version 0.4 to 0.5

Files changed (3) hide show
  1. admin/post-type.php +1 -1
  2. readme.txt +9 -1
  3. wp-show-posts.php +15 -2
admin/post-type.php CHANGED
@@ -39,7 +39,7 @@ function wp_show_posts_type() {
39
  'labels' => $labels,
40
  'supports' => array( 'title' ),
41
  'hierarchical' => false,
42
- 'public' => true,
43
  'show_ui' => true,
44
  'show_in_menu' => true,
45
  'menu_position' => 5,
39
  'labels' => $labels,
40
  'supports' => array( 'title' ),
41
  'hierarchical' => false,
42
+ 'public' => false,
43
  'show_ui' => true,
44
  'show_in_menu' => true,
45
  'menu_position' => 5,
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://wpshowposts.com
4
  Tags: show posts, display posts shortcode, portfolio, gallery, post columns
5
  Requires at least: 4.0
6
  Tested up to: 4.6
7
- Stable tag: 0.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -147,6 +147,10 @@ In most cases, #1 will work fine and is way easier.
147
 
148
  == Changelog ==
149
 
 
 
 
 
150
  = 0.4 =
151
  * Fix column width issue when content is disabled
152
  * Fix pagination issue when post list is on the front page
@@ -171,6 +175,10 @@ In most cases, #1 will work fine and is way easier.
171
 
172
  == Upgrade Notice ==
173
 
 
 
 
 
174
  = 0.4 =
175
  * Fix column width issue when content is disabled
176
  * Fix pagination issue when post list is on the front page
4
  Tags: show posts, display posts shortcode, portfolio, gallery, post columns
5
  Requires at least: 4.0
6
  Tested up to: 4.6
7
+ Stable tag: 0.5
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
147
 
148
  == Changelog ==
149
 
150
+ = 0.5 =
151
+ * Fix conflict with Yoast SEO causing taxonomy and terms fields to be blank
152
+ * Add support for translations
153
+
154
  = 0.4 =
155
  * Fix column width issue when content is disabled
156
  * Fix pagination issue when post list is on the front page
175
 
176
  == Upgrade Notice ==
177
 
178
+ = 0.5 =
179
+ * Fix conflict with Yoast SEO causing taxonomy and terms fields to be blank
180
+ * Add support for translations
181
+
182
  = 0.4 =
183
  * Fix column width issue when content is disabled
184
  * Fix pagination issue when post list is on the front page
wp-show-posts.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: WP Show Posts
4
  Plugin URI: https://wpshowposts.com
5
  Description: WP Show Posts allows you to list posts (from any post type) anywhere on your site. This includes WooCommerce products or any other post type you might have! Check out the pro version for even more features at https://wpshowposts.com.
6
- Version: 0.4
7
  Author: Tom Usborne
8
  Author URI: https://tomusborne.com
9
  License: GNU General Public License v2 or later
@@ -12,7 +12,7 @@ Text Domain: wp-show-posts
12
  */
13
 
14
  // Define the current version
15
- define( 'WPSP_VERSION', 0.4 );
16
 
17
  // Add defaults
18
  require_once trailingslashit( plugin_dir_path( __FILE__ ) ) . 'inc/defaults.php';
@@ -35,6 +35,19 @@ require_once trailingslashit( plugin_dir_path( __FILE__ ) ) . 'inc/functions.php
35
  // Add admin functions
36
  require_once trailingslashit( plugin_dir_path( __FILE__ ) ) . 'admin/admin.php';
37
 
 
 
 
 
 
 
 
 
 
 
 
 
 
38
  if ( ! function_exists( 'wpsp_get_min_suffix' ) ) :
39
  /**
40
  * Figure out if we should use minified scripts or not
3
  Plugin Name: WP Show Posts
4
  Plugin URI: https://wpshowposts.com
5
  Description: WP Show Posts allows you to list posts (from any post type) anywhere on your site. This includes WooCommerce products or any other post type you might have! Check out the pro version for even more features at https://wpshowposts.com.
6
+ Version: 0.5
7
  Author: Tom Usborne
8
  Author URI: https://tomusborne.com
9
  License: GNU General Public License v2 or later
12
  */
13
 
14
  // Define the current version
15
+ define( 'WPSP_VERSION', 0.5 );
16
 
17
  // Add defaults
18
  require_once trailingslashit( plugin_dir_path( __FILE__ ) ) . 'inc/defaults.php';
35
  // Add admin functions
36
  require_once trailingslashit( plugin_dir_path( __FILE__ ) ) . 'admin/admin.php';
37
 
38
+ if ( ! function_exists( 'wpsp_load_textdomain' ) ) :
39
+ /**
40
+ * Load plugin textdomain.
41
+ *
42
+ * @since 0.5
43
+ */
44
+ add_action( 'plugins_loaded', 'wpsp_load_textdomain' );
45
+ function wpsp_load_textdomain()
46
+ {
47
+ load_plugin_textdomain( 'wp-show-posts' );
48
+ }
49
+ endif;
50
+
51
  if ( ! function_exists( 'wpsp_get_min_suffix' ) ) :
52
  /**
53
  * Figure out if we should use minified scripts or not