Support » Plugin: Broadcast » “Link this post to its children” does not work on CPT children

  • Resolved allegroclub

    (@allegroclub)


    Hi Edward,

    I notice that when I broadcast a custom post type with option “Link this post to its children”, the children does not have the permalink as its parent.

    The children is showing the permalink on the children site subdomain instead of the origin site subdomain (that means it is not working).

    Is something wrong with the plugin or I need to modify how it register custom post type?

Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter allegroclub

    (@allegroclub)

    I checked the debug.log. It seems PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, class '\PAnD' not found in /xxxxx/wp-includes/plugin.php on line 524 has been logged. Maybe they are caused by this plugin (not sure).

    Plugin Author edward_plainview

    (@edward_plainview)

    There should be no difference in how Broadcast handles post, pages or custom post types: all are posts and all should be linkable.

    Could you please enable Broadcast debug to browser mode and then send me the debug dump of the CPT in question? edward@plainviewplugins.com

    Class pand is not something I recognize from broadcast.

    Thread Starter allegroclub

    (@allegroclub)

    2016-09-23 22:34:12.1474695252.2057 ThreeWP_Broadcast: We do not care about the revision post type.
    2016-09-23 22:34:12.1474695252.2262 ThreeWP_Broadcast: We are currently on blog Allegro (1).
    2016-09-23 22:34:12.1474695252.2646 ThreeWP_Broadcast: Preparing the broadcasting data.
    2016-09-23 22:34:12.1474695252.2697 ThreeWP_Broadcast: Broadcasting data prepared.
    2016-09-23 22:34:12.1474695252.2861 ThreeWP_Broadcast: System info:
    Information
    Key	Value
    Debugging	Enabled
    Broadcast version	33.1
    PHP version	7.0.11
    Wordpress upload directory array	
    array (
      'path' => '/home/alleopbw/public_html/staging/wp-content/uploads/2016/09',
      'url' => 'http://staging.allegro.club/wp-content/uploads/2016/09',
      'subdir' => '/2016/09',
      'basedir' => '/home/alleopbw/public_html/staging/wp-content/uploads',
      'baseurl' => 'http://staging.allegro.club/wp-content/uploads',
      'error' => false,
    )
    PHP maximum execution time	
    300 seconds
    
    PHP memory limit	256M
    Wordpress memory limit	
    64M
    
    This can be increased by adding the following to your wp-config.php:
    
    define('WP_MEMORY_LIMIT', '512M');
    
    Debug code	
    Add the following lines to your wp-config.php to help find out why errors or blank screens are occurring:
    
    ini_set('display_errors','On');
    define('WP_DEBUG', true);
    
    Hooked into save_post	delete_get_calendar_cache
    dh_ptp_save_tab_state
    Vc_Post_Admin::save
    WTR_Meta_Box::save
    WTR_Meta_Box::save
    WTR_Meta_Box::save
    threewp_broadcast\ThreeWP_Broadcast::nop
    threewp_broadcast\ThreeWP_Broadcast::save_post
    Save post decoys	1
    Save post priority	640
    Plugins active on blog	awesome-support/awesome-support.php, Awesome Support, 3.3.2
    Plugins active on network	js_composer/js_composer.php, WPBakery Visual Composer, 4.12
    slate-admin-theme/slate-admin-theme.php, Slate Admin Theme, 1.1.6
    threewp-broadcast/ThreeWP_Broadcast.php, ThreeWP Broadcast, 33.1
    backwpup/backwpup.php, BackWPup, 3.3.4
    github-updater/github-updater.php, GitHub Updater, 5.6.1
    easy-pricing-tables/pricing-table-plugin.php, Easy Pricing Tables by Fatcat Apps, 2.3.3
    autoptimize/autoptimize.php, Autoptimize, 2.1.0
    wonster-shortcodes-symetrio/setup.php, Wonster Shortcodes for Visual Composer - Symetrio Edition, 2.24
    wonster-custom-types-symetrio/setup.php, Wonster Custom Types - Symetrio Edition, 2.16
    2016-09-23 22:34:12.1474695252.2865 ThreeWP_Broadcast: Broadcasting the post 140
    WP_Post::__set_state(array(
       'ID' => 140,
       'post_author' => '1',
       'post_date' => '2016-09-23 22:34:12',
       'post_date_gmt' => '2016-09-24 05:34:12',
       'post_content' => '',
       'post_title' => 'Homer Ladas',
       'post_excerpt' => '',
       'post_status' => 'publish',
       'comment_status' => 'closed',
       'ping_status' => 'closed',
       'post_password' => '',
       'post_name' => 'homer-ladas',
       'to_ping' => '',
       'pinged' => '',
       'post_modified' => '2016-09-23 22:34:12',
       'post_modified_gmt' => '2016-09-24 05:34:12',
       'post_content_filtered' => '',
       'post_parent' => 0,
       'guid' => 'http://staging.allegro.club/?post_type=trainer&p=140',
       'menu_order' => 0,
       'post_type' => 'trainer',
       'post_mime_type' => '',
       'comment_count' => '0',
       'filter' => 'raw',
    ))
    
    2016-09-23 22:34:12.1474695252.287 ThreeWP_Broadcast: The POST is
    array (
      '_wpnonce' => '382d60acb4',
      '_wp_http_referer' => '/wp-admin/post-new.php?post_type=trainer',
      'user_ID' => 1,
      'action' => 'editpost',
      'originalaction' => 'editpost',
      'post_author' => 1,
      'post_type' => 'trainer',
      'original_post_status' => 'auto-draft',
      'referredby' => 'http://staging.allegro.club/wp-admin/edit.php?post_type=trainer',
      '_wp_original_http_referer' => 'http://staging.allegro.club/wp-admin/edit.php?post_type=trainer',
      'auto_draft' => '',
      'post_ID' => '140',
      'meta-box-order-nonce' => '361fd2bf1e',
      'closedpostboxesnonce' => 'a9956ae833',
      'post_title' => 'Homer Ladas',
      'samplepermalinknonce' => '551bb4ec71',
      'content' => '',
      'wp-preview' => '',
      'hidden_post_status' => 'draft',
      'post_status' => 'publish',
      'hidden_post_password' => '',
      'hidden_post_visibility' => 'public',
      'visibility' => 'public',
      'post_password' => '',
      'mm' => '09',
      'jj' => '23',
      'aa' => '2016',
      'hh' => '22',
      'mn' => '26',
      'ss' => '18',
      'hidden_mm' => '09',
      'cur_mm' => '09',
      'hidden_jj' => '23',
      'cur_jj' => '23',
      'hidden_aa' => '2016',
      'cur_aa' => '2016',
      'hidden_hh' => '22',
      'cur_hh' => '22',
      'hidden_mn' => '26',
      'cur_mn' => '26',
      'original_publish' => 'Publish',
      'publish' => 'Publish',
      'tax_input' => 
      array (
        'trainer-specialization' => 
        array (
          0 => '0',
          1 => '8',
        ),
        'trainer-function' => 
        array (
          0 => '0',
          1 => '5',
        ),
      ),
      'newtrainer-specialization' => 'New Trainer Specialization Name',
      'newtrainer-specialization_parent' => '-1',
      '_ajax_nonce-add-trainer-specialization' => '3950ac72eb',
      'newtrainer-function' => 'New Trainer Function (in the club)',
      'newtrainer-function_parent' => '-1',
      '_ajax_nonce-add-trainer-function' => '628252d877',
      'menu_order' => '0',
      '_wtr_dances' => 
      array (
        0 => '68',
      ),
      '_wtr_gym_locations' => 
      array (
        0 => '43',
      ),
      '_thumbnail_id' => '141',
      'broadcast' => 
      array (
        'link' => 'on',
        'custom_fields' => 'on',
        'taxonomies' => 'on',
        'blogs' => 
        array (
          'blogs_4' => '4',
        ),
        'unchecked_child_blogs' => '',
      ),
      'wpb_vc_js_status' => 'false',
      'wpb_vc_loading' => 'Loading, please wait...',
      'wpb_vc_loading_row' => 'Crunching...',
      'vc_post_custom_css' => '',
      'wtr_meta_box_nonce' => 'a8f0071009',
      '_wtr_trainer_first_name' => 'Homer',
      '_wtr_trainer_last_name' => 'Ladas',
      '_wtr_trainer_background_img' => '',
      '_wtr_trainer_img_sht' => '',
      '_wtr_clean_menu_mod' => '0',
      '_wtr_page_nav_menu' => '0',
      '_wtr_HeaderSettings' => '1',
      '_wtr_BreadCrumbsContainer' => '1',
      '_wtr_BreadCrumbs' => '1',
      '_wtr_SidebarPosition' => 'setNone',
      '_wtr_facebook' => '',
      '_wtr_googleplus' => '',
      '_wtr_twitter' => '',
      '_wtr_vimeo' => '',
      '_wtr_youtube' => '',
      '_wtr_tumblr' => '',
      '_wtr_pinterest' => '',
      '_wtr_instagram' => '',
      '_wtr_flickr' => '',
      '_wtr_vkontakte' => '',
      '_wtr_linkedin' => '',
      '_wtr_CustomCssForPage' => '',
      '_wtr_CustomerBodyExtraClass' => '',
      'post_name' => '',
      'post_mime_type' => '',
      'ID' => 140,
      'post_content' => '',
      'comment_status' => 'closed',
      'ping_status' => 'closed',
    )
    
    2016-09-23 22:34:12.1474695252.2874 ThreeWP_Broadcast: Linking is enabled.
    2016-09-23 22:34:12.1474695252.2877 ThreeWP_Broadcast: Post type is hierarchical: no
    2016-09-23 22:34:12.1474695252.288 ThreeWP_Broadcast: Will broadcast taxonomies.
    2016-09-23 22:34:12.1474695252.2925 ThreeWP_Broadcast: Parent taxonomies dump:
    array (
      'trainer-specialization' => 
      array (
        8 => 
        WP_Term::__set_state(array(
           'term_id' => 8,
           'name' => 'Private Lesson',
           'slug' => 'private-lesson',
           'term_group' => 0,
           'term_taxonomy_id' => 8,
           'taxonomy' => 'trainer-specialization',
           'description' => '',
           'parent' => 0,
           'count' => 4,
           'filter' => 'raw',
        )),
      ),
      'trainer-function' => 
      array (
        5 => 
        WP_Term::__set_state(array(
           'term_id' => 5,
           'name' => 'Instructor',
           'slug' => 'instructor',
           'term_group' => 0,
           'term_taxonomy_id' => 5,
           'taxonomy' => 'trainer-function',
           'description' => '',
           'parent' => 0,
           'count' => 5,
           'filter' => 'raw',
        )),
      ),
    )
    
    2016-09-23 22:34:12.1474695252.2942 ThreeWP_Broadcast: Has 1 attachments.
    2016-09-23 22:34:12.1474695252.3018 ThreeWP_Broadcast: Attachment 141 found.
    2016-09-23 22:34:12.1474695252.3021 ThreeWP_Broadcast: Custom fields: Will broadcast custom fields.
    2016-09-23 22:34:12.1474695252.307 ThreeWP_Broadcast: The custom fields are
    array (
      '_vc_post_settings' => 
      array (
        0 => 'a:1:{s:10:"vc_grid_id";a:0:{}}',
      ),
      '_edit_lock' => 
      array (
        0 => '1474695242:1',
      ),
      '_edit_last' => 
      array (
        0 => '1',
      ),
      '_thumbnail_id' => 
      array (
        0 => '141',
      ),
      '_wpb_vc_js_status' => 
      array (
        0 => 'false',
      ),
      '_wtr_trainer_first_name' => 
      array (
        0 => 'Homer',
      ),
      '_wtr_trainer_last_name' => 
      array (
        0 => 'Ladas',
      ),
      '_wtr_trainer_background_img' => 
      array (
        0 => '',
      ),
      '_wtr_trainer_img_sht' => 
      array (
        0 => '',
      ),
      '_wtr_clean_menu_mod' => 
      array (
        0 => '0',
      ),
      '_wtr_page_nav_menu' => 
      array (
        0 => '0',
      ),
      '_wtr_HeaderSettings' => 
      array (
        0 => '1',
      ),
      '_wtr_BreadCrumbsContainer' => 
      array (
        0 => '1',
      ),
      '_wtr_BreadCrumbs' => 
      array (
        0 => '1',
      ),
      '_wtr_SidebarPosition' => 
      array (
        0 => 'setNone',
      ),
      '_wtr_Sidebar' => 
      array (
        0 => '',
      ),
      '_wtr_facebook' => 
      array (
        0 => '',
      ),
      '_wtr_googleplus' => 
      array (
        0 => '',
      ),
      '_wtr_twitter' => 
      array (
        0 => '',
      ),
      '_wtr_vimeo' => 
      array (
        0 => '',
      ),
      '_wtr_youtube' => 
      array (
        0 => '',
      ),
      '_wtr_tumblr' => 
      array (
        0 => '',
      ),
      '_wtr_pinterest' => 
      array (
        0 => '',
      ),
      '_wtr_instagram' => 
      array (
        0 => '',
      ),
      '_wtr_flickr' => 
      array (
        0 => '',
      ),
      '_wtr_vkontakte' => 
      array (
        0 => '',
      ),
      '_wtr_linkedin' => 
      array (
        0 => '',
      ),
      '_wtr_CustomCssForPage' => 
      array (
        0 => '',
      ),
      '_wtr_CustomerBodyExtraClass' => 
      array (
        0 => '',
      ),
      '_wtr_dances' => 
      array (
        0 => '68',
      ),
      '_wtr_gym_locations' => 
      array (
        0 => '43',
      ),
    )
    
    2016-09-23 22:34:12.1474695252.3074 ThreeWP_Broadcast: Custom fields: Post has a thumbnail (featured image): 141
    2016-09-23 22:34:12.1474695252.3086 ThreeWP_Broadcast: The custom field blacklist is:
    array (
      0 => '_wtr_gym_locations',
      1 => '_wtr_dances',
      2 => '_wtr_rooms',
      3 => '_wtr_trainers',
      4 => '_wtr_event_organizer',
    )
    
    2016-09-23 22:34:12.1474695252.3095 ThreeWP_Broadcast: The custom field protectlist is:
    array (
      0 => '_wtr_gym_locations',
      1 => '_wtr_dances',
      2 => '_wtr_rooms',
      3 => '_wtr_trainers',
      4 => '_wtr_event_organizer',
    )
    
    2016-09-23 22:34:12.1474695252.3104 ThreeWP_Broadcast: The custom field whitelist is:
    array (
    )
    
    2016-09-23 22:34:12.1474695252.3107 ThreeWP_Broadcast: Custom fields: Keeping custom field _vc_post_settings
    2016-09-23 22:34:12.1474695252.311 ThreeWP_Broadcast: Custom fields: Keeping custom field _edit_lock
    2016-09-23 22:34:12.1474695252.3114 ThreeWP_Broadcast: Custom fields: Keeping custom field _edit_last
    2016-09-23 22:34:12.1474695252.3117 ThreeWP_Broadcast: Custom fields: Keeping custom field _wpb_vc_js_status
    2016-09-23 22:34:12.1474695252.3119 ThreeWP_Broadcast: Custom fields: Keeping custom field _wtr_trainer_first_name
    2016-09-23 22:34:12.1474695252.3122 ThreeWP_Broadcast: Custom fields: Keeping custom field _wtr_trainer_last_name
    2016-09-23 22:34:12.1474695252.3125 ThreeWP_Broadcast: Custom fields: Keeping custom field _wtr_trainer_background_img
    2016-09-23 22:34:12.1474695252.3128 ThreeWP_Broadcast: Custom fields: Keeping custom field _wtr_trainer_img_sht
    2016-09-23 22:34:12.1474695252.3131 ThreeWP_Broadcast: Custom fields: Keeping custom field _wtr_clean_menu_mod
    2016-09-23 22:34:12.1474695252.3134 ThreeWP_Broadcast: Custom fields: Keeping custom field _wtr_page_nav_menu
    2016-09-23 22:34:12.1474695252.3137 ThreeWP_Broadcast: Custom fields: Keeping custom field _wtr_HeaderSettings
    2016-09-23 22:34:12.1474695252.314 ThreeWP_Broadcast: Custom fields: Keeping custom field _wtr_BreadCrumbsContainer
    2016-09-23 22:34:12.1474695252.3142 ThreeWP_Broadcast: Custom fields: Keeping custom field _wtr_BreadCrumbs
    2016-09-23 22:34:12.1474695252.3145 ThreeWP_Broadcast: Custom fields: Keeping custom field _wtr_SidebarPosition
    2016-09-23 22:34:12.1474695252.3148 ThreeWP_Broadcast: Custom fields: Keeping custom field _wtr_Sidebar
    2016-09-23 22:34:12.1474695252.3151 ThreeWP_Broadcast: Custom fields: Keeping custom field _wtr_facebook
    2016-09-23 22:34:12.1474695252.3154 ThreeWP_Broadcast: Custom fields: Keeping custom field _wtr_googleplus
    2016-09-23 22:34:12.1474695252.3157 ThreeWP_Broadcast: Custom fields: Keeping custom field _wtr_twitter
    2016-09-23 22:34:12.1474695252.316 ThreeWP_Broadcast: Custom fields: Keeping custom field _wtr_vimeo
    2016-09-23 22:34:12.1474695252.3163 ThreeWP_Broadcast: Custom fields: Keeping custom field _wtr_youtube
    2016-09-23 22:34:12.1474695252.3166 ThreeWP_Broadcast: Custom fields: Keeping custom field _wtr_tumblr
    2016-09-23 22:34:12.1474695252.3168 ThreeWP_Broadcast: Custom fields: Keeping custom field _wtr_pinterest
    2016-09-23 22:34:12.1474695252.3171 ThreeWP_Broadcast: Custom fields: Keeping custom field _wtr_instagram
    2016-09-23 22:34:12.1474695252.3174 ThreeWP_Broadcast: Custom fields: Keeping custom field _wtr_flickr
    2016-09-23 22:34:12.1474695252.3177 ThreeWP_Broadcast: Custom fields: Keeping custom field _wtr_vkontakte
    2016-09-23 22:34:12.1474695252.318 ThreeWP_Broadcast: Custom fields: Keeping custom field _wtr_linkedin
    2016-09-23 22:34:12.1474695252.3183 ThreeWP_Broadcast: Custom fields: Keeping custom field _wtr_CustomCssForPage
    2016-09-23 22:34:12.1474695252.3186 ThreeWP_Broadcast: Custom fields: Keeping custom field _wtr_CustomerBodyExtraClass
    2016-09-23 22:34:12.1474695252.3188 ThreeWP_Broadcast: Custom fields: Deleting custom field _wtr_dances
    2016-09-23 22:34:12.1474695252.3191 ThreeWP_Broadcast: Custom fields: Deleting custom field _wtr_gym_locations
    2016-09-23 22:34:12.1474695252.3194 ThreeWP_Broadcast: Sticky data found in POST.
    2016-09-23 22:34:12.1474695252.3197 ThreeWP_Broadcast: Post sticky status: 0
    2016-09-23 22:34:12.1474695252.3254 ThreeWP_Broadcast: Clearing the POST.
    2016-09-23 22:34:12.1474695252.3262 ThreeWP_Broadcast: Found 0 gallery shortcodes for content ID post_content
    2016-09-23 22:34:12.1474695252.332 ThreeWP_Broadcast: The attachment data is:
    array (
      141 => 
      threewp_broadcast\attachment_data::__set_state(array(
         'filename_base' => 'Homer-Ladas.jpg',
         'filename_path' => '/home/alleopbw/public_html/staging/wp-content/uploads/2016/09/Homer-Ladas.jpg',
         'file_metadata' => 
        array (
          'width' => 1080,
          'height' => 1080,
          'file' => '2016/09/Homer-Ladas.jpg',
          'sizes' => 
          array (
            'thumbnail' => 
            array (
              'file' => 'Homer-Ladas-150x150.jpg',
              'width' => 150,
              'height' => 150,
              'mime-type' => 'image/jpeg',
            ),
            'medium' => 
            array (
              'file' => 'Homer-Ladas-300x300.jpg',
              'width' => 300,
              'height' => 300,
              'mime-type' => 'image/jpeg',
            ),
            'medium_large' => 
            array (
              'file' => 'Homer-Ladas-768x768.jpg',
              'width' => 768,
              'height' => 768,
              'mime-type' => 'image/jpeg',
            ),
            'large' => 
            array (
              'file' => 'Homer-Ladas-1024x1024.jpg',
              'width' => 1024,
              'height' => 1024,
              'mime-type' => 'image/jpeg',
            ),
            'size_1' => 
            array (
              'file' => 'Homer-Ladas-404x200.jpg',
              'width' => 404,
              'height' => 200,
              'mime-type' => 'image/jpeg',
            ),
            'size_2' => 
            array (
              'file' => 'Homer-Ladas-512x512.jpg',
              'width' => 512,
              'height' => 512,
              'mime-type' => 'image/jpeg',
            ),
            'size_3' => 
            array (
              'file' => 'Homer-Ladas-750x500.jpg',
              'width' => 750,
              'height' => 500,
              'mime-type' => 'image/jpeg',
            ),
            'size_4' => 
            array (
              'file' => 'Homer-Ladas-1080x600.jpg',
              'width' => 1080,
              'height' => 600,
              'mime-type' => 'image/jpeg',
            ),
            'size_5' => 
            array (
              'file' => 'Homer-Ladas-1080x1080.jpg',
              'width' => 1080,
              'height' => 1080,
              'mime-type' => 'image/jpeg',
            ),
          ),
          'image_meta' => 
          array (
            'aperture' => '2.5',
            'credit' => '',
            'camera' => 'CYBERSHOT',
            'caption' => '',
            'created_timestamp' => '1040141673',
            'copyright' => '',
            'focal_length' => '21',
            'iso' => '100',
            'shutter_speed' => '0.0125',
            'title' => '',
            'orientation' => '1',
            'keywords' => 
            array (
            ),
          ),
        ),
         'id' => '141',
         'guid' => NULL,
         'post_custom' => 
        array (
          '_wp_attached_file' => 
          array (
            0 => '2016/09/Homer-Ladas.jpg',
          ),
          '_wp_attachment_metadata' => 
          array (
            0 => 'a:5:{s:5:"width";i:1080;s:6:"height";i:1080;s:4:"file";s:23:"2016/09/Homer-Ladas.jpg";s:5:"sizes";a:9:{s:9:"thumbnail";a:4:{s:4:"file";s:23:"Homer-Ladas-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:23:"Homer-Ladas-300x300.jpg";s:5:"width";i:300;s:6:"height";i:300;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:23:"Homer-Ladas-768x768.jpg";s:5:"width";i:768;s:6:"height";i:768;s:9:"mime-type";s:10:"image/jpeg";}s:5:"large";a:4:{s:4:"file";s:25:"Homer-Ladas-1024x1024.jpg";s:5:"width";i:1024;s:6:"height";i:1024;s:9:"mime-type";s:10:"image/jpeg";}s:6:"size_1";a:4:{s:4:"file";s:23:"Homer-Ladas-404x200.jpg";s:5:"width";i:404;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:6:"size_2";a:4:{s:4:"file";s:23:"Homer-Ladas-512x512.jpg";s:5:"width";i:512;s:6:"height";i:512;s:9:"mime-type";s:10:"image/jpeg";}s:6:"size_3";a:4:{s:4:"file";s:23:"Homer-Ladas-750x500.jpg";s:5:"width";i:750;s:6:"height";i:500;s:9:"mime-type";s:10:"image/jpeg";}s:6:"size_4";a:4:{s:4:"file";s:24:"Homer-Ladas-1080x600.jpg";s:5:"width";i:1080;s:6:"height";i:600;s:9:"mime-type";s:10:"image/jpeg";}s:6:"size_5";a:4:{s:4:"file";s:25:"Homer-Ladas-1080x1080.jpg";s:5:"width";i:1080;s:6:"height";i:1080;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:3:"2.5";s:6:"credit";s:0:"";s:6:"camera";s:9:"CYBERSHOT";s:7:"caption";s:0:"";s:17:"created_timestamp";s:10:"1040141673";s:9:"copyright";s:0:"";s:12:"focal_length";s:2:"21";s:3:"iso";s:3:"100";s:13:"shutter_speed";s:6:"0.0125";s:5:"title";s:0:"";s:11:"orientation";s:1:"1";s:8:"keywords";a:0:{}}}',
          ),
        ),
         '_wp_attachment_image_alt' => NULL,
         'post' => 
        WP_Post::__set_state(array(
           'ID' => 141,
           'post_author' => '1',
           'post_date' => '2016-09-23 22:28:31',
           'post_date_gmt' => '2016-09-24 05:28:31',
           'post_content' => '',
           'post_title' => 'homer-ladas',
           'post_excerpt' => '',
           'post_status' => 'inherit',
           'comment_status' => 'open',
           'ping_status' => 'closed',
           'post_password' => '',
           'post_name' => 'homer-ladas',
           'to_ping' => '',
           'pinged' => '',
           'post_modified' => '2016-09-23 22:28:31',
           'post_modified_gmt' => '2016-09-24 05:28:31',
           'post_content_filtered' => '',
           'post_parent' => 140,
           'guid' => 'http://staging.allegro.club/wp-content/uploads/2016/09/Homer-Ladas.jpg',
           'menu_order' => 0,
           'post_type' => 'attachment',
           'post_mime_type' => 'image/jpeg',
           'comment_count' => '0',
           'filter' => 'raw',
        )),
         'attached_to_parent' => true,
      )),
    )
    
    2016-09-23 22:34:12.1474695252.3325 ThreeWP_Broadcast: Beginning child broadcast loop.
    2016-09-23 22:34:12.1474695252.3331 ThreeWP_Broadcast: Switched to blog Argentine Tango at Allegro (4)
    2016-09-23 22:34:12.1474695252.337 ThreeWP_Broadcast: Ignoring post's parent.
    2016-09-23 22:34:12.1474695252.3374 ThreeWP_Broadcast: Creating a new post:
    WP_Post::__set_state(array(
       'post_author' => '1',
       'post_date' => '2016-09-23 22:34:12',
       'post_date_gmt' => '2016-09-24 05:34:12',
       'post_content' => '',
       'post_title' => 'Homer Ladas',
       'post_excerpt' => '',
       'post_status' => 'publish',
       'comment_status' => 'closed',
       'ping_status' => 'closed',
       'post_password' => '',
       'post_name' => 'homer-ladas',
       'to_ping' => '',
       'pinged' => '',
       'post_modified' => '2016-09-23 22:34:12',
       'post_modified_gmt' => '2016-09-24 05:34:12',
       'post_content_filtered' => '',
       'post_parent' => 0,
       'menu_order' => 0,
       'post_type' => 'trainer',
       'post_mime_type' => '',
       'comment_count' => 0,
       'filter' => 'raw',
    ))
    
    2016-09-23 22:34:12.1474695252.3378 ThreeWP_Broadcast: Running wp_insert_post with
    WP_Post::__set_state(array(
       'post_author' => '1',
       'post_date' => '2016-09-23 22:34:12',
       'post_date_gmt' => '2016-09-24 05:34:12',
       'post_content' => '',
       'post_title' => 'Homer Ladas',
       'post_excerpt' => '',
       'post_status' => 'publish',
       'comment_status' => 'closed',
       'ping_status' => 'closed',
       'post_password' => '',
       'post_name' => 'homer-ladas',
       'to_ping' => '',
       'pinged' => '',
       'post_modified' => '2016-09-23 22:34:12',
       'post_modified_gmt' => '2016-09-24 05:34:12',
       'post_content_filtered' => '',
       'post_parent' => 0,
       'menu_order' => 0,
       'post_type' => 'trainer',
       'post_mime_type' => '',
       'comment_count' => 0,
       'filter' => 'raw',
    ))
    
    2016-09-23 22:34:12.1474695252.3587 ThreeWP_Broadcast: Blog is switched. Not broadcasting.
    2016-09-23 22:34:12.1474695252.359 ThreeWP_Broadcast: New child created: 199
    2016-09-23 22:34:12.1474695252.3593 ThreeWP_Broadcast: Adding link to child.
    2016-09-23 22:34:12.1474695252.3596 ThreeWP_Broadcast: Equivalent of 1/140 is 4/199
    2016-09-23 22:34:12.1474695252.3599 ThreeWP_Broadcast: Taxonomies: Starting.
    2016-09-23 22:34:12.1474695252.3602 ThreeWP_Broadcast: Taxonomies: trainer-specialization
    2016-09-23 22:34:12.1474695252.3617 ThreeWP_Broadcast: Taxonomies: Found existing taxonomy private-lesson.
    2016-09-23 22:34:12.1474695252.362 ThreeWP_Broadcast: Taxonomies: Syncing terms.
    2016-09-23 22:34:12.1474695252.3632 ThreeWP_Broadcast: Target terms:
    array (
      8 => 
      WP_Term::__set_state(array(
         'term_id' => 8,
         'name' => 'Private Lesson',
         'slug' => 'private-lesson',
         'term_group' => 0,
         'term_taxonomy_id' => 8,
         'taxonomy' => 'trainer-specialization',
         'description' => '',
         'parent' => 0,
         'count' => 3,
         'filter' => 'raw',
      )),
    )
    
    2016-09-23 22:34:12.1474695252.3635 ThreeWP_Broadcast: Find out which of the source terms exist on the target blog.
    2016-09-23 22:34:12.1474695252.3637 ThreeWP_Broadcast: Found source term private-lesson. Source ID: 8. Target ID: 8.
    2016-09-23 22:34:12.1474695252.364 ThreeWP_Broadcast: About to update taxonomy terms.
    2016-09-23 22:34:12.1474695252.3647 ThreeWP_Broadcast: wp_update_term:
    WP_Term::__set_state(array(
       'term_id' => 8,
       'name' => 'Private Lesson',
       'slug' => 'private-lesson',
       'term_group' => 0,
       'term_taxonomy_id' => 8,
       'taxonomy' => 'trainer-specialization',
       'description' => '',
       'parent' => 0,
       'count' => 3,
       'filter' => 'raw',
    ))
    
    2016-09-23 22:34:12.1474695252.365 ThreeWP_Broadcast: Will not update the term Private Lesson.
    2016-09-23 22:34:12.1474695252.3652 ThreeWP_Broadcast: Taxonomies: Synced terms.
    2016-09-23 22:34:12.1474695252.3687 ThreeWP_Broadcast: Setting taxonomies for trainer-specialization:
    array (
      0 => 8,
    )
    
    2016-09-23 22:34:12.1474695252.3719 ThreeWP_Broadcast: Taxonomies: trainer-function
    2016-09-23 22:34:12.1474695252.374 ThreeWP_Broadcast: Taxonomies: Found existing taxonomy instructor.
    2016-09-23 22:34:12.1474695252.3743 ThreeWP_Broadcast: Taxonomies: Syncing terms.
    2016-09-23 22:34:12.1474695252.3754 ThreeWP_Broadcast: Target terms:
    array (
      9 => 
      WP_Term::__set_state(array(
         'term_id' => 9,
         'name' => 'Instructor',
         'slug' => 'instructor',
         'term_group' => 0,
         'term_taxonomy_id' => 9,
         'taxonomy' => 'trainer-function',
         'description' => '',
         'parent' => 0,
         'count' => 4,
         'filter' => 'raw',
      )),
    )
    
    2016-09-23 22:34:12.1474695252.3757 ThreeWP_Broadcast: Find out which of the source terms exist on the target blog.
    2016-09-23 22:34:12.1474695252.376 ThreeWP_Broadcast: Found source term instructor. Source ID: 5. Target ID: 9.
    2016-09-23 22:34:12.1474695252.3762 ThreeWP_Broadcast: About to update taxonomy terms.
    2016-09-23 22:34:12.1474695252.3765 ThreeWP_Broadcast: wp_update_term:
    WP_Term::__set_state(array(
       'term_id' => 9,
       'name' => 'Instructor',
       'slug' => 'instructor',
       'term_group' => 0,
       'term_taxonomy_id' => 9,
       'taxonomy' => 'trainer-function',
       'description' => '',
       'parent' => 0,
       'count' => 4,
       'filter' => 'raw',
    ))
    
    2016-09-23 22:34:12.1474695252.3768 ThreeWP_Broadcast: Will not update the term Instructor.
    2016-09-23 22:34:12.1474695252.3771 ThreeWP_Broadcast: Taxonomies: Synced terms.
    2016-09-23 22:34:12.1474695252.3804 ThreeWP_Broadcast: Setting taxonomies for trainer-function:
    array (
      0 => 9,
    )
    
    2016-09-23 22:34:12.1474695252.3836 ThreeWP_Broadcast: Taxonomies: Finished.
    2016-09-23 22:34:12.1474695252.385 ThreeWP_Broadcast: 0 attachments to remove.
    2016-09-23 22:34:12.1474695252.3853 ThreeWP_Broadcast: Copying attachments to the child blog.
    2016-09-23 22:34:12.1474695252.3855 ThreeWP_Broadcast: Looking through 1 attachments.
    2016-09-23 22:34:12.1474695252.3858 ThreeWP_Broadcast: The attachment's post parent is 140.
    2016-09-23 22:34:12.1474695252.3861 ThreeWP_Broadcast: Assigning new post parent ID (199) to attachment 141.
    2016-09-23 22:34:12.1474695252.3864 ThreeWP_Broadcast: Maybe copy attachment: Searching for attachment posts with the name homer-ladas.
    2016-09-23 22:34:12.1474695252.3872 ThreeWP_Broadcast: Maybe copy attachment: Found 0 attachment posts.
    2016-09-23 22:34:12.1474695252.3875 ThreeWP_Broadcast: Maybe copy attachment: Really copying attachment.
    2016-09-23 22:34:12.1474695252.3912 ThreeWP_Broadcast: Copy attachment: File "/home/alleopbw/public_html/staging/wp-content/uploads/2016/09/Homer-Ladas.jpg" is on local file-system
    2016-09-23 22:34:12.1474695252.3917 ThreeWP_Broadcast: Copy attachment: Copying from /home/alleopbw/public_html/staging/wp-content/uploads/2016/09/Homer-Ladas.jpg to /home/alleopbw/public_html/staging/wp-content/uploads/sites/4/2016/09/Homer-Ladas.jpg
    2016-09-23 22:34:12.1474695252.3986 ThreeWP_Broadcast: Copy attachment: File sizes: /home/alleopbw/public_html/staging/wp-content/uploads/2016/09/Homer-Ladas.jpg 85211 ; /home/alleopbw/public_html/staging/wp-content/uploads/sites/4/2016/09/Homer-Ladas.jpg 85211
    2016-09-23 22:34:12.1474695252.399 ThreeWP_Broadcast: Copy attachment: Checking filetype.
    2016-09-23 22:34:12.1474695252.402 ThreeWP_Broadcast: Copy attachment: Inserting attachment:
    array (
      'guid' => 'http://tango.staging.allegro.club/wp-content/uploads/sites/4/2016/09/Homer-Ladas.jpg',
      'menu_order' => 0,
      'post_author' => '1',
      'post_excerpt' => '',
      'post_mime_type' => 'image/jpeg',
      'post_name' => 'homer-ladas',
      'post_title' => 'homer-ladas',
      'post_content' => '',
      'post_status' => 'inherit',
    )
    
    2016-09-23 22:34:12.1474695252.4102 ThreeWP_Broadcast: Copy attachment: Handling metadata.
    2016-09-23 22:34:12.1474695252.4105 ThreeWP_Broadcast: Copy attachment: Requiring image.php.
    2016-09-23 22:34:12.1474695252.4108 ThreeWP_Broadcast: Copy attachment: Generating metadata for /home/alleopbw/public_html/staging/wp-content/uploads/sites/4/2016/09/Homer-Ladas.jpg.
    2016-09-23 22:34:13.1474695253.4693 ThreeWP_Broadcast: Copy attachment: Metadata is
    array (
      'width' => 1080,
      'height' => 1080,
      'file' => '2016/09/Homer-Ladas.jpg',
      'sizes' => 
      array (
        'thumbnail' => 
        array (
          'file' => 'Homer-Ladas-150x150.jpg',
          'width' => 150,
          'height' => 150,
          'mime-type' => 'image/jpeg',
        ),
        'medium' => 
        array (
          'file' => 'Homer-Ladas-300x300.jpg',
          'width' => 300,
          'height' => 300,
          'mime-type' => 'image/jpeg',
        ),
        'medium_large' => 
        array (
          'file' => 'Homer-Ladas-768x768.jpg',
          'width' => 768,
          'height' => 768,
          'mime-type' => 'image/jpeg',
        ),
        'large' => 
        array (
          'file' => 'Homer-Ladas-1024x1024.jpg',
          'width' => 1024,
          'height' => 1024,
          'mime-type' => 'image/jpeg',
        ),
        'size_1' => 
        array (
          'file' => 'Homer-Ladas-404x200.jpg',
          'width' => 404,
          'height' => 200,
          'mime-type' => 'image/jpeg',
        ),
        'size_2' => 
        array (
          'file' => 'Homer-Ladas-512x512.jpg',
          'width' => 512,
          'height' => 512,
          'mime-type' => 'image/jpeg',
        ),
        'size_3' => 
        array (
          'file' => 'Homer-Ladas-750x500.jpg',
          'width' => 750,
          'height' => 500,
          'mime-type' => 'image/jpeg',
        ),
        'size_4' => 
        array (
          'file' => 'Homer-Ladas-1080x600.jpg',
          'width' => 1080,
          'height' => 600,
          'mime-type' => 'image/jpeg',
        ),
        'size_5' => 
        array (
          'file' => 'Homer-Ladas-1080x1080.jpg',
          'width' => 1080,
          'height' => 1080,
          'mime-type' => 'image/jpeg',
        ),
      ),
      'image_meta' => 
      array (
        'aperture' => '2.5',
        'credit' => '',
        'camera' => 'CYBERSHOT',
        'caption' => '',
        'created_timestamp' => '1040141673',
        'copyright' => '',
        'focal_length' => '21',
        'iso' => '100',
        'shutter_speed' => '0.0125',
        'title' => '',
        'orientation' => '1',
        'keywords' => 
        array (
        ),
      ),
    )
    
    2016-09-23 22:34:13.1474695253.4723 ThreeWP_Broadcast: Copy attachment: Updating metadata.
    2016-09-23 22:34:13.1474695253.4731 ThreeWP_Broadcast: Copy attachment: File sizes again: /home/alleopbw/public_html/staging/wp-content/uploads/2016/09/Homer-Ladas.jpg 85211 ; /home/alleopbw/public_html/staging/wp-content/uploads/sites/4/2016/09/Homer-Ladas.jpg 85211
    2016-09-23 22:34:13.1474695253.4828 ThreeWP_Broadcast: Copied attachment 141 to 200
    2016-09-23 22:34:13.1474695253.4834 ThreeWP_Broadcast: 1 attachments were copied.
    2016-09-23 22:34:13.1474695253.4836 ThreeWP_Broadcast: Trying to replace attachment http://staging.allegro.club/wp-content/uploads/2016/09/Homer-Ladas.jpg with http://tango.staging.allegro.club/wp-content/uploads/sites/4/2016/09/Homer-Ladas.jpg
    2016-09-23 22:34:13.1474695253.4839 ThreeWP_Broadcast: 0 galleries are to be handled for content ID post_content.
    2016-09-23 22:34:13.1474695253.4843 ThreeWP_Broadcast: Checking for post modifications.
    2016-09-23 22:34:13.1474695253.4845 ThreeWP_Broadcast: No need to modify the post.
    2016-09-23 22:34:13.1474695253.4847 ThreeWP_Broadcast: Custom fields: Started.
    2016-09-23 22:34:13.1474695253.4905 ThreeWP_Broadcast: Custom fields of the child post:
    array (
      '_vc_post_settings' => 
      array (
        0 => 'a:1:{s:10:"vc_grid_id";a:0:{}}',
      ),
    )
    
    2016-09-23 22:34:13.1474695253.4907 ThreeWP_Broadcast: Custom fields: Deleting custom field _vc_post_settings.
    2016-09-23 22:34:13.1474695253.4924 ThreeWP_Broadcast: Custom fields: Adding array value _vc_post_settings
    2016-09-23 22:34:13.1474695253.4932 ThreeWP_Broadcast: Custom fields: Adding array value _edit_lock
    2016-09-23 22:34:13.1474695253.4939 ThreeWP_Broadcast: Custom fields: Adding array value _edit_last
    2016-09-23 22:34:13.1474695253.4945 ThreeWP_Broadcast: Custom fields: Adding array value _wpb_vc_js_status
    2016-09-23 22:34:13.1474695253.4951 ThreeWP_Broadcast: Custom fields: Adding array value _wtr_trainer_first_name
    2016-09-23 22:34:13.1474695253.4957 ThreeWP_Broadcast: Custom fields: Adding array value _wtr_trainer_last_name
    2016-09-23 22:34:13.1474695253.4964 ThreeWP_Broadcast: Custom fields: Adding array value _wtr_trainer_background_img
    2016-09-23 22:34:13.1474695253.497 ThreeWP_Broadcast: Custom fields: Adding array value _wtr_trainer_img_sht
    2016-09-23 22:34:13.1474695253.4977 ThreeWP_Broadcast: Custom fields: Adding array value _wtr_clean_menu_mod
    2016-09-23 22:34:13.1474695253.4983 ThreeWP_Broadcast: Custom fields: Adding array value _wtr_page_nav_menu
    2016-09-23 22:34:13.1474695253.4989 ThreeWP_Broadcast: Custom fields: Adding array value _wtr_HeaderSettings
    2016-09-23 22:34:13.1474695253.4995 ThreeWP_Broadcast: Custom fields: Adding array value _wtr_BreadCrumbsContainer
    2016-09-23 22:34:13.1474695253.5001 ThreeWP_Broadcast: Custom fields: Adding array value _wtr_BreadCrumbs
    2016-09-23 22:34:13.1474695253.5007 ThreeWP_Broadcast: Custom fields: Adding array value _wtr_SidebarPosition
    2016-09-23 22:34:13.1474695253.5013 ThreeWP_Broadcast: Custom fields: Adding array value _wtr_Sidebar
    2016-09-23 22:34:13.1474695253.502 ThreeWP_Broadcast: Custom fields: Adding array value _wtr_facebook
    2016-09-23 22:34:13.1474695253.5026 ThreeWP_Broadcast: Custom fields: Adding array value _wtr_googleplus
    2016-09-23 22:34:13.1474695253.5031 ThreeWP_Broadcast: Custom fields: Adding array value _wtr_twitter
    2016-09-23 22:34:13.1474695253.5038 ThreeWP_Broadcast: Custom fields: Adding array value _wtr_vimeo
    2016-09-23 22:34:13.1474695253.5045 ThreeWP_Broadcast: Custom fields: Adding array value _wtr_youtube
    2016-09-23 22:34:13.1474695253.5051 ThreeWP_Broadcast: Custom fields: Adding array value _wtr_tumblr
    2016-09-23 22:34:13.1474695253.5058 ThreeWP_Broadcast: Custom fields: Adding array value _wtr_pinterest
    2016-09-23 22:34:13.1474695253.5064 ThreeWP_Broadcast: Custom fields: Adding array value _wtr_instagram
    2016-09-23 22:34:13.1474695253.5075 ThreeWP_Broadcast: Custom fields: Adding array value _wtr_flickr
    2016-09-23 22:34:13.1474695253.5082 ThreeWP_Broadcast: Custom fields: Adding array value _wtr_vkontakte
    2016-09-23 22:34:13.1474695253.5088 ThreeWP_Broadcast: Custom fields: Adding array value _wtr_linkedin
    2016-09-23 22:34:13.1474695253.5094 ThreeWP_Broadcast: Custom fields: Adding array value _wtr_CustomCssForPage
    2016-09-23 22:34:13.1474695253.51 ThreeWP_Broadcast: Custom fields: Adding array value _wtr_CustomerBodyExtraClass
    2016-09-23 22:34:13.1474695253.5106 ThreeWP_Broadcast: Handling post thumbnail for post 199. Thumbnail ID is now 200
    2016-09-23 22:34:13.1474695253.5125 ThreeWP_Broadcast: Custom fields: Finished.
    2016-09-23 22:34:13.1474695253.5127 ThreeWP_Broadcast: Sticky status: 0
    2016-09-23 22:34:13.1474695253.5133 ThreeWP_Broadcast: Saving broadcast data of child:
    threewp_broadcast\BroadcastData::__set_state(array(
       'id' => NULL,
       'blog_id' => NULL,
       'post_id' => NULL,
       'dataModified' => true,
       'data' => 
      array (
        'version' => 2,
        'linked_parent' => 
        array (
          'blog_id' => 1,
          'post_id' => 140,
        ),
      ),
    ))
    
    2016-09-23 22:34:13.1474695253.5227 ThreeWP_Broadcast: Saving parent broadcast data:
    threewp_broadcast\BroadcastData::__set_state(array(
       'id' => NULL,
       'blog_id' => NULL,
       'post_id' => NULL,
       'dataModified' => true,
       'data' => 
      array (
        'version' => 2,
        'linked_children' => 
        array (
          4 => 199,
        ),
      ),
    ))
    
    2016-09-23 22:34:13.1474695253.5563 ThreeWP_Broadcast: Calculator. Basic setup: 90 seconds
    2016-09-23 22:34:13.1474695253.5566 ThreeWP_Broadcast: Calculator. 1 attachments @ 60 seconds = 60 seconds
    2016-09-23 22:34:13.1474695253.5567 ThreeWP_Broadcast: Calculator. Time saved for this post: 150 seconds
    2016-09-23 22:34:13.1474695253.564 ThreeWP_Broadcast: Finished broadcasting. Now stopping WordPress.

    I notice another problem from the premium theme plugins. It saves the linked CPT ids in custom fields. I would like to update the fields to the correct IDs in the child blog. What hook/function should I add?

    • This reply was modified 5 years, 1 month ago by allegroclub.
    Plugin Author edward_plainview

    (@edward_plainview)

    Looking at the debug dump, I see nothing unusual. It seems to have been copied just fine and the broadcast link data created correctly.

    Do the permalinks show up correctly for children of other types of posts? Posts and pages? Are the permalinks being handled differently in the theme for trainer posts types?

    Regarding your second question: threewp_broadcast_broadcasting_started and threewp_broadcast_broadcasting_before_restore_current_blog is usually where I put any custom field modification methods.

    Related to the custom field IDs: how are those relationships being created? By a plugin (like ACF) or manually (custom code)?

    Thread Starter allegroclub

    (@allegroclub)

    When I broadcast the CPT items, I checked “Link this post to its children”. Normally, the permalink on the children should be on the parent domain. However, it doesn’t. I get 404 on the permalink on the sub-blog permalink. It is on the new multisite (installed since WordPress v4.6.1 with modified theme & plugins), the view link and permalink under the title are on the sub-blog domain.

    I have another WordPress multisite setup with original non-modified version of the theme & theme plugins. There are posts that were broadcasted prior to WordPress v4.6. They all checked “Link this post to its children”. They had correct behavior as I remember at that time.
    In the list view of the CPT items, the URL of the View link correctly is on the parent blog domain. However, when I go into the children item, the permalink under the title is on sub-blog subdomain, and the link goes a dedicated page on children blog instead of the parent one.

    Thread Starter allegroclub

    (@allegroclub)

    Regarding to the custom field IDs: the IDs comes from CPTs that registered separately. It uses custom functions to load the item list and save the custom fields. You need to add a new item just like a CPT. They use this way to link between CPTs.

    • This reply was modified 5 years, 1 month ago by allegroclub.
    Plugin Author edward_plainview

    (@edward_plainview)

    The view-link in the posts overview table correctly showing the parent permalink means that Broadcast is working just fine. As a test, you can switch off the “parent permalink” setting in Broadcast and check the view link again and you should see the “normal” url to the post. Right?

    Your theme isn’t handling trainers a different way, perhaps?

    Regarding your second problem: I don’t suppose using ACF would be a better solution? Since you have the premium pack you have the ACF add-on which will correctly handle the conversion / translation of ACF relationship fields to other posts.

    Thread Starter allegroclub

    (@allegroclub)

    As I states, only overview link works fine in the old site (when it was working). Inside the post, the link is NOT on the parent post domain. On the new site, it just not working at all for “Link this post to its children”. (Do you have specific vars need to be set when registering CPTs?)

    Do you have an email? I can send you a login so you can see for yourself.

    ACF seems to be a better option, but it needs to modify these theme plugins.. It takes too much work for a premium theme. They have CPT, shortcodes, widgets that depends on the custom fields..

    I did asked for the ACF support in the theme months before you suggested, and they said, “at the current stage of development Symetrio full integration of this plugin it is not possible. If for any item you are not completely satisfied, you can always use a child theme function and modify our product under their needs :)” Maybe all of these plugins works with the exact custom field name with ACF. Let me try and see.

    Plugin Author edward_plainview

    (@edward_plainview)

    > (Do you have specific vars need to be set when registering CPTs?)

    Nope. Broadcasts handles all post types the same: posts, pages, other custom post types. If you posts and pages have the links working properly, then so should all other post types assuming they are being handled in a standard way.

    If not, then you’re going to have problems. Do the links work properly for posts + the custom post types using the default theme?

    Thread Starter allegroclub

    (@allegroclub)

    I just tested with default theme on post post-type in the old site. View link at overview screen is correct, but no the permalink inside the child post. The child post link goes under child subdomain, and it has a page generated in the child blog.

    Let’s talk on email..

    Plugin Author edward_plainview

    (@edward_plainview)

    Plugin Author edward_plainview

    (@edward_plainview)

    This issue was not a bug or problem at all. The linking back to the parent was working just fine.

    allegroclub wanted the page itself to, when visited, redirect back to the parent. This requires the use of either some PHP code, or the redirect all children Broadcast add-on.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘“Link this post to its children” does not work on CPT children’ is closed to new replies.