Become an expert, build a following, and gain financial independence.
by Nathan Barry
Table of Contents
| <?php | |
| /** | |
| * Assumptions: | |
| * - Form ID is #28 | |
| * - Page ID is 406200 | |
| * - Fields include radio for reason & extra details where needed. | |
| */ | |
Become an expert, build a following, and gain financial independence.
by Nathan Barry
Table of Contents
| <?php | |
| if( !class_exists( 'SMOFtoRedux' ) ) { | |
| class SMOFtoRedux { | |
| public function __construct( ) { | |
| add_action('init', array($this, 'addPanel'), 100); | |
| add_action( 'admin_menu', array($this, 'addExportMenu') ); |
| <?php | |
| add_action( 'wp_enqueue_scripts', 'enqueue_my_styles' ); | |
| /** | |
| * Example callback function that demonstrates how to properly enqueue conditional stylesheets in WordPress for IE. | |
| * IE10 and up does not support conditional comments in standards mode. | |
| * | |
| * @uses wp_style_add_data() WordPress function to add the conditional data. | |
| * @link https://developer.wordpress.org/reference/functions/wp_style_add_data/ |
| <?php | |
| add_filter("the_content", "the_content_filter"); | |
| function the_content_filter($content) { | |
| // array of custom shortcodes requiring the fix | |
| $block = join("|",array("col","shortcode2","shortcode3")); | |
| // opening tag |