While nginx microcaching already solves page caching (as of static, rarely changing WordPress pages), the performance for dynamically generated pages (like WooCommerce shop pages and admin backend in general) can benefit greatly from additionally using an object cache. Object caching allows an application (in this case WordPress with its plugins, theme, etc.) to store prepared objects (mostly database queries) in a database and quickly retrieve them, therefore improving the performance of dynamic page generation. Object caching is (usually) transparent, which means that it shouldn't be noticeable by users and developers (except for the performance improvements of course).
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
/** @wordpress */ | |
import {__} from '@wordpress/i18n' | |
import {RichText} from '@wordpress/block-editor' | |
/** Modules */ | |
import PropTypes from 'prop-types' | |
/** Components */ | |
import Buttons from '@blocks/ndn-page-header/components/Buttons' |
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 | |
add_filter( 'gform_pre_render', 'custom_image_choices_options' ); | |
add_filter( 'gform_pre_validation', 'custom_image_choices_options' ); | |
add_filter( 'gform_pre_submission_filter', 'custom_image_choices_options' ); | |
add_filter( 'gform_admin_pre_render', 'custom_image_choices_options' ); | |
function custom_image_choices_options( $form ) { | |
if ( $form['id'] != 9999 ) {// set to the form id you want to run this on |
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
/* CSS Custom Properties */ | |
:root { | |
--font-family: 'Georgia', serif; | |
--font-family-alt: 'Helvetica', Arial, sans-serif; | |
--font-weight: 400; | |
--font-weight-bold: 700; | |
--font-weight-black: 900; | |
/* 3:4 perfect fourth scale */ |
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
function my_acf_block_render_callback( $block ) { | |
$slug = str_replace('acf/', '', $block['name']); | |
$block['slug'] = $slug; | |
$block['classes'] = implode(' ', [$block['slug'], $block['className'], $block['align']]); | |
echo \App\template("blocks/${slug}", ['block' => $block]); | |
} |
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
{{-- | |
Title: Témoignage | |
Description: test | |
Category: formatting | |
Icon: admin-comments | |
Keywords: testimonial quote | |
--}} | |
<blockquote data-{{$block['id']}} class="{{$block['classes']}}"> | |
<p>{{the_field('testimonial')}}</p> |
Name | Type | License | Tech |
---|---|---|---|
apostello | SMS communication | MIT | Python |
Bible API | bible reference | MIT | Ruby |
Bible Helper | bible reference | MIT | JavaScript |
Cedar | media projection | MIT | JavaScript (Meteor) |
Chabaa | service streaming and chat | GPLv3 | PHP |
CHUMS | ChMS | MIT | TypeScript |
ChurchCRM | ChMS | MIT | PHP |
ChurchInfo | ChMS | GPLv2 | PHP |
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
<script type="text/javascript"> | |
jQuery(document).bind('gform_post_render', function(e, formId, currentFormPage) { | |
var $form = jQuery('#gform_' + formId); | |
if ($form.data('configurator-init') === true) { | |
return; | |
} | |
$form.on('click', '.config-layer.image-choices-field .ginput_container_radio input', function (e) { |
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
/* -------------------------------------------------------------------------- */ | |
// All Bootstrap 4 Sass Mixins [Cheat sheet] | |
// @author http://anschaef.de | |
// @see https://github.com/twbs/bootstrap/tree/v4-dev/scss/mixins | |
/* -------------------------------------------------------------------------- */ | |
// Grid variables | |
$grid-columns: 12 !default; | |
$grid-gutter-width: 30px !default; |
NewerOlder