Active Ads

Maui Now Clean Up

Additional Functions


// pmg_adserver_category(WORDPRESS CATEGORY ID) returns PMG AD Server Category ID
// for single.php Article Category Association.
// Add This Function to functions.php in Theme Folder

function pmg_adserver_category($wp_catid)
{
     $category_association = array();
     //$category_association["WORDPRESS CATEGORY ID"] = "PMG AD SERVER CATEGORY ID";

     return $category_association[$wp_catid];
}