Tag Info

Hot answers tagged

1

Just an addiction to @KrzysiekDróżdż answer. When viewing a specific post status the url query string variable 'post_status', is set to the name of the status, so you can use $_GET['post_status'] to narrow the effect of @KrzysiekDróżdż code only for pending posts: function my_edit_per_page( $result, $option, $user ) { $status = filter_input( INPUT_GET, ...


1

Have not tested it but this should get you to your goal. I believe Accore LTD has it correct as well, except your slide #s will be post ID, instead of slide-1, slide-2 <div class="content"> <?php if ( have_posts() ) : ?> <h2><?php single_cat_title('',true); ?></h2> <div> <ul> <?php $inc = 1; ...



Only top voted, non community-wiki answers of a minimum length are eligible