This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="form-group "> | |
<label>Left & Right Button Dropdown</label> | |
<div class="input-group"> | |
<input type="text" class="form-control" aria-label="Text input with dropdown button"><div class="input-group-append"> | |
<button type="button" class="btn btn-label-success dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> | |
Action | |
</button> | |
<div class="dropdown-menu"> | |
<a class="dropdown-item" href="#">Action</a> | |
<a class="dropdown-item" href="#">Another action</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Load Font Awesome | |
function load_font_awesome() { | |
wp_enqueue_style( 'font-awesome', 'https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css', false, null ); | |
} add_action( 'wp_enqueue_scripts', 'load_font_awesome' ); | |
// Add Shortcode | |
function iconShortcode( $atts, $content = null ) { | |
// Attributes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Add to functions.php | |
// Register Custom LC Page Type | |
function lc_custom_post_type() { | |
$labels = array( | |
'name' => _x( 'LC Pages', 'LC Page Type General Name', 'text_domain' ), | |
'singular_name' => _x( 'LC Page', 'LC Page Type Singular Name', 'text_domain' ), | |
'menu_name' => __( 'LC Pages', 'text_domain' ), | |
'name_admin_bar' => __( 'LC Page', 'text_domain' ), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! | |
* Bootstrap v4.0.0-alpha.2 (http://getbootstrap.com) | |
* Copyright 2011-2015 Twitter, Inc. | |
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | |
*/ | |
/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */ | |
html { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
**Directions** | |
** Copy the below import code (line 6 entirely) and import it into LiveComposer! Wala! ** | |
[dslc_modules_section show_on="desktop tablet phone" type="wrapper" columns_spacing="spacing" bg_color="rgb(0,190,198)" bg_image_thumb="disabled" dslca-img-url="" bg_image="" bg_image_repeat="no-repeat" bg_image_position="right top" bg_image_attachment="fixed" bg_image_size="auto" bg_video="" bg_video_overlay_color="rgb(0,190,198)" bg_video_overlay_opacity="0" border_color="" border_width="0" border_style="solid" border="top right bottom left" margin_h="0" margin_b="0" padding="120" padding_h="12" custom_class="" custom_id="" ] [dslc_modules_area last="no" first="yes" size="8"] [dslc_module last="yes"]YToyMjp7czo3OiJjb250ZW50IjtzOjc4OiI8aDM+SEVBRElOR8KgPC9oMz48aDE+U2hvcnQgbG9pbiBwb3JjaGV0dGEgdmVuaXNvbiBwYXN0cmFtaS4gUHJhY3RpY2FsLsKgPC9oMT4iO3M6MTc6ImNzc19tYXJnaW5fYm90dG9tIjtzOjI6IjMwIjtzOjEyOiJjc3NfaDFfY29sb3IiO3M6MTY6InJnYigyNTUsMjU1LDI1NSkiO3M6MTY6ImNzc19oMV9mb250X3NpemUiO3M6MjoiNTAiO3M6MTg6ImNzc19oMV9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Implements styles set in the theme customizer | |
* | |
* @package Customizer Library Demo | |
*/ | |
if ( ! function_exists( 'customizer_library_demo_build_styles' ) && class_exists( 'Customizer_Library_Styles' ) ) : | |
/** | |
* Process user options to generate CSS needed to implement the choices. | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Defines customizer options | |
* | |
* @package Customizer Library Demo | |
*/ | |
function customizer_library_demo_options() { | |
// Theme defaults |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Functions used to implement options | |
* | |
* @package Customizer Library Demo | |
*/ | |
/** | |
* Enqueue Google Fonts Example | |
*/ | |
function my_customizer_fonts() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Require Files | |
// ============================================================================= | |
require_once( 'customizer-options.php' ); | |
require_once( 'customizer-mods.php' ); | |
require_once( 'customizer-styles.php' ); | |
function new_update_native_customizer_functionality( $wp_customize ) { |
NewerOlder