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 | |
/** | |
* This file adds the starter content to the Genesis Starter theme. | |
* | |
* @package Genesis Starter | |
* @link https://make.wordpress.org/core/2016/11/30/starter-content-for-themes-in-4-7/ | |
* @author Seo Themes | |
* @copyright Copyright © 2017 Seo Themes | |
* @license GPL-2.0+ | |
*/ |
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
// Register demo widget area. | |
genesis_register_sidebar( array( | |
'id' => 'demo_widget', | |
'name' => __( 'Demo Widget', 'mytheme' ), | |
'description' => __( 'This is the demo widget area.', 'mytheme' ), | |
) ); | |
// Hook demo widget area before site footer. | |
function mytheme_demo_widget_area() { |
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 | |
/** | |
* Only load JMIG on specific pages. | |
*/ | |
function jmig_pages() { | |
if ( ! is_page( array( 148, 150 ) ) ) { | |
remove_action( 'wp_enqueue_scripts', 'jmig_css', 99 ); | |
remove_action( 'wp_enqueue_scripts', 'jmig_js' ); |
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
chown -Rf www-data:www-data /var/www/example.com/htdocs/wp-content |
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 | |
/** | |
* Add flexible widget classes. | |
* | |
* @param string $id Widget area ID. | |
* @return string $class Flexible widgets CSS class. | |
*/ | |
function starter_widgets_flex_class( $id ) { | |
global $sidebars_widgets; |
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
cat _*.scss > merged.scss |
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="one-third first"> | |
<a href="#"><i class="icon-map-pin"></i> 123 Fourth Street, Los Angeles CA</a> | |
<a href="#"><i class="icon-phone"></i> 1300 123 456</a> | |
<a href="#"><i class="icon-envelope"></i> info@studio.com</a> <p>Next steps proximity strategic partners traction. In the queue pivot next steps value-add next level. Pipeline organic hackathon.</p> | |
<a href="#"><i class="icon-facebook"></i></a> | |
<a href="#"><i class="icon-twitter"></i></a> | |
<a href="#"><i class="icon-dribbble"></i></a> | |
</div> | |
<div class="two-thirds"> [ninja_form id=1] </div> |
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
<h3>Two Columns</h3> | |
<p> </p> | |
<div class="pricing-table"> | |
<div class="one-half first"> | |
<strong>Price</strong> | |
<span>A short description</span> | |
<small>$</small><big>99.00</big> | |
<p></p> | |
<ul> | |
<li>First feature</li> |
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 | |
/** | |
* Template Name: Narrow Content | |
* | |
* This file adds the narrow content page template to the Studio Pro Theme. | |
* | |
* @package Studio Pro | |
* @author SeoThemes | |
* @license GPL-2.0+ | |
* @link https://seothemes.com/themes/studio-pro |
OlderNewer