Plugin Directory

Changeset 2069764


Ignore:
Timestamp:
04/17/2019 08:02:53 AM (7 years ago)
Author:
118group
Message:

Enfold theme support

Location:
seo-dynamic-pages/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • seo-dynamic-pages/trunk/admin/class-seo-dynamic-pages-admin.php

    r2023135 r2069764  
    367367        $new_pages = [];
    368368        $meta = get_post_meta($post_id);
     369
    369370        foreach ($locations as $location ) {
    370371            $args['post_title'] = str_replace( '[location]', $location, $post->post_title );
    371372            $args['post_content'] = str_replace( '[location]', $location, $post->post_content );
     373           
    372374            $wds_title =  str_replace( '[location]', $location,  $meta['_wds_title'][0] );
    373375            $wds_description =  str_replace( '[location]', $location,  $meta['_wds_metadesc'][0] );
     
    376378            /*update_post_meta($new_post_id, 'sdp_description', Seo_dynamic_pages_Public::get_var( $settings->meta_description, $settings, $location ));
    377379            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            }
    378405            update_post_meta($new_post_id, '_wds_title', $wds_title);
    379406            update_post_meta($new_post_id, '_wds_metadesc', $wds_description);
  • seo-dynamic-pages/trunk/seo-dynamic-pages.php

    r2023135 r2069764  
    1717 * Plugin URI:        http://example.com/seo-dynamic-pages-uri/
    1818 * 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.25
     19 * Version:           1.0.26
    2020 * Author:            118GROUP Web Design
    2121 * Author URI:        http://118group.com
     
    3636 * Rename this for your plugin and update it as you release new versions.
    3737 */
    38 define( 'SEO_DYNAMIC_PAGES_VERSION', '1.0.25' );
     38define( 'SEO_DYNAMIC_PAGES_VERSION', '1.0.26' );
    3939
    4040/**
Note: See TracChangeset for help on using the changeset viewer.