Forums

Featured Slider - multipile categories (2 posts)

  1. TDMarko
    Member
    Posted 2 years ago #

    Hello.

    My Featured Slider support only one categorie. I can chose the category I need from admin-panel. But what I need is that all latest posts from every categorie on my web would be posted in featured slider (or at least from three categories).

    Heres a code part:

    <!-- Featured Area -->
    			<div id="featured-area">
    				<div id="s1" class="pics">
    <?php $ids = array(); $arr = array(); $i=1;
    query_posts("showposts=3&cat=4");
    
    while (have_posts()) : the_post(); ?>
    	<?php $thumb = get_post_meta($post->ID, 'Thumbnail', $single = true); ?>
  2. TDMarko
    Member
    Posted 2 years ago #

    or

    <!-- Featured Area -->
    			<div id="featured-area">
    				<div id="s1" class="pics">
    <?php $ids = array(); $arr = array(); $i=1;
    query_posts("showposts=3&cat=".get_catId(get_option('glow_feat_cat')));
    while (have_posts()) : the_post(); ?>

Topic Closed

This topic has been closed to new replies.

About this Topic