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 namespace FSM\Themes\Core\Customizer\Controls; | |
use Timber; | |
use WP_Customize_Control; | |
use FSM\Library\Exceptions\BadResponseException; | |
use FSM\Library\Exceptions\BadConfigException; | |
/** | |
* Customize Fonts Class | |
* |
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
Fatal error: Uncaught Error: Class 'WP_Customize_Control' not found in /home/**********/public_html/wp-content/themes/fsm-core/classes/FSM/Themes/Core/Customizer/Controls/Font.php:13 Stack trace: #0 /home/**********/public_html/wp-content/themes/fsm-core/vendor/composer/autoload_real.php(69): require() #1 /home/**********/public_html/wp-content/themes/fsm-core/vendor/composer/autoload_real.php(59): composerRequirea9d1e666569764fdee5c26a21d49aab3('f6c6431ae0a5cec...', '/home/******...') #2 /home/**********/public_html/wp-content/themes/fsm-core/vendor/autoload.php(7): ComposerAutoloaderInita9d1e666569764fdee5c26a21d49aab3::getLoader() #3 /home/**********/public_html/wp-content/themes/fsm-core/functions.php(28): require_once('/home/**********...') #4 /home/**********/public_html/wp-settings.php(546): include('/home/*****...') #5 /home/**********/public_html/wp-config.php(90): require_once('/home/**********...') #6 /home/**********k/public_html/wp-load.php(50): require_once in /home/**********/public_html/wp-con |
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
/* | |
* Mod Default Query | |
* | |
* get at the default query and make your changes before the template ( or whatever is run ) | |
* | |
*/ | |
function ahso_default_query_mods( $query ) { | |
// use conditional tags | |
if ( is_tax('work_cat') ) { |
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
/************* ADDING CLASSES TO POST_CLASS **************/ | |
// every post has a few uniquely colored elements, rather than rely on CSS nth-magic, and to keep things smooth | |
// and not conflict w/ trying to use jQuery nth-magic in tandem w/ the endless scroll, | |
// the option is to get the server to do the heavy lifting, | |
// ideally it would be nice to pass the array of classes to iterate thru into the filter, | |
/** | |
* | |
* @param $classes | |
* @return array |