Documentation Glossary
-
Admin Dashboard Anything within the admin panel is referred to as the admin dashboard
-
Orchard Just refer to it as Orchard not Orchard CMS or Orchard Project.
-
Guide A page of docs. Not a topic, tutorial, lesson, etc.
public class GetAlphaRouletteLinks | |
{ | |
// Outputs markup like this: | |
// <a href="#rouletteA">A</a> | <a href="#rouletteB">B</a> | <a href="#rouletteC">C</a> | <a href="#rouletteD">D</a> | <a href="#rouletteE">E</a> | <a href="#rouletteF">F</a> | G | <a href="#rouletteH">H</a> | <a href="#rouletteI">I</a> | <a href="#rouletteJ">J</a> | K | <a href="#rouletteL">L</a> | <a href="#rouletteM">M</a> | <a href="#rouletteN">N</a> | <a href="#rouletteO">O</a> | <a href="#rouletteP">P</a> | <a href="#rouletteQ">Q</a> | <a href="#rouletteR">R</a> | <a href="#rouletteS">S</a> | <a href="#rouletteT">T</a> | <a href="#rouletteU">U</a> | V | <a href="#rouletteW">W</a> | X | Y | Z | |
// Notice how it skips the link for any letters that don't have jobs starting with that letter eg: | |
// <a href="#rouletteW">W</a> | X | Y | Z | |
public string GetAlphaRouletteLinksHtmlMarkup() | |
{ | |
var JobList = new List<String>() { |
Admin Dashboard Anything within the admin panel is referred to as the admin dashboard
Orchard Just refer to it as Orchard not Orchard CMS or Orchard Project.
Guide A page of docs. Not a topic, tutorial, lesson, etc.
import * as THREE from 'three'; | |
export default class Animation { | |
constructor(scene, animations) { | |
this.scene = scene; | |
this.animations = animations; | |
this.mixer = new THREE.AnimationMixer(this.scene); | |
} |
// The class itself is based on the animation helper class in | |
// https://github.com/paulmg/ThreeJS-Webpack-ES6-Boilerplate | |
// but I have changed almost everything except for the class name and the update function. | |
import * as THREE from 'three'; | |
export default class Animation { | |
constructor(scene, animations) { | |
this.scene = scene; | |
this.animations = animations; |
// originally based on https://gist.github.com/kenhowardpdx/8484076 | |
// updated to current gtag.js snippet and moved to head | |
function rtp_init_analytics() { | |
$analytics_id = 'YOUR UA CODE HERE'; | |
$analytics = '<!-- Global site tag (gtag.js) - Google Analytics --> | |
<script async src="https://www.googletagmanager.com/gtag/js?id='. $analytics_id .'"></script> | |
<script> | |
window.dataLayer = window.dataLayer || []; | |
function gtag(){dataLayer.push(arguments);} |
<?php | |
/** | |
* Filter for Unlimited Elements to format a date range, from two timestamps | |
*/ | |
function filter_format_date_range($startTimeStamp, $endTimeStamp){ | |
$displayDate = ""; | |
if($startTimeStamp == $endTimeStamp) { | |
// same date | |
$displayDate = date('j M Y', $endTimeStamp); |
<?php | |
/* | |
Plugin Name: SOKA Elementor Image Carousel Gallery ID | |
Plugin URI: https://sokastudio.co.uk/ | |
Text Domain: soka-elementor-gallery-id | |
Description: Control the gallery id to separate out lightbox galleries in JetEngine listings | |
Version: 1.2.0 | |
Author: Matthew Harris, SOKA Studio | |
Author URI: https://sokastudio.co.uk/ | |
License: GPLv2 or later |
<?php | |
/* | |
Plugin Name: Post Grid Yoast Primary Category | |
Plugin URI: https://runthings.dev/ | |
Description: Bring the primary category to the start of the list | |
Version: 1.0.0 | |
Author: runthings.dev | |
Author URI: https://runthings.dev/ | |
*/ |
<?php | |
/* | |
Plugin Name: Post Grid Layout - Parent Title With Link | |
Plugin URI: https://runthings.dev/ | |
Description: Display the parent page title in the layout editor, with optional link. | |
Version: 1.0.0 | |
Author: runthings.dev | |
Author URI: https://runthings.dev/ | |
*/ |
<?php | |
/** | |
* Clone the subscriber role to create a tenant role | |
* Note: this only needs to be run once, so it can be removed after the role is created | |
*/ | |
function clone_subscriber_to_tenant() { | |
$new_role = 'tenant'; | |
$new_role_name = 'Tenant'; | |
$source_role = 'subscriber'; |