This file contains hidden or 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_filter( 'template_include', 'ja_template_check' ); | |
| function ja_template_check( $template ) { | |
| if ( is_category() ){ | |
| // Get category information | |
| $cat = get_query_var( 'cat' ); | |
| $category_info = get_category( $cat ); | |
| // News sub-categories, where 7 is the ID for News |
This file contains hidden or 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 | |
| /** | |
| * Iterates over results of a query, split into many queries via LIMIT and OFFSET | |
| */ | |
| class QueryIterator implements Iterator { | |
| var $limit = 500; | |
| var $query = ''; | |
| var $global_index = 0; |
This file contains hidden or 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
| 0-mail.com | |
| 0815.ru | |
| 0clickemail.com | |
| 0wnd.net | |
| 0wnd.org | |
| 10minutemail.com | |
| 20minutemail.com | |
| 2prong.com | |
| 30minutemail.com | |
| 3d-painting.com |
This file contains hidden or 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
| Location | Name | Frequency | Duplex | Offset | Tone | rToneFreq | cToneFreq | DtcsCode | DtcsPolarity | Mode | TStep | Skip | Comment | URCALL | RPT1CALL | RPT2CALL | DVCODE | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 462.125000 | 0.000000 | TSQL | 88.5 | 69.3 | 023 | NN | FM | 5.00 | S | ||||||||
| 2 | 462.225000 | 0.000000 | 88.5 | 88.5 | 023 | NN | FM | 5.00 | S | |||||||||
| 3 | 462.325000 | 0.000000 | 88.5 | 88.5 | 023 | NN | FM | 5.00 | S | |||||||||
| 4 | 462.425000 | 0.000000 | TSQL | 88.5 | 103.5 | 023 | NN | FM | 5.00 | S | ||||||||
| 5 | 462.525000 | 0.000000 | TSQL | 88.5 | 114.8 | 023 | NN | FM | 5.00 | S | ||||||||
| 6 | 462.625000 | 0.000000 | TSQL | 88.5 | 127.3 | 023 | NN | FM | 5.00 | S | ||||||||
| 7 | 462.725000 | 0.000000 | TSQL | 88.5 | 136.5 | 023 | NN | FM | 5.00 | S | ||||||||
| 8 | 462.825000 | 0.000000 | TSQL | 88.5 | 162.2 | 023 | NN | FM | 5.00 | S | ||||||||
| 9 | 462.925000 | 0.000000 | DTCS | 88.5 | 88.5 | 023 | NN | FM | 5.00 | S |
This file contains hidden or 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
| /** | |
| * Each of these samples can be used - note that you should pick one rather than add them all. | |
| * | |
| * How to use WC notices: https://github.com/woothemes/woocommerce/blob/master/includes/wc-notice-functions.php#L96 | |
| * Tutorial: http://www.skyverge.com/blog/edit-woocommerce-templates/ | |
| **/ | |
| /** | |
| * Add a content block after all notices, such as the login and coupon notices. | |
| * |
This file contains hidden or 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 ~/bin directory to path if it exists | |
| if [ -d "$HOME/bin" ] ; then | |
| PATH="$PATH:$HOME/bin" | |
| fi | |
| # Set up alias for WP CLI | |
| alias wp="php-7.2 $HOME/bin/wp-cli.phar" |
This file contains hidden or 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 | |
| /* | |
| * Set the following constants in wp-config.php. | |
| * These should be added somewhere BEFORE the constant ABSPATH is defined. | |
| * | |
| * Author: Chad Butler | |
| * Author URI: https://butlerblog.com | |
| * | |
| * For more information and instructions, see: https://b.utler.co/Y3 |
This file contains hidden or 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 custom classes to the array of body classes. | |
| * | |
| * @param array $classes Classes for the body element. | |
| * @return array (Maybe) filtered body classes. | |
| */ | |
| function wpcampus_body_classes( $classes ) { | |
| // Adds a class of no-sidebar to custom no-sidebar page template. | |
| if ( is_page_template('page-no-sidebar.php') ) { |
This file contains hidden or 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
| const objectFit = document.documentElement.style.hasOwnProperty('objectFit') | |
| const images = Layzr({ threshold: 90 }) | |
| images.on('src:after', img => { | |
| let parent = img.parentNode | |
| // optional, to style loaded state | |
| parent.setAttribute('data-lazy', 'is-loaded') |
OlderNewer