Skip to content

Instantly share code, notes, and snippets.

View megmorsie's full-sized avatar
🇵🇸

Megan Rose megmorsie

🇵🇸
View GitHub Profile
@megmorsie
megmorsie / wpse211164.php
Created December 17, 2015 15:51
WordPress Stack Exchange: Customiser sections not being displayed with `active_callback`
<?php
/*
* Plugin Name: Stack: Customiser sections not being displayed with `active_callback`
* Plugin URI: http://wordpress.stackexchange.com/questions/211164/customiser-sections-not-being-displayed-with-active-callback
* Description: Stack Exchange - WordPress Development
* Version: 1.0
* Author: Megan Morsie
* Author URI: http://megabyterose.com/
* License: GPL2
*/
@megmorsie
megmorsie / wpse211556.php
Last active December 17, 2015 15:42
WordPress Stack Exchange: How to only show page id as body class?
<?php
/*
* Plugin Name: Stack: How to only show page id as body class?
* Plugin URI: http://wordpress.stackexchange.com/questions/211556/how-to-only-show-page-id-as-body-class
* Description: Stack Exchange - WordPress Development
* Version: 1.0
* Author: Megan Morsie
* Author URI: http://megabyterose.com/
* License: GPL2
*/
@megmorsie
megmorsie / wpse210596.php
Last active December 17, 2015 15:44
WordPress Stack Exchange: Flush_rewrite_rules not working when settings updated
<?php
/*
* Plugin Name: Stack: Flush_rewrite_rules not working when settings updated
* Plugin URI: http://wordpress.stackexchange.com/questions/210596/flush-rewrite-rules-not-working-when-settings-updated
* Description: Stack Exchange - WordPress Development
* Version: 1.0
* Author: Megan Morsie
* Author URI: http://megabyterose.com/
* License: GPL2
*/