Skip to content

Instantly share code, notes, and snippets.

<?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';
/*
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
<?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() );
?>
<?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
<?php
class ET_Core_Cache_Directory {
/**
* @since 4.0.8
* @var self
*/
protected static $_instance;
https://raw.githubusercontent.com/elegantthemes/submodule-core/ac54dea3563e9b988c312ee00935349cf63b81f3/components/cache/Directory.php?token=AAHPXAGKVI7THMVEEMWKPK26BH56S
<?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
<?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' );
/* 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;
<?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">