This topic has 2 replies, 2 voices, and was last updated 9 years by Laura.

  • Author
  • #95769
     clyn
    Participant

    i created new new template and put betweeen content are, below see. and my new template can show on default templates. Its working well. I am asking, does is true way? Off course i can save my new template under MY TEMPLATES but when i want to change something template, always delete and save again…

    /** My New Template on Defaul Template Side */

    $data = array();

    $data[‘name’] = __( ‘Landing Page’, ‘js_composer’ );

    $data[‘content’] = <<<CONTENT

     

    CONTENT;

     

    vc_add_default_templates( $data );

    #95770
     clyn
    Participant

    $data[‘name’] = __( ‘my new template name’, ‘js_composer’ );

    #95857
     Laura
    Moderator

    Hello, please check out https://wpbakery.atlassian.net/wiki/display/VC/Templates
    Right now visual composer doesnt allow editing templates but is very easy as it would be the same that deleting it and saving again. Maybe in future releases they may add it

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

Viewing 3 posts - 1 through 3 (of 3 total)

The forum ‘General questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?