$cat_ID ) { if( empty($cat_ID) ) continue; $category = get_category_to_edit($cat_ID); if( is_wp_error($category) ) { // $cat_ID does not existing continue; } $columns = powerpress_admin_customfeeds_columns(); $hidden = array(); if( $count % 2 == 0 ) echo ''; else echo ''; $edit_link = admin_url('admin.php?page='. powerpress_admin_get_page() .'&action=powerpress-editcategoryfeed&cat=') . $cat_ID; $feed_title = $category->name; if( !empty($General['cat_casting_podcast_feeds']) ) $url = get_category_feed_link($cat_ID, 'podcast'); else $url = get_category_feed_link($cat_ID); $short_url = str_replace('http://', '', $url); $short_url = str_replace('www.', '', $short_url); if (strlen($short_url) > 35) $short_url = substr($short_url, 0, 32).'...'; foreach($columns as $column_name=>$column_display_name) { $class = "class=\"column-$column_name\""; //$short_url = ''; switch($column_name) { case 'feed-slug': { echo ""; }; break; case 'name': { echo ''; }; break; case 'url': { echo ""; }; break; case 'episode-count': { echo ""; }; break; default: { }; break; } } echo "\n \n"; $count++; } ?>
{$category->slug}"; echo "'. esc_html($feed_title) .'
'; $actions = array(); $actions['edit'] = '' . __('Edit', 'powerpress') . ''; $actions['remove'] = "" . __('Remove', 'powerpress') . ""; $action_count = count($actions); $i = 0; echo '
'; foreach ( $actions as $action => $linkaction ) { ++$i; ( $i == $action_count ) ? $sep = '' : $sep = ' | '; echo ''.$linkaction.$sep .''; } echo '
'; echo '
$short_url"; echo '
'; if( defined('POWERPRESS_FEEDVALIDATOR_URL') ) { echo '' . __('Validate Feed', 'powerpress') . ''; } echo '
'; echo "
$episode_total"; echo "

'category-list', 'show_option_none'=>__('Select Category', 'powerpress'), 'orderby'=>'name', 'hide_empty'=>0, 'hierarchical'=>1, 'name'=>'term', 'id'=>'term_id' ) ); ?>