PHP Functions and code you can add to your functions.php or Child Theme functions.php as well as quick changes to the theme php files.

Adjust Default Values of the Layout Settings

If you don't want to set the Layout > Settings for each page…

Remove image titles that show up when you hover on images

When you hover on images, their title ("Single Portfolio: 2/3…

Add subtext to logo / replace logo with site title

You can add subtext to your logo by adding following code to…

How to Add Custom Social Icons to the Theme Options

Using Fontello-imported Icons The following code will make Fontello-imported…

Use a different logo on mobile

If you would like to display a different logo on mobile, please…

Inserting breadcrumbs as shortcode

Please go to Appearance > Editor and open functions-enfold.php…

Adding a widget area to the header

If you are wanting to add a widget area to your header then add…

Polylang Ajax Search Filter

This is a Code snippet for polylang plugin users who want to…

Enable deeplinking to the Portfolio AJAX

Version of Enfold required: 3.0.4+ This snippet will allow…

Change the sort order of Blog Posts Elements

By default the blog posts elements that display the post items…

Change the sort order of Masonry Elements

The default order of the masonry items are by creation date.…

Enable Social Share Section

The social share section, found on single post pages, are disabled…

Change archive (category/tag) blog style

Change the default layout of category and tag pages by using…

Use the Layout Builder with any post type

The Advanced Layout Builder is by default only active for Pages…

Deactivate the LayerSlider plugin

The Enfold theme comes bundled with the LayerSlider plugin. If…

Register Additional Google Fonts for Theme Options

You can tell the Enfold theme to display additional google fonts…

Change the logo url on some pages

It sometimes happens that you need to show one logo on your frontpage…

How to add an order/orderby option to the blog/post slider/portfolio/masonry grid element

Some users asked us how they can set a different order for their…

Add onclick event to the contact form submit button

If you want to track the contact form submissions with google…

Use SearchWP instead of the standard search

SearchWP is an advanced search engine for WordPress. You can…