Browser-side example using @chenglou/pretext to pick an H1 font-size (or a CSS class) from measured wraps at a few container widths, instead of a raw character count.
npm install @chenglou/pretextBrowser-side example using @chenglou/pretext to pick an H1 font-size (or a CSS class) from measured wraps at a few container widths, instead of a raw character count.
npm install @chenglou/pretext| <?php | |
| /** | |
| * Plugin Name: WebFX Plugin - WP Rocket Disable Automatic Lazy Rendering | |
| * Description: Disables WP Rocket's automatic lazy rendering to prevent conflicts with custom lazy load implementations. | |
| * Version: 1.0.0 | |
| */ | |
| /* |
| import "./index.css"; | |
| import { useState } from "react"; | |
| import ColumnHeader from "../columnHeader"; | |
| import ColumnHeaderFilter from "../columnHeaderFilter"; | |
| import FilterModal from "../filterModal"; | |
| import FilterFormFeatureText from "../filterForms/text"; | |
| // re: https://codesandbox.io/s/scrollable-sticky-panes-t0x86?from-embed=&file=/index.html:448-1358 | |
| function TheGrid({ headerRowHeight, leadingColumnWidth, font, features, dimensions, dimensionsFeatures }) { | |
| const [modalContent, setModalContent] = useState(null); |
| <?php | |
| /** | |
| * Plugin Name: WebFX - WPML - Workaround - Fix Synchronize Sticky Flag | |
| * Plugin URI: https://www.webfx.com/ | |
| * Description: Fix WPML's Synchronize Sticky Flag setting to work when a post type is set to Translatable - use translation if available or fallback to default language. | |
| * Version: 0.0.1 | |
| */ | |
| class WebFX_WPML_Workaround_Fix_Synchronize_Sticky_Flag |
| <?php | |
| /** | |
| * Class for importing YouTube video links for products via WP CLI | |
| */ | |
| final class FX_Gatorco_Import_Videos | |
| { | |
| private static $instance; | |
| public static function get_instance() | |
| { | |
| if (!(self::$instance instanceof self)) { |
| #!/usr/bin/env bash | |
| # Commonly Supported Style Codes | |
| # https://prnt.sc/v-GFBk1q0_TL | |
| # Variables can be bound for style codes | |
| style_fg_black=30 | |
| style_fg_red=31 | |
| style_fg_green=32 | |
| style_fg_yellow=33 |
| # Ignore everything | |
| /** | |
| # Don't ignore .gitignore | |
| !/.gitignore | |
| # Don't ignore wp-content | |
| !/wp-content/ | |
| # Ignore everything beneath wp-content |
| <?php | |
| /* | |
| * Plugin Name: WebFX Plugin Jetpack and Limit Login Attempts Security Integration | |
| * Version: 0.0.1 | |
| */ | |
| defined('ABSPATH') || exit; | |
| if (!function_exists('webfx_jetpack_lla_debug_log')) { | |
| /** | |
| * Debug log |
| #!/usr/bin/env bash | |
| # Commonly Supported Style Codes | |
| # https://prnt.sc/v-GFBk1q0_TL | |
| # Variables can be bound for style codes | |
| style_fg_yellow=33 | |
| style_bg_bright_black=100 | |
| style_bg_black=40 | |
| style_bright=1 |
| # Ignore everything | |
| /** | |
| # Don't ignore .gitignore | |
| !/.gitignore | |
| # Don't ignore wp-content | |
| !/wp-content/ | |
| # Ignore everything beneath wp-content |