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
body.page-template-template-full-width #content #primary { | |
max-width: 100%; | |
} | |
body.page-template-template-full-width #content #primary .entry-header, | |
body.page-template-template-full-width #content #primary .entry-content { | |
float: none; | |
width: 100%; | |
} |
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 | |
/** | |
* Theme Coder Child functions and definitions | |
* | |
* @package Theme Coder | |
* | |
*/ | |
/** | |
* Enqueue scripts and styles. |
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
/** | |
* Scroll to Top JS | |
*/ | |
( function( $ ) { | |
$.fn.scrollToTop = function() { | |
var scrollButton = $( this ); |
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
// Text Color Mixin. | |
@mixin color($colorVar) { | |
color: map-get($themeColors, $colorVar); | |
color: var($colorVar); | |
} | |
// Background Color mixin. | |
@mixin backgroundColor($colorVar) { | |
background-color: map-get($themeColors, $colorVar); | |
background-color: var($colorVar); |
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
/** | |
* WordPress dependencies | |
*/ | |
const { registerPlugin } = wp.plugins; | |
/** | |
* Internal dependencies | |
*/ | |
import plugin from './plugin'; |
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
/** | |
* Return Social Sharing Links. | |
*/ | |
function theme_slug_social_sharing() { | |
// Get current page URL. | |
$page_url = get_permalink(); | |
// Get current page title. | |
$page_title = get_the_title(); |
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 | |
/** | |
* Adds Layout Options section and sidebar position setting. | |
* | |
* @param WP_Customize_Manager $wp_customize The Customizer object. | |
*/ | |
function theme_slug_customize_register( $wp_customize ) { | |
// Add layout options section. | |
$wp_customize->add_section( 'theme_slug_layout_options', array( |
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 | |
/* | |
Plugin Name: ThemeZee Featured Content Cache Reset | |
Plugin URI: https://themezee.com | |
Description: Resets the transient caching for featured posts on WordPress.com | |
Author: ThemeZee | |
Author URI: https://themezee.com/ | |
Version: 1.0 | |
Text Domain: themezee-featured-content-cache-reset | |
License: GPL v3 |
NewerOlder