A mixin for writing @font-face rules in SASS.
Create a font face rule. Embedded OpenType, WOFF2, WOFF, TrueType, and SVG files are automatically sourced.
@include font-face(Samplino, fonts/Samplino);| /* ~/Library/KeyBindings/DefaultKeyBinding.Dict | |
| This file remaps the key bindings of a single user on Mac OS X 10.5 to more | |
| closely match default behavior on Windows systems. This makes the Command key | |
| behave like Windows Control key. To use Control instead of Command, either swap | |
| Control and Command in Apple->System Preferences->Keyboard->Modifier Keys... | |
| or replace @ with ^ in this file. | |
| Here is a rough cheatsheet for syntax. | |
| Key Modifiers |
| class Text_Editor_Custom_Control extends WP_Customize_Control | |
| { | |
| public $type = 'textarea'; | |
| /** | |
| ** Render the content on the theme customizer page | |
| */ | |
| public function render_content() { ?> | |
| <label> | |
| <span class="customize-control-title"><?php echo esc_html( $this->label ); ?></span> | |
| <?php |
| //* http://www.codemyownroad.com/add-currency-code-suffix-prices-woocommerce/ | |
| // Location: add to functions.php | |
| // Output: displays $0.00 AUD on all pages | |
| function addPriceSuffix($format, $currency_pos) { | |
| switch ( $currency_pos ) { | |
| case 'left' : | |
| $currency = get_woocommerce_currency(); | |
| $format = '%1$s%2$s ' . $currency; | |
| break; |
| <?php | |
| // @link http://www.jaredatchison.com/code/add-next-previous-post-links-genesis/ | |
| // Check if there are next or previous posts | |
| // First paramter is 'in_same_term'?, make sure it matches third parameter in previous_post_link / next_post_link (which defaults to false) | |
| $next = get_adjacent_post( false, '', false ); | |
| $previous = get_adjacent_post( false, '', true ); | |
| //Set up CSS styles to know if there are next or previous posts only |
| <?php | |
| /** | |
| * Plugin Name: Envira Gallery - Lightbox for Custom Images | |
| * Plugin URI: http://enviragallery.com | |
| * Version: 2.0 | |
| * Author: Erica Franz | |
| * Author URI: https://fatpony.me/ | |
| * Description: Use the Envira Gallery lightbox for non-gallery images throughout your site. | |
| */ |
| /** | |
| * How to link into the WordPress Customizer | |
| */ | |
| Simple Link: | |
| <a href="<?php echo esc_url( admin_url( 'customize.php' ) ); ?>">Link to Customizer</a> | |
| Link to Panel: | |
| $query['autofocus[panel]'] = 'nav_menus'; |
| <?php | |
| /** | |
| * Plugin Name | |
| * | |
| * @package Custom_Featured_Post_Widget | |
| * @author Gary Jones | |
| * @license GPL-2.0+ | |
| * @link http://gamajo.com/ | |
| * @copyright 2013 Gary Jones, Gamajo Tech | |
| */ |
| <?php | |
| /********* DO NOT COPY THE PARTS ABOVE THIS LINE *********/ | |
| /* Remove Yoast SEO columns for all users site wide | |
| * Credit: Andrew Norcross http://andrewnorcross.com/ | |
| * Last Tested: Sep 17 2024 using Yoast SEO 23.4 on WordPress 6.6.2 | |
| * | |
| * If you have custom post types, you can add additional lines in this format | |
| * add_filter( 'manage_edit-{$post_type}_columns', 'yoast_seo_admin_remove_columns', 10, 1 ); | |
| * replacing {$post_type} with the name of the custom post type. |
####Rets Rabbit http://www.retsrabbit.com
Rets Rabbit removes the nightmare of importing thousands of real estate listings and photos from RETS or ListHub and gives you an easy to use import and Web API server so you can focus on building your listing search powered website or app.