Skip to content
Enfold WordPress Theme Code Snippet Library
PHP CSS JavaScript
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
actions and filters Update avf_alb_get_developer_settings.php Oct 10, 2019
alb Rename to Feb 20, 2017
codesnippets/filehandling Add simple_log_file.php Feb 13, 2019
compat/dokan/products Create new-product.php Nov 30, 2017
css Add filter for Google Maps API, change directory structure Aug 24, 2017
demos Add external demos Jan 17, 2019
developers/alb Update alb_modal_popup_editor_frame.php Oct 9, 2019
enfold-layout-library update requirments Sep 17, 2017
integration plugins Add character translation.txt Mar 8, 2019
miscellaneous Create readme.txt Mar 14, 2018
temp_fixes Merge branch 'master' of Oct 8, 2019
temp_fixes_other_themes/abundance Update abundance woocommerce-config/woocommerce-mod.js Jul 31, 2018
tricks/Github Additions to Github branch tips Apr 24, 2017 Fixed prefix based on the value we are adding Apr 18, 2017 Update Mar 13, 2018

Enfold WordPress Theme Code Snippet Library

This is a community-maintained repository of code snippets that help modify the default behavior of our Enfold WordPress Theme.

Snippets are organized into categories (folders) and each snippet is placed in its own file with a name that describes what it does.

Using Snippets

Most files in this library are set up to be WordPress plugins:

  1. Click on the filename of the snippet you'd like to use. Each file is set up to be a WordPress plugin.
  2. Click the "Raw" button (next to "Blame" and "History") at the top right.
  3. Save the page from your browser to your wp-content/plugins folder and upload to your server. Be sure to save it as a .php file and add it to a folder with the same name as the file (minus the .php). Alternatively you can compress the file as a .zip file and upload as a plugin from within WordPress.
  4. Activate the plugin from the WordPress plugins page.

For files that aren't set up as plugins follow steps 1 and 2 above and then copy and paste the code into your child theme's functions.php or place inside a custom functionality plugin.

If you need help customising any of the snippets or do not understand how to use them, please let us know in the Support Forum and we will try to help.

Submitting Your Snippet

We welcome and encourage everyone to submit their code snippets. If you would like to submit your snippet, please fork the repository and then create a pull request.

Please refer to the Contributing guidelines before submitting your pull request.

Proposing a Snippet

If there is a snippet you are unable to find and would like to propose get written, please open a thread in our support forum and describe your need. Please be aware that we can only help with small snippets (a few lines of code) - if you need something more cpmplicated it might be necessary to hire a developer for this.

Online Resources from Third Party Developers


These snippets come with no guarantees. Due to the constant evolution of the Enfold Theme codebase, it is possible that the behavior of these snippets may change overtime. Find something broken? Let us know!

You can’t perform that action at this time.