ceh
Forum Replies Created
-
I figured this out, in the header.php added and include for the category IDs, so this code with nothing in the () shows all cats.
$categories = get_categories();this code shoes only cats with the IDs of 202, 14, and 82
$categories = get_categories('include=202,14,82');I’m not sure if this it what you need, but instead of the loop.php try putting your code in index.php at this code
// Exclude Sticky Posts and show remaining normal posts $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; query_posts( array( 'post__not_in' => get_option( 'sticky_posts' ), 'paged' => $paged ) ); while (have_posts()) : the_post(); get_template_part( 'loop', 'index' ); endwhile; ?>I changed that code to this, and it loads the page only showing posts with tag_id of 202 and 82…
// Exclude Sticky Posts and show remaining normal posts $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; query_posts( array( 'tag__in' => array( 202, 82 ), 'posts_per_page' => -1 ) ); while (have_posts()) : the_post(); get_template_part( 'loop', 'index' ); endwhile; ?>Just FYI, i figured this out the other day, if you want to get rid of multiselect and make it so your users can only select one filter at a time the following worked for me…
in the scripts.js file search for, then delete the following code…
}else if( !jQuery(this).hasClass('selected') && !$all.hasClass('selected') ){ jQuery(this).addClass('selected');I’m working on localhost right now so I can’t post my example, but I should have a live version soon, then I’ll update with a link.
Thanks! That helped me figure it out. I had somehow deleted part of the footer and that was causing the error. It’s running smooth now. Great plug-in!
Hi Myatu,
Thanks for the reply. I have updated to 1.1 and also disable WP_DEBUG but am still exerperiencing the same problems (fullscreen and overlays not working). I have a live site now if you wouldn’t mind taking a look. Fullscreen is currently turned on.
Forum: Hacks
In reply to: Collapsing Category in Post Write ScreenTonyoravet,
Can you post an update of how you got this working in the functions.php file? I have 6 parent categories that hold about 250 child categories. I would really like to collapse those parent categories in the admin panel.
Thanks!!