item; $count = count($items); } else $count = 0; if($count > 0): ?>

RSS feed

pubDate); echo '

'; echo ''; echo ''.$item->title.''; echo '

'; } $i++; } if($count > 3){ $cat_url = 'http://labs.alek.be/category/archives-calendar/'; echo '

'; echo ''. __('More') .' ...'; echo '

'; } if($count <= 0) _e( 'No posts', 'acategory' ); ?>

GitHub
WordPress Plugins
Labs by alek´

alek.be



support my work, buy me a beer or a coffee. Click Donate and specify your amount.', 'acategory');?>

Donate

true ); $taxonomies=get_taxonomies($args, 'objects'); $tx = ""; if ($taxonomies) { foreach ($taxonomies as $taxonomy ) { $label = $taxonomy->labels->name; $slug = $taxonomy->rewrite['slug']; $name = $taxonomy->name; $tx .= $name.','; $checked=""; if($options->$name->replace == 1) $checked = 'checked="checked"'; ?>
(slug) Rewrite slug
Rewrite slug
';?>
orderby , order
slug = $taxonomy; // taxonomy slug $option->replace = $replace; // 1 = replace; 0 = wordpress default $option->none = $none; // 1 = show; 0 = hide $option->orderby = $orderby; // possible: name, slug, menu_order $option->order = $order; // ASC or DESC $option->multi = $multi; // 1 or 0 // allow multiple choice or not $options->$taxonomy = $option; } } } else { foreach ($taxonomies as $taxonomy ) { if(!empty($taxonomy)){ $replace = 0; $none = 1; $orderby = 'name'; $order = 'ASC'; $multi = 0; $option = new stdClass(); $option->slug = $taxonomy; // taxonomy slug $option->replace = $replace; // 1 = replace; 0 = wordpress default $option->none = $none; // 1 = show; 0 = hide $option->orderby = $orderby; // possible: name, slug, menu_order $option->order = $order; // ASC or DESC $option->multi = $multi; // 1 or 0 // allow multiple choice or not $options->$taxonomy = $option; } } } if(isWPMU()) update_blog_option($wpdb->blogid, 'aCategory', $options); else update_option('aCategory', $options); Header("Location: options-general.php?page=aCategory&updated=true"); }