diff --git a/category.php b/category.php index 287ef72..41600ee 100644 --- a/category.php +++ b/category.php @@ -6,19 +6,25 @@ $current_cat = get_query_var('cat'); $args=array( 'post_type' => 'bookmark', + 'post_status' => array( 'publish' ), + 'posts_per_page' => -1, 'order' => 'ASC', 'orderby' => 'menu_order', 'category__in' => $current_cat ); -query_posts($args); -if ( have_posts() ) : ?> + // Show Private Bookmarks if logged in + if ( is_user_logged_in() ) { + $args['post_status'][] = 'private'; + } + query_posts($args); + if ( have_posts() ) : ?>

GO BACK

diff --git a/css/fancybox_sprite.png b/css/fancybox_sprite.png index fd8d5ca..3f3c799 100644 Binary files a/css/fancybox_sprite.png and b/css/fancybox_sprite.png differ diff --git a/functions.php b/functions.php index a30f4fd..1e4a889 100644 --- a/functions.php +++ b/functions.php @@ -6,7 +6,7 @@ function html5reset_setup() { add_theme_support( 'structured-post-formats', array( 'link', 'video' ) ); register_nav_menu( 'primary', __( 'Navigation Menu', 'html5reset' ) ); add_theme_support( 'post-thumbnails' ); - set_post_thumbnail_size( 150, 150 ); + add_image_size( 'bookmark-icon', 150, 150, false ); } add_action( 'after_setup_theme', 'html5reset_setup' ); diff --git a/header.php b/header.php index 4498dd1..083e061 100644 --- a/header.php +++ b/header.php @@ -78,6 +78,7 @@