Close

Account

Documentation

Forum

Menu

Custom post type doesn't work with wpbakery

  • Post count: 13
    xili
    November 18, 2017 at 6:54 pm #25637

    Hi there!

    We created a Custom Post Type called cryptocoins and want to enable WPBakery Page Builder on it, in order to be used on each posts from that Custom Post type but it looks like it doesn’t appear https://www.awesomescreenshot.com/image/2973328/014e013cf4f31a284507503f97535ce1 even if we checked the option https://www.awesomescreenshot.com/image/2973320/5ad1f05b11785e625a8c814690d6514b

    I checked it and the problem is coming from the theme. With a default theme WPBakery Page Builder is displayed on the custom post type and also on Posts.

    Thanks!

    Post count: 6655
    Adek
    November 20, 2017 at 1:32 am #25667

    Hi xili,

    You need to do a small change in there. Please go edit this file /jnews/class/Module/ModuleVC.php then find this function below (vc_post_type):

    Replace with this one below:

    Thank you

    Post count: 13
    xili
    November 20, 2017 at 12:58 pm #25720

    Do I edit the main theme files or a different file? I don’t want to loose it after an update

    Post count: 13
    xili
    November 20, 2017 at 2:14 pm #25722
    This reply has been marked as private.
    Post count: 6655
    Adek
    November 21, 2017 at 3:27 am #25753
    This reply has been marked as private.
    Post count: 13
    xili
    November 21, 2017 at 8:51 am #25769
    This reply has been marked as private.
    Post count: 6655
    Adek
    November 22, 2017 at 12:59 am #25792
    This reply has been marked as private.
    Post count: 13
    xili
    November 22, 2017 at 10:25 am #25816
    This reply has been marked as private.
    Post count: 6655
    Adek
    November 23, 2017 at 2:41 am #25844
    This reply has been marked as private.
    Post count: 13
    xili
    November 24, 2017 at 2:09 pm #25930
    This reply has been marked as private.
    Post count: 6655
    Adek
    November 25, 2017 at 12:21 pm #25963

    Hi xili,

    I do this changes (http://support.jegtheme.com/forums/topic/custom-post-type-doesnt-work-with-wpbakery/#post-25667) as i mention on above. You need to move it into child theme so that changes won’t lost when you update the theme. Please remove the previous changes on the parent theme file and please put this code below into functions.php on child theme:

    Let us know if you need something else.

    Thank you

    Post count: 13
    xili
    December 5, 2017 at 11:05 pm #26425
    This reply has been marked as private.
    Post count: 13
    xili
    December 6, 2017 at 5:13 am #26429
    This reply has been marked as private.
    Post count: 6655
    Adek
    December 6, 2017 at 10:11 am #26442

    Hi xili,

    Can you tell me what the color that you want to have for the menu bar? Just want to make sure on this thing so i can easily to help you to setup it.

    Thank you

    Post count: 13
    xili
    December 6, 2017 at 5:51 pm #26445
    This reply has been marked as private.

You must be logged in to reply to this topic.