Skip to content

Instantly share code, notes, and snippets.

View jonschr's full-sized avatar

Jon Schroeder jonschr

View GitHub Profile
// This constant should be defined in the main file for the plugin, even if the rest of this code is loaded elsewhere
define( 'ELODIN_STAFF_DIR', plugin_dir_path( __FILE__ ) );
use AC\ListScreenRepository\Storage\ListScreenRepositoryFactory;
use AC\ListScreenRepository\Rules;
use AC\ListScreenRepository\Rule;
add_filter( 'acp/storage/repositories', function( array $repositories, ListScreenRepositoryFactory $factory ) {
//! Change $writable to true to allow changes to columns for the content types below
$writable = false;
2021-03-29 07:50:03 Yardi returned error code 1050 for property 1010Linc.
2021-03-29 07:50:04 Yardi returned error code 1070 for property 101914.
2021-03-29 07:50:04 Yardi returned error code 1070 for property 102714.
2021-03-29 07:50:04 Yardi returned error code 1050 for property 1031Port.
2021-03-29 07:50:04 Yardi returned error code 1050 for property 103314th.
2021-03-29 07:50:04 Yardi returned error code 1050 for property 1041gr.
2021-03-29 07:50:05 Yardi returned error code 1070 for property 106813.
2021-03-29 07:50:05 Yardi returned error code 1050 for property 108013th.
2021-03-29 07:50:05 Yardi returned error code 1070 for property 1085-3.
2021-03-29 07:50:06 Yardi returned error code 1050 for property 1085b5.
100011th,1002univ,100615th,101012th,1010Linc,10119th,101210th,101214th,101215th,1014penn,101511th,1015penn,1018col,101914,102010th,1025-102,102714,10309th,1030smon,1031Port,103314th,103712th,104113th,1041gr,104511th,104512th,104514th,1050sir,105914th,106511th,1065-112,1065-116,1065-122,1065-204,1065-203,1065-219,1065-102,1065-120,1065-110,1065-118,1065-218,1065-220,106813,1075sir,107511th,10779th,108010th,108011th,108013th,1085-11,1085-13,1085-19,1085-3,1085b5,1100Clar,1101penn,1101-110,1111linc,1111Maxw,111412th,1115penn,112510th,1125Linc,112712th,1131UNIV,113111th,113510th,113710th,1137colu,1138-40,113912th,114010th,1150Coll,1150lin,115110th,1151Gran,1156Linc,1163linc,1189Monr,1200-224,1200-118,1200-125,1200-201,1200203,1200-210,1200-213,1200-219,1200-220,1200-205,1200108,1200-101,1200-106,1200-109,1200-110,1200-112,1200-113,1200-124,1200207,1200208,1200-211,1200-214,1200215,1200-216,1200-218,1201Bren,1215resi,1215E14t,1215comm,1217east,122126th,1235resi,1235comm,1238was,1242was,1302mil,1308gra,1328coff,135
<?php
add_action( 'mb_relationships_init', function () {
MB_Relationships_API::register( array(
'id' => 'programs_to_updates',
'to' => 'projects',
'from' => 'updates',
) );
@media( max-width: 600px ) {
p[text-align:"center"],
p.align-center {
text-align: left;
}
}
jQuery(document).ready(function( $ ) {
$( window ).on( 'load', staffpageload );
$( '.stafftermlink' ).on( 'click', stafftermclick );
function stafftermclick( e ) {
e.preventDefault();
//* set the clicked link to active
$( '.stafftermlink' ).attr( 'data-status', 'inactive' );
<?php
/*
Plugin Name: Counter
Plugin URI: https://github.com/jonschr/elodin-counter
GitHub Plugin URI: https://github.com/jonschr/elodin-counter
Description: Just another counter plugin
Version: 0.1
Author: Jon Schroeder
Author URI: http://elod.in
/*
Frontend
========================================================================== */
.entry-content > .wp-block-atomic-blocks-ab-container.alignfull {
padding: 10% 5%;
.ab-container-inside {
max-width: 1200px;
}
(function($){
$(document).ready(function(){
$('input[name="input_4"]').on( 'input', function() {
if( $('select[name="input_2"]').val() === 'en_option2' || $('select[name="input_2"]').val() === 'en_option4' ){
$('#name').html( 'When You Support<br><span>' + $(this).val() + '</span><br>You Support' );
}else if( $('select[name="input_2"]').val() === 'es_option2' || $('select[name="input_2"]').val() === 'es_option4' ){
$('#name').html( 'Cuando Apoyas<br><span>' + $(this).val() + '</span><br>Tu Apoyo' );
}else{
$('#name').html( $(this).val() );
<?php
//* Output services before
// add_action( 'before_loop_layout_services_photo', 'rb_services_photo_before' );
function rb_services_photo_before( $args ) {
// wp_enqueue_script( 'SCRIPTHANDLE' );
}
//* Output each services
add_action( 'add_loop_layout_services_photo', 'rb_services_photo_each' );