The html markup language is used to provide layout and styling structure to page content. In modern design it is usually coupled with CSS to perform advanced styling.
used to create styling containers
<?php if ( ! defined( 'ABSPATH' ) ) exit; | |
/** | |
* Class NF_Action_Save | |
*/ | |
final class NF_Actions_Inbound_Store_Lead extends NF_Abstracts_Action | |
{ | |
/** | |
* @var string | |
*/ |
<?php | |
wp_dequeue_script('selectjs'); | |
wp_dequeue_script('select2'); | |
wp_dequeue_script('select2js'); | |
wp_dequeue_script('jquery-select2'); |
# BEGIN WordPress | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
RewriteRule ^index\.php$ - [L] | |
RewriteCond %{QUERY_STRING} !lp-variation-id | |
RewriteRule ^go/([^/]*)/([0-9]+)/ /go/$1?lp-variation-id=$2 [QSA,L] | |
RewriteCond %{QUERY_STRING} !lp-variation-id | |
RewriteRule ^go/([^/]*)? /wp-content/plugins/landing-pages/modules/module.redirect-ab-testing.php?permalink_name=$1 [QSA,L] |
<?php //remove me | |
add_filter('inbound_email_response/headers' , 'modify_lead_notification_headers' , 10 , 1 ); | |
function modify_lead_notification_headers( $headers ) { | |
$old_from_email = '[email protected]'; | |
$new_from_email = '[email protected]'; | |
$old_from_name = 'The Site Name'; | |
$new_from_name = 'The New Name'; | |
<?php //remove me | |
add_action('wp_enqueue_scripts' , 'custom_inbound_prevent_tracking'); | |
function custom_inbound_prevent_tracking() { | |
wp_register_script('stop-inbound-stats-js', LANDINGPAGES_URLPATH . 'assets/js/stop_page_stats.js'); | |
/* disable tracking if administrtor */ | |
if (current_user_can('activate_plugins')) { | |
wp_enqueue_script('stop-inbound-stats-js'); | |
} |
<script type='text/javascript'> | |
function getQueryArgs() | |
{ | |
var query = window.location.search.substring(1); | |
var vars = query.split('&'); | |
var params = {} | |
for (var i = 0; i < vars.length; i++) { | |
var pair = vars[i].split('='); |
<style type="text/css"> | |
#calling-template-variables, #dynamic-template-tokens{ | |
padding: 10px; | |
font-size: 14px; | |
text-align: left; | |
color: #{{color_picker_id}}; | |
} | |
#demo-cta-content-wrapper { | |
background: #FCFCFC; | |
border: 5px solid; |
<?php //remove me | |
/* define dynamic template markup */ | |
$wp_cta_data[$key]['markup'] = file_get_contents($this_path . 'index.php'); |
<?php //remove me | |
$wp_cta_data[$key]['settings'] = | |
array( | |
array( | |
'label' => 'Instructions', // Name of field | |
'description' => "This is a demo template for developers and designers to learn how to create your own call to action templates. View the source inside /wp-content/plugins/cta/templates/demo for more info", // what field does | |
'id' => 'description', // metakey. $key Prefix is appended from parent in array loop | |
'type' => 'description-block', // metafield type | |
'default' => '', // default content |