Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save BeardedGinger/bea035a81e9d09b565d73af68b3d8ca9 to your computer and use it in GitHub Desktop.
Save BeardedGinger/bea035a81e9d09b565d73af68b3d8ca9 to your computer and use it in GitHub Desktop.
change priority on default ads
<?php
/**
* For use with the Owner/Author Ad Split plugin
*
* @link https://wordpress.org/plugins/ownerauthor-ad-split-for-genesis/
*/
add_filter( 'below_content_ad_priority','move_below_default_ad' );
/**
* Moves the below content ad above the content and below the post image
*/
function move_below_default_ad() {
return 9;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment