Changeset 2069764
- Timestamp:
- 04/17/2019 08:02:53 AM (7 years ago)
- Location:
- seo-dynamic-pages/trunk
- Files:
-
- 2 edited
-
admin/class-seo-dynamic-pages-admin.php (modified) (2 diffs)
-
seo-dynamic-pages.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
seo-dynamic-pages/trunk/admin/class-seo-dynamic-pages-admin.php
r2023135 r2069764 367 367 $new_pages = []; 368 368 $meta = get_post_meta($post_id); 369 369 370 foreach ($locations as $location ) { 370 371 $args['post_title'] = str_replace( '[location]', $location, $post->post_title ); 371 372 $args['post_content'] = str_replace( '[location]', $location, $post->post_content ); 373 372 374 $wds_title = str_replace( '[location]', $location, $meta['_wds_title'][0] ); 373 375 $wds_description = str_replace( '[location]', $location, $meta['_wds_metadesc'][0] ); … … 376 378 /*update_post_meta($new_post_id, 'sdp_description', Seo_dynamic_pages_Public::get_var( $settings->meta_description, $settings, $location )); 377 379 update_post_meta($new_post_id, 'sdp_keywords', Seo_dynamic_pages_Public::get_var( $settings->meta_keywords, $settings, $location ));*/ 380 if ($meta['_aviaLayoutBuilderCleanData'][0]){ 381 $enfold_content = str_replace( '[location]', $location, $meta['_aviaLayoutBuilderCleanData'][0] ); 382 update_post_meta($new_post_id, '_aviaLayoutBuilderCleanData', $enfold_content); 383 update_post_meta($new_post_id, '_aviaLayoutBuilder_active', $meta['_aviaLayoutBuilder_active'][0]); 384 update_post_meta($new_post_id, '_avia_sc_parser_state', $meta['_avia_sc_parser_state'][0]); 385 update_post_meta($new_post_id, '_av_el_mgr_version', $meta['_av_el_mgr_version'][0]); 386 update_post_meta($new_post_id, '_avia_builder_shortcode_tree', unserialize($meta['_avia_builder_shortcode_tree'][0])); 387 388 update_post_meta($new_post_id, '_edit_last', $meta['_edit_last'][0]); 389 update_post_meta($new_post_id, 'hefo_before', $meta['hefo_before'][0]); 390 update_post_meta($new_post_id, 'hefo_after', $meta['hefo_after'][0]); 391 update_post_meta($new_post_id, '_av_alb_posts_elements_state', unserialize($meta['_av_alb_posts_elements_state'][0])); 392 update_post_meta($new_post_id, 'layout', $meta['layout'][0]); 393 394 update_post_meta($new_post_id, 'sidebar', $meta['sidebar'][0]); 395 update_post_meta($new_post_id, 'footer', $meta['footer'][0]); 396 update_post_meta($new_post_id, 'header_title_bar', $meta['header_title_bar'][0]); 397 update_post_meta($new_post_id, 'header_transparency', $meta['header_transparency'][0]); 398 update_post_meta($new_post_id, '_yoast_wpseo_content_score', $meta['_yoast_wpseo_content_score'][0]); 399 update_post_meta($new_post_id, '_edit_lock', $meta['_edit_lock'][0]); 400 401 402 403 404 } 378 405 update_post_meta($new_post_id, '_wds_title', $wds_title); 379 406 update_post_meta($new_post_id, '_wds_metadesc', $wds_description); -
seo-dynamic-pages/trunk/seo-dynamic-pages.php
r2023135 r2069764 17 17 * Plugin URI: http://example.com/seo-dynamic-pages-uri/ 18 18 * Description: SEO Dynamic Pages allows a website owner to identify services their business offers as well as cities and towns. The plugin will dynamically create pages on your WordPress website with a combination of city and service without the need of physically creating each page. 19 * Version: 1.0.2 519 * Version: 1.0.26 20 20 * Author: 118GROUP Web Design 21 21 * Author URI: http://118group.com … … 36 36 * Rename this for your plugin and update it as you release new versions. 37 37 */ 38 define( 'SEO_DYNAMIC_PAGES_VERSION', '1.0.2 5' );38 define( 'SEO_DYNAMIC_PAGES_VERSION', '1.0.26' ); 39 39 40 40 /**
Note: See TracChangeset
for help on using the changeset viewer.