Changeset 3157820
- Timestamp:
- 09/25/2024 09:38:10 PM (17 months ago)
- Location:
- flexmls-idx/trunk
- Files:
-
- 5 edited
-
README.txt (modified) (2 diffs)
-
flexmls_connect.php (modified) (2 diffs)
-
lib/flexmlsAPI/Core.php (modified) (1 diff)
-
pages/listing-details.php (modified) (2 diffs)
-
views/v2/fmcListingDetails.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
flexmls-idx/trunk/README.txt
r3154099 r3157820 5 5 Tested up to: 6.7 6 6 Requires PHP: 7.4 7 Stable tag: 3.14.2 17 Stable tag: 3.14.22 8 8 9 9 Add Flexmls® IDX listings, market statistics, IDX searches, and a contact form on your web site. … … 86 86 87 87 == Changelog == 88 = 3.14.22 = 89 Efficiency Update 90 * Resolved Listing Detail Photo Slider Opening/Closing Animation 91 * Resolved Meta Description Not Printing on Listing Detail Pages 92 88 93 = 3.14.21 = 89 94 Efficiency Update -
flexmls-idx/trunk/flexmls_connect.php
r3154099 r3157820 6 6 Description: Provides Flexmls® Customers with Flexmls® IDX features on their WordPress websites. <strong>Tips:</strong> <a href="admin.php?page=fmc_admin_settings">Activate your Flexmls® IDX plugin</a> on the settings page; <a href="widgets.php">add widgets to your sidebar</a> using the Widgets Admin under Appearance; and include widgets on your posts or pages using the Flexmls® IDX Widget Short-Code Generator on the Visual page editor. 7 7 Author: FBS 8 Version: 3.14.2 18 Version: 3.14.22 9 9 Author URI: https://www.flexmls.com 10 10 Requires at least: 5.0 … … 17 17 const FMC_API_BASE = 'sparkapi.com'; 18 18 const FMC_API_VERSION = 'v1'; 19 const FMC_PLUGIN_VERSION = '3.14.2 1';19 const FMC_PLUGIN_VERSION = '3.14.22'; 20 20 21 21 define( 'FMC_PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); -
flexmls-idx/trunk/lib/flexmlsAPI/Core.php
r3154099 r3157820 44 44 'Accept-Encoding' => "gzip,deflate", 45 45 'Content-Type' => "application/json", 46 'User-Agent' => "FlexMLS WordPress Plugin/3.14.2 1",47 'X-SparkApi-User-Agent' => "flexmls-WordPress-Plugin/3.14.2 1"46 'User-Agent' => "FlexMLS WordPress Plugin/3.14.22", 47 'X-SparkApi-User-Agent' => "flexmls-WordPress-Plugin/3.14.22" 48 48 ); 49 49 -
flexmls-idx/trunk/pages/listing-details.php
r3154099 r3157820 17 17 add_filter( 'wpseo_canonical', array( $this, 'wpseo_canonical' ), 0 ); 18 18 add_filter( 'wp_robots', array($this, 'wp_robots_noindex_listing'), 0 ); 19 19 20 add_action('wp_head', array($this, 'wp_meta_description_tag'), 0 ); 20 21 add_action('wp_head', array($this, 'open_graph_tags'), 0 ); 21 22 … … 757 758 } 758 759 760 function wp_meta_description_tag() { 761 762 $description = isset($this->listing_data['StandardFields']['PublicRemarks']) ? $this->listing_data['StandardFields']['PublicRemarks'] : get_bloginfo('description'); 763 764 echo "<meta name='description' content='" . substr($description, 0, 160) . "'>"; 765 766 } 767 759 768 function wp_robots_noindex_listing($robots) { 760 769 -
flexmls-idx/trunk/views/v2/fmcListingDetails.php
r3154099 r3157820 86 86 <?php endif; ?> 87 87 88 <img src="<?php echo esc_url( $p['UriLarge'] ); ?>" loading="lazy" />88 <img class="owl-lazy" data-src="<?php echo esc_url( $p['UriLarge'] ); ?>" /> 89 89 <?php endforeach; ?> 90 90 </div> … … 94 94 jQuery('#listing-slideshow').owlCarousel( 95 95 { 96 lazyLoad: true, 96 97 autoHeight: true, 97 98 nav: true,
Note: See TracChangeset
for help on using the changeset viewer.