Skip to content

Instantly share code, notes, and snippets.

View gist:a96d20d2b49258dda729bfacd41af324
<?php
class Cu_ET_Builder_Module_Contact_Form extends ET_Builder_Module_Type_WithSpamProtection {
function init() {
parent::init();
$this->name = esc_html__( 'Contact Form', 'et_builder' );
$this->plural = esc_html__( 'Contact Forms', 'et_builder' );
$this->slug = 'et_pb_contact_form';
View gist:39d0fc3c64adcaf028ed906b695b2d9d
/*
Theme Name: Josefin Divi Child Theme
Author: ARTILLERY MEDIA
Author URI: http://www.artillerymedia.com
Template: Divi
Version: 1.3
*/
/* ==========================================================================
JOSEFIN CSS - EDIT AT YOUR OWN RISK
View gist:5e14fd3daa213d1ec8d900a13dd86ae9
<?php
get_header();
$show_default_title = get_post_meta( get_the_ID(), '_et_pb_show_title', true );
$is_page_builder_used = et_pb_is_pagebuilder_used( get_the_ID() );
?>
View gist:7aab6bc3d3d42febbd0f98034010e9da
<?php
/**
* Utility class for manipulating various data formats. Includes methods for
* transforming array data to another format based on key mapping, methods for
* generating XML-RPC method call strings, methods for working with arrays, and more.
*
* @since 3.0.62
*
* @package ET\Core\Data
View gist:97a1884b4f088c4b3334c73d6565154e
<?php
class ET_Core_Cache_Directory {
/**
* @since 4.0.8
* @var self
*/
protected static $_instance;
View gist:1928340e845a914b64a86d8019ffe7de
https://raw.githubusercontent.com/elegantthemes/submodule-core/ac54dea3563e9b988c312ee00935349cf63b81f3/components/cache/Directory.php?token=AAHPXAGKVI7THMVEEMWKPK26BH56S
View gist:a9d035c45d487b4332daa11505db918a
<?php
/**
* Manages a frontend inline CSS or JavaScript resource.
*
* If possible, the resource will be served as a static file for better performance. It can be
* tied to a specific post or it can be 'global'. The resource can be output, static or inline,
* to one of four locations on the page:
*
* * `head-early`: right AFTER theme styles have been enqueued
View gist:da7d72530170ece25acfa69218cc95af
<?php
class ET_Builder_Module_Contact_Form extends ET_Builder_Module {
function init() {
$this->name = esc_html__( 'Contact Form', 'et_builder' );
$this->plural = esc_html__( 'Contact Forms', 'et_builder' );
$this->slug = 'et_pb_contact_form';
$this->vb_support = 'on';
$this->child_slug = 'et_pb_contact_field';
$this->child_item_text = esc_html__( 'Field', 'et_builder' );
View gist:245285475fcf381bd43b00a49f05d3ba
/* Custom code for customer slider - desktop version */
.et-custom-section.et_pb_slider .et-pb-arrow-next{
opacity: 1 !important;
right:250px !important;
}
.et-custom-section.et_pb_slider .et-pb-arrow-prev {
opacity: 1 !important;
left: 250px !important;
View gist:3cfb2c4b68b85555195cc96adf95f25c
<?php
/*
Template Name: Authors
*/
get_header(); ?>
<div id="main-content" class="authors-page">
<div class="container">
<div id="content-area" class="<?php extra_sidebar_class(); ?> clearfix">
<div class="et_pb_extra_column_main">