Skip to main content

Overriding page builder element templates

Every Salient page builder element renders from a template file in the Salient Core plugin. Copy that file into your child theme and the copy is used instead, so you can change an element's markup without editing the plugin.

  • Step 1. Copy the desired template file from the salient-core plugin template directory (wp-content/plugins/salient-core/includes/vc_templates)
  • Step 2. Create a folder in the root of your child theme called “vc_templates” (salient-child/vc_templates)
  • Step 3. Paste the desired template file(s) inside that directory. Any template files found in that directory will be loaded instead of the default salient-core file.

A code editor file tree with the vc_templates folder inside salient-core/includes highlighted and its element PHP files listed