Changeset 2237730
- Timestamp:
- 02/03/2020 03:27:12 PM (6 years ago)
- Location:
- yes-co-ores-wordpress-plugin/trunk
- Files:
-
- 5 edited
-
includes/config/config.php (modified) (1 diff)
-
includes/yog_public_functions.php (modified) (1 diff)
-
package.json (modified) (1 diff)
-
readme.txt (modified) (1 diff)
-
yesco-og.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
yes-co-ores-wordpress-plugin/trunk/includes/config/config.php
r2224842 r2237730 21 21 define('YOG_POST_TYPE_ATTACHMENT', 'attachment'); 22 22 23 define('YOG_PLUGIN_VERSION', '1.3.6 0');23 define('YOG_PLUGIN_VERSION', '1.3.61'); 24 24 define('YOG_PLUGIN_DOJO_VERSION', '1.12.2'); // Old 1.9.3 25 25 ?> -
yes-co-ores-wordpress-plugin/trunk/includes/yog_public_functions.php
r2215165 r2237730 1743 1743 function yog_generateMhzFavoritsWidget($postId = null) 1744 1744 { 1745 if (is_null($postId)) 1746 $postId = get_the_ID(); 1747 else 1748 $postId = (int) $postId; 1749 1750 $postType = get_post_type($postId); 1751 if ($postType === YOG_POST_TYPE_WONEN) 1745 $hmzApiKey = get_option('yog_mijnhuiszaken_api_key'); 1746 1747 if (!empty($hmzApiKey)) 1752 1748 { 1753 $zipcode = get_post_meta($postId, $postType . '_Postcode', true); 1754 $houseNumber = get_post_meta($postId, $postType . '_HuisnummerNumeriek', true); 1755 $houseNumberAddition = get_post_meta($postId, $postType . '_HuisnummerToevoeging', true); 1756 1757 if (!empty($zipcode) && !empty($houseNumber) && $houseNumber !== '0') 1758 return '<div class="mhz-widget-favorite" data-mhz-zipcode="' . $zipcode . '" data-mhz-housenumber="' . $houseNumber . '"' . (!empty($houseNumberAddition) ? ' data-mhz-housenumber-addition="' . $houseNumberAddition . '"' : '') . '></div>'; 1749 if (is_null($postId)) 1750 $postId = get_the_ID(); 1751 else 1752 $postId = (int) $postId; 1753 1754 $postType = get_post_type($postId); 1755 if ($postType === YOG_POST_TYPE_WONEN) 1756 { 1757 $zipcode = get_post_meta($postId, $postType . '_Postcode', true); 1758 $houseNumber = get_post_meta($postId, $postType . '_HuisnummerNumeriek', true); 1759 $houseNumberAddition = get_post_meta($postId, $postType . '_HuisnummerToevoeging', true); 1760 1761 if (!empty($zipcode) && !empty($houseNumber) && $houseNumber !== '0') 1762 return '<div class="mhz-widget-favorite" data-mhz-zipcode="' . $zipcode . '" data-mhz-housenumber="' . $houseNumber . '"' . (!empty($houseNumberAddition) ? ' data-mhz-housenumber-addition="' . $houseNumberAddition . '"' : '') . '></div>'; 1763 } 1759 1764 } 1760 1765 } -
yes-co-ores-wordpress-plugin/trunk/package.json
r2224842 r2237730 1 1 { 2 2 "name": "yesco-ores", 3 "version": "1.3.6 0",3 "version": "1.3.61", 4 4 "devDependencies": { 5 5 "grunt": "~1.0.3", -
yes-co-ores-wordpress-plugin/trunk/readme.txt
r2224907 r2237730 4 4 Requires at least: 3.1 5 5 Tested up to: 5.2.4 6 Stable tag: 1.3.6 06 Stable tag: 1.3.61 7 7 8 8 Directly post real estate objects from your Yes-co system to your wordpress blog with the Yes-co Open Real Estate System (Yes-co ORES) Plugin. -
yes-co-ores-wordpress-plugin/trunk/yesco-og.php
r2224842 r2237730 5 5 Text Domain: yes-co-ores-wordpress-plugin 6 6 Description: Publiceert uw onroerend goed op uw Wordpress Blog 7 Version: 1.3.6 07 Version: 1.3.61 8 8 Author: Yes-co 9 9 Author URI: https://www.yes-co.nl
Note: See TracChangeset
for help on using the changeset viewer.