Essential Content Types - Version 1.1

Version Description

  • Removed: Unnecessary code hiding menu price in Food Menu CPT
Download this release

Release Info

Developer catchthemes
Plugin Icon Essential Content Types
Version 1.1
Comparing to
See all releases

Code changes from version 1.0.9 to 1.1

README.txt CHANGED
@@ -195,6 +195,9 @@ Not so easy way (via FTP) :
195
 
196
  == Changelog ==
197
 
 
 
 
198
  = 1.0.9 =
199
  * Added: CPT-Food Menu Items
200
  * Compatibility check up to version 4.9.4
195
 
196
  == Changelog ==
197
 
198
+ = 1.1 =
199
+ * Removed: Unnecessary code hiding menu price in Food Menu CPT
200
+
201
  = 1.0.9 =
202
  * Added: CPT-Food Menu Items
203
  * Compatibility check up to version 4.9.4
admin/class-food-menu.php CHANGED
@@ -1289,8 +1289,8 @@ class Essential_Content_Food_Menu {
1289
  }
1290
 
1291
  /**
1292
- * Our [portfolio] shortcode.
1293
- * Prints Portfolio data styled to look good on *any* theme.
1294
  *
1295
  * @return ect_food_shortcode_html
1296
  */
@@ -1320,7 +1320,7 @@ class Essential_Content_Food_Menu {
1320
  }
1321
 
1322
  /**
1323
- * Query to retrieve entries from the Portfolio post_type.
1324
  *
1325
  * @return object
1326
  */
@@ -1365,7 +1365,7 @@ class Essential_Content_Food_Menu {
1365
  }
1366
 
1367
  /**
1368
- * The Portfolio shortcode loop.
1369
  *
1370
  * @todo add theme color styles
1371
  * @return html
@@ -1407,16 +1407,9 @@ class Essential_Content_Food_Menu {
1407
  </div>
1408
  </div>
1409
 
1410
- <?php
1411
-
1412
- $type = get_theme_mod( 'foodie_world_food_menu_type', 'demo' );
1413
-
1414
- if ( 'cpt' === $type ) :
1415
- ?>
1416
  <div class="entry-price">
1417
  <p class="item-price"><?php echo esc_html( get_post_meta( get_the_ID(), 'ect_food_price', true ) ); ?></p>
1418
  </div>
1419
- <?php endif; ?>
1420
  </div>
1421
  </div><!-- .hentry-inner -->
1422
  </article><!-- .hentry -->
1289
  }
1290
 
1291
  /**
1292
+ * Our [food_menu] shortcode.
1293
+ * Prints Food Menu data styled to look good on *any* theme.
1294
  *
1295
  * @return ect_food_shortcode_html
1296
  */
1320
  }
1321
 
1322
  /**
1323
+ * Query to retrieve entries from the Food Menu post_type.
1324
  *
1325
  * @return object
1326
  */
1365
  }
1366
 
1367
  /**
1368
+ * The Food Menu shortcode loop.
1369
  *
1370
  * @todo add theme color styles
1371
  * @return html
1407
  </div>
1408
  </div>
1409
 
 
 
 
 
 
 
1410
  <div class="entry-price">
1411
  <p class="item-price"><?php echo esc_html( get_post_meta( get_the_ID(), 'ect_food_price', true ) ); ?></p>
1412
  </div>
 
1413
  </div>
1414
  </div><!-- .hentry-inner -->
1415
  </article><!-- .hentry -->
admin/partials/other-products.php CHANGED
@@ -30,13 +30,13 @@
30
 
31
  <div id="module-premium-plugins" class="catch-modules">
32
  <div class="module-content">
33
- <a class="modules-thumbnail" href="https://catchthemes.com/wp-plugins/" target="_blank" title="<?php esc_attr_e( 'View Plugins', 'essential-content-types' ); ?>">
34
  <img src="<?php echo esc_url( plugins_url( 'images/free-plugins.jpg', dirname(__FILE__) ) ) ; ?>" alt="<?php esc_attr_e( 'Free Plugins', 'essential-content-types' ); ?>" title ="<?php esc_attr_e( 'Free Plugins', 'essential-content-types' ); ?>">
35
  </a>
36
 
37
- <a class="modules-link" href="https://catchthemes.com/wp-plugins/" target="_blank" title="<?php esc_attr_e( 'View Free Plugins', 'essential-content-types' ); ?>"><?php esc_html_e( 'Free Plugins', 'essential-content-types' ); ?></a>
38
 
39
- <a class="more-details" href="https://catchthemes.com/wp-plugins/" target="_blank"><?php esc_html_e( 'View Plugins', 'essential-content-types' ); ?></a>
40
  </div>
41
  </div><!-- #module-free-plugins -->
42
 
30
 
31
  <div id="module-premium-plugins" class="catch-modules">
32
  <div class="module-content">
33
+ <a class="modules-thumbnail" href="https://catchthemes.com/plugins/" target="_blank" title="<?php esc_attr_e( 'View Plugins', 'essential-content-types' ); ?>">
34
  <img src="<?php echo esc_url( plugins_url( 'images/free-plugins.jpg', dirname(__FILE__) ) ) ; ?>" alt="<?php esc_attr_e( 'Free Plugins', 'essential-content-types' ); ?>" title ="<?php esc_attr_e( 'Free Plugins', 'essential-content-types' ); ?>">
35
  </a>
36
 
37
+ <a class="modules-link" href="https://catchthemes.com/plugins/" target="_blank" title="<?php esc_attr_e( 'View Free Plugins', 'essential-content-types' ); ?>"><?php esc_html_e( 'Free Plugins', 'essential-content-types' ); ?></a>
38
 
39
+ <a class="more-details" href="https://catchthemes.com/plugins/" target="_blank"><?php esc_html_e( 'View Plugins', 'essential-content-types' ); ?></a>
40
  </div>
41
  </div><!-- #module-free-plugins -->
42
 
essential-content-types.php CHANGED
@@ -14,9 +14,9 @@
14
  *
15
  * @wordpress-plugin
16
  * Plugin Name: Essential Content Types
17
- * Plugin URI: https://catchthemes.com/wp-plugins/essential-content-types/
18
  * Description: Essential Content Types allows you to feature the impressive content through different content/post types on your website just the way you want it. These content/post types are missed by the themes in WordPress Theme Directory as the feature falls more towards the plugins’ territory.
19
- * Version: 1.0.9
20
  * Author: Catch Themes
21
  * Author URI: https://catchthemes.com
22
  * License: GPL-3.0+
14
  *
15
  * @wordpress-plugin
16
  * Plugin Name: Essential Content Types
17
+ * Plugin URI: https://catchthemes.com/plugins/essential-content-types/
18
  * Description: Essential Content Types allows you to feature the impressive content through different content/post types on your website just the way you want it. These content/post types are missed by the themes in WordPress Theme Directory as the feature falls more towards the plugins’ territory.
19
+ * Version: 1.1
20
  * Author: Catch Themes
21
  * Author URI: https://catchthemes.com
22
  * License: GPL-3.0+
includes/class-essential-content-types.php CHANGED
@@ -69,7 +69,7 @@ class Essential_Content_Types {
69
  public function __construct() {
70
 
71
  $this->plugin_name = 'essential-content-types';
72
- $this->version = '1.0.9';
73
 
74
  $this->load_dependencies();
75
  $this->set_locale();
69
  public function __construct() {
70
 
71
  $this->plugin_name = 'essential-content-types';
72
+ $this->version = '1.1';
73
 
74
  $this->load_dependencies();
75
  $this->set_locale();
languages/essential-content-types.pot CHANGED
@@ -5,7 +5,7 @@ msgid ""
5
  msgstr ""
6
  "Project-Id-Version: Essential Content Types\n"
7
  "Report-Msgid-Bugs-To: https://wordpress.org/tags/_s\n"
8
- "POT-Creation-Date: 2018-03-06 15:03+0545\n"
9
  "PO-Revision-Date: 2016-12-12 09:23-0500\n"
10
  "Last-Translator: Sakin Shrestha <info@catchthemes.com>\n"
11
  "Language-Team: Catch Themes <info@catchthemes.com>\n"
@@ -657,7 +657,7 @@ msgstr ""
657
  msgid "No Labels"
658
  msgstr ""
659
 
660
- #: ../admin/class-food-menu.php:1436
661
  msgid ""
662
  "Your Food Menu Archive currently has no entries. You can start creating "
663
  "them on your dashboard."
5
  msgstr ""
6
  "Project-Id-Version: Essential Content Types\n"
7
  "Report-Msgid-Bugs-To: https://wordpress.org/tags/_s\n"
8
+ "POT-Creation-Date: 2018-03-29 22:37+0545\n"
9
  "PO-Revision-Date: 2016-12-12 09:23-0500\n"
10
  "Last-Translator: Sakin Shrestha <info@catchthemes.com>\n"
11
  "Language-Team: Catch Themes <info@catchthemes.com>\n"
657
  msgid "No Labels"
658
  msgstr ""
659
 
660
+ #: ../admin/class-food-menu.php:1429
661
  msgid ""
662
  "Your Food Menu Archive currently has no entries. You can start creating "
663
  "them on your dashboard."