Changeset 357148
- Timestamp:
- 11/04/2026 08:45:48 AM (23 hours ago)
- Location:
- real-estate-developer/0.5.8
- Files:
-
- 4 added
- 8 edited
- 1 copied
-
. (copied) (copied from real-estate-developer/0.5.7 )
-
functions.php (modified) (2 diffs)
-
inc/getstart/crawlhunt-banner.php (added)
-
inc/getstart/demo-content.php (modified) (3 diffs)
-
inc/getstart/getstart.css (modified) (1 diff)
-
inc/getstart/getstart.php (modified) (1 diff)
-
inc/getstart/images/crawl-bullets.png (added)
-
inc/getstart/images/crawlhunt-img.png (added)
-
inc/getstart/images/logo-full-sm.png (added)
-
inc/tgm/class-tgm-plugin-activation.php (modified) (1 diff)
-
inc/tgm/tgm.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
style.css (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
real-estate-developer/0.5.8/functions.php
r355062 r357148 223 223 $font_family = array( 224 224 'ABeeZee:ital@0;1', 225 'Abril Fatfac ',225 'Abril Fatface', 226 226 'Acme', 227 227 'Allura', … … 380 380 ); 381 381 382 $query_args = array( 383 'family' => rawurlencode(implode('|',$font_family)), 384 ); 385 $font_url = add_query_arg($query_args,'//fonts.googleapis.com/css'); 386 return $font_url; 387 $contents = real_estate_developer_wptt_get_webfont_url( esc_url_raw( $fonts_url ) ); 382 $font_family = array_unique( $font_family ); 383 384 // Google rejects a single request for every family, so only load the fonts in use. 385 $real_estate_developer_fonts_in_use = array( 'Bebas Neue', 'Outfit', 'Poppins' ); 386 foreach ( (array) get_theme_mods() as $real_estate_developer_mod ) { 387 if ( is_string( $real_estate_developer_mod ) ) { 388 $real_estate_developer_fonts_in_use[] = $real_estate_developer_mod; 389 } 390 } 391 if ( is_customize_preview() && isset( $GLOBALS['wp_customize'] ) ) { 392 foreach ( $GLOBALS['wp_customize']->settings() as $real_estate_developer_setting ) { 393 if ( false !== strpos( $real_estate_developer_setting->id, 'font' ) && is_string( $real_estate_developer_setting->value() ) ) { 394 $real_estate_developer_fonts_in_use[] = $real_estate_developer_setting->value(); 395 } 396 } 397 } 398 399 $real_estate_developer_families = array(); 400 foreach ( $font_family as $real_estate_developer_font ) { 401 $real_estate_developer_font_name = str_replace( '+', ' ', current( explode( ':', $real_estate_developer_font ) ) ); 402 if ( in_array( $real_estate_developer_font_name, $real_estate_developer_fonts_in_use, true ) ) { 403 $real_estate_developer_families[] = 'family=' . str_replace( ' ', '+', $real_estate_developer_font ); 404 } 405 } 406 407 $fonts_url = 'https://fonts.googleapis.com/css2?' . implode( '&', $real_estate_developer_families ) . '&display=swap'; 408 if ( function_exists( 'real_estate_developer_wptt_get_webfont_url' ) ) { 409 return real_estate_developer_wptt_get_webfont_url( $fonts_url ); 410 } 411 return $fonts_url; 388 412 } 389 413 -
real-estate-developer/0.5.8/inc/getstart/demo-content.php
r350046 r357148 14 14 // POST and update the customizer and other related data 15 15 if (isset($_POST['submit'])) { 16 17 // Check if Crawl Hunt is installed and activated 18 if (!is_plugin_active('crawl-hunt-seo-audit-tool/crawl-hunt.php')) { 19 $real_estate_developer_crawl_hunt_file = 'crawl-hunt-seo-audit-tool/crawl-hunt.php'; 20 21 // Check if plugin is installed 22 $real_estate_developer_crawl_hunt_installed = get_plugins(); 23 if (!isset($real_estate_developer_crawl_hunt_installed[$real_estate_developer_crawl_hunt_file])) { 24 include_once(ABSPATH . 'wp-admin/includes/plugin-install.php'); 25 include_once(ABSPATH . 'wp-admin/includes/file.php'); 26 include_once(ABSPATH . 'wp-admin/includes/misc.php'); 27 include_once(ABSPATH . 'wp-admin/includes/class-wp-upgrader.php'); 28 29 // Install the plugin 30 $real_estate_developer_crawl_hunt_upgrader = new Plugin_Upgrader(new Automatic_Upgrader_Skin()); 31 $real_estate_developer_crawl_hunt_upgrader->install('https://downloads.wordpress.org/plugin/crawl-hunt-seo-audit-tool.latest-stable.zip'); 32 wp_clean_plugins_cache(); 33 } 34 // Activate the plugin 35 if (file_exists(WP_PLUGIN_DIR . '/' . $real_estate_developer_crawl_hunt_file)) { 36 activate_plugin($real_estate_developer_crawl_hunt_file); 37 // Stay on the get started page instead of redirecting to Crawl Hunt 38 delete_option('crawl_hunt_activation_redirect'); 39 } 40 } 16 41 17 42 // Check if Essential Real Estate is installed and activated … … 346 371 ?> 347 372 373 348 374 <form action="<?php echo esc_url(home_url()); ?>/wp-admin/themes.php?page=real_estate_developer_guide" method="POST" onsubmit="return validate(this);"> 349 375 <?php if (!get_option('real_estate_developer_demo_import_completed')) : ?> … … 372 398 </script> 373 399 </div> 400 <?php require_once __DIR__ . '/crawlhunt-banner.php'; ?> -
real-estate-developer/0.5.8/inc/getstart/getstart.css
r355062 r357148 448 448 background: #fff; 449 449 box-shadow: 0px 3px 6px #0000007A; 450 padding: 40px 100px;450 padding: 40px 40px; 451 451 } 452 452 -
real-estate-developer/0.5.8/inc/getstart/getstart.php
r345783 r357148 58 58 ?> 59 59 </div> 60 61 <img src="<?php echo esc_url(get_template_directory_uri()); ?>/inc/getstart/images/responsive.png" alt="" class="resp-img" /> 60 62 61 </div> 63 62 </div> -
real-estate-developer/0.5.8/inc/tgm/class-tgm-plugin-activation.php
r355062 r357148 70 70 * @since 2.5.0 71 71 */ 72 const WP_REPO_REGEX = '|^http[s]?:// WordPress\.org/(?:extend/)?plugins/|';72 const WP_REPO_REGEX = '|^http[s]?://wordpress\.org/(?:extend/)?plugins/|'; 73 73 74 74 /** -
real-estate-developer/0.5.8/inc/tgm/tgm.php
r271773 r357148 20 20 'required' => false, 21 21 'force_activation' => false, 22 ), 23 array( 24 'name' => __( 'Crawl Hunt – Advanced SEO Optimization Tool', 'real-estate-developer' ), 25 'slug' => 'crawl-hunt-seo-audit-tool', 26 'source' => '', 27 'required' => false, 28 'force_activation' => false, 22 29 ) 23 30 ); -
real-estate-developer/0.5.8/readme.txt
r355062 r357148 5 5 Tested up to: 7.1 6 6 Requires PHP: 7.2 7 Stable tag: 0.5. 77 Stable tag: 0.5.8 8 8 License: GNU General Public License v3.0 9 9 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 14 14 15 15 == Changelog == 16 17 = 0.5.8 = 18 * Added frontend upsell popup for the Pro theme. 19 * Pro price now fetched dynamically from the store and cached. 16 20 17 21 = 0.5.7 = -
real-estate-developer/0.5.8/style.css
r355062 r357148 8 8 Tested up to: 7.1 9 9 Requires PHP: 7.2 10 Version: 0.5. 710 Version: 0.5.8 11 11 License: GNU General Public License v3.0 12 12 License URI: http://www.gnu.org/licenses/gpl-3.0.html
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)