euthelup on "PixTypes does not work for multisite wordpress"

خرید بک لینک

I have a multisite wordpress. I installed and activated pixtypes. In the theme, I set up the metaboxes as below. The metaboxes successfully appears on my main site in the multisite., but none of the sub sites shows the metabox.

$pixtypes_conf_settings = array(
                        'first_activation' => true,
                        'metaboxes'        => array(
                                '_job_listing_the_aside' => array(
                                        'id'         => 'job_listing_aside',
                                        'title'      => esc_html__( 'Gallery Images', 'mvp' ),
                                        'pages'      => array( 'job_listing' ), // Post type
                                        'context'    => 'side',
                                        'priority'   => 'low',
                                        'show_names' => true, // Show field names on the left
                                        'fields'     => array(
                                                array(
                                                        'name' => esc_html__( 'Gallery Image', 'mvp' ),
                                                        'id'   => 'main_image',
                                                        'type' => 'gallery',
                                                ),
                                        )
                                ),

https://wordpress.org/plugins/pixtypes/

WordPress ...

ما را در سایت WordPress دنبال می‌کنید

برچسب: نویسنده: استخدام کار بازدید: 363 تاريخ: چهارشنبه 30 تير 1395 ساعت: 21:07

صفحه بندی