Download count shortcode
Add download count shortcode with ID and Offset attributes
Only count last file
This plugin makes it so that All Access only increments the download counter if the customer…
Remove Product Notes For Specific Downloads
Remove a download's product notes from showing on the purchase confirmation page, the admin email, and…
Shipping label template
/** * The template for displaying the shipping label * * Override this template by copying…
Current Year
function current_year_shortcode() { return date('Y'); } add_shortcode('year', 'current_year_shortcode');
Untitled Snippet
google-site-verification=Z6ci_S0g839p6z-pqU4OUb5KSQpdoJBRrjh791uaErY
Escaping data with wp_kses
// ❌ Don't use html tags in escaping functions like esc_html, esc_attr and their localized equivalents…
Tweak Price Display (Adjusts the Prices) | Display Eventbrite Events
The Display Eventbrite plugin premium version can display prices. If you want to tweak to display…
Disable WP Texturize
// Disable curly quotes remove_filter( 'the_content', 'wptexturize' );
unitap.io
function myfirsttheme_setup() { /* * Load additional block styles. */ $styled_blocks = ['latest-comments']; foreach ( $styled_blocks…
Untitled Snippet
// Get the butterflies container const butterfliesContainer = document.querySelector('.butterflies'); // Create a function to generate a…
om-emberjs.js
// Using Ember.js. import Route from '@ember/routing/route'; export default Route.extend({ beforeModel(transition) { if (window.om5678_1234) { window.om5678_1234.reset();…
slide-bottom-center.css
html div#om-{{id}} { width: 350px !important; left: calc(350px / 2) !important; right: calc(350px / 2) !important;…