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 | |
/** Ad Box **/ | |
/** Author: Adrian Korte, @adkorte **/ | |
/** add this snippet to your functions.php **/ | |
// add a meta box to your edit/new post screen | |
add_action( 'add_meta_boxes', 'meta_ad_box_add' ); | |
function meta_ad_box_add() | |
{ |