• Resolved designdrumm

    (@designdrumm)


    Hello,
    I am trying to utilize your plugin which seems very promising, however it would not work with WordPress Bakery. So I figured out that it was the way you were creating you posts that was keeping it from being seen by WP Bakery. I added the following code to your plugin and it allowed WP Bakery to see your custom post type.

    function register_post_type() {
    	register_post_type('chimpbridge', array(
    		'public' => true,
    		'show_in_nav_menus' => true,
    		'exclude_from_search' => false,
    		'show_ui' => true,
    		'show_in_menu'    => true,
    		'capability_type' => 'post',
    		'query_var'       => false,
    		'menu_icon'       => 'dashicons-email-alt',
    		'supports'        => array(	
    			'title',
    			'editor',
    			'author',
    			'thumbnail',
    			'excerpt',
    			'trackbacks',
    			'custom-fields',
    			'comments',
    			'revisions',
    			'post-formats'
    		),
    		'labels'          => array(
    			'name'               => __('ChimpBridge', 'chimpbridge'),
    			'all_items'          => __('All Campaigns', 'chimpbridge'),
    			'add_new'            => __('New Campaign', 'chimpbridge'),
    			'add_new_item'       => __('New Campaign', 'chimpbridge'),
    			'edit_item'          => __('Edit Campaign', 'chimpbridge'),
    			'new_item'           => __('New Campaign', 'chimpbridge'),
    			'view_item'          => __('View Campaign', 'chimpbridge'),
    			'search_item'        => __('Search Campaigns', 'chimpbridge'),
    			'not_found'          => __('No Campaigns found', 'chimpbridge'),
    			'not_found_in_trash' => __('No Campaigns found in Trash', 'chimpbridge'),
    		)
    	));
    }

    Now this probably has more than your plugin is calling for. I was trying to get the tags, categories, formats etc. to show up again. Tags and Categories still don’t show. I was also wanting to be able to send info for social posts on MailChimp but your plugin only sends an email to MC.

    The other thing I noticed is that you create your own posts instead of utilizing the posts already in WordPress. For me it would be more beneficial if you didn’t do that and just tied into the WordPress post pages. Then I can publish a post as well as send to MailChimp.

    If there is any way you can put that functionality in, I would consider purchasing this plugin. Without, it only does one step and lacks lots of MailChimp functionality (social posts info). However, it does do the best job I have seen so far with actually getting a successful html email into MailChimp.

    Look forward to your thoughts if any.

    Best,
    designdrumm

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter designdrumm

    (@designdrumm)

    I got my version to work with WP Bakery. Thanks.

    Best,
    designdrumm

    Thread Starter designdrumm

    (@designdrumm)

    Oh an btw it was 'public' => true that let Visual Composer see it and let me assign it in the settings area of VC. Not sure why it was set to false.

    Thread Starter designdrumm

    (@designdrumm)

    One other thing I found. There is a preview and publish button on the fixed nav for WordPress Bakery (Visual Composer). When using these it confuses things a bit so since you are disabling things already. This code will disable the preview and publish buttons on that nav. It also checks to see if the nav exists in the first place and since its a sticky nav it continually checks if its on the page but only runs if it’s present in the html. I placed it in the chimpbridge.js file on my install.

    if(jQuery('#vc_navbar').length) {
    	jQuery(function() {	
    		// Hide the visual composer fixed nav publish and preview buttons.
    		jQuery('.vc_control-save, .vc_control-preview').css({"display":"none"});
    	});
    }

    HTH,

    Best,
    designdrumm

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Not compatible with WP Bakery’ is closed to new replies.