Title: Featured Post Loop
Last modified: August 19, 2016

---

# Featured Post Loop

 *  Resolved [Fatih Turan](https://wordpress.org/support/users/fatihturan/)
 * (@fatihturan)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/featured-post-loop/)
 * Hello everybody!
 * I have created two loop like Darren Hoyt’s post (it’s here:
    [http://tinyurl.com/5crgk2](http://tinyurl.com/5crgk2)
   and my loops is here: [http://pastebin.com/m675a34ae](http://pastebin.com/m675a34ae)).
   But featured post and standard loop’s latest entry are same (can you look this
   screenshot: [http://tinyurl.com/5uau34](http://tinyurl.com/5uau34)).
 * So i want to featured post would show latest post from GENEL kategory and
    standard
   loop would show everything else.

Viewing 12 replies - 1 through 12 (of 12 total)

 *  [muthukswamy](https://wordpress.org/support/users/muthukswamy/)
 * (@muthukswamy)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/featured-post-loop/#post-806118)
 * It should work. The only possibility could be the wrong category number. You 
   used `cat=-10` Its better you check that.
 *  Thread Starter [Fatih Turan](https://wordpress.org/support/users/fatihturan/)
 * (@fatihturan)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/featured-post-loop/#post-806129)
 * > It should work. The only possibility could be the wrong category number. You
   > used cat=-10 Its better you check that.
 * But it can’t work. 🙂 GENEL category’s id number is 1. If i change cat variable
   to cat=-1 (to GENEL category’s id number) then loop doesn’t work again (screenshot
   is here: [http://uploads.screenshot-program.com/upl0414383045.jpg](http://uploads.screenshot-program.com/upl0414383045.jpg))
 *  [muthukswamy](https://wordpress.org/support/users/muthukswamy/)
 * (@muthukswamy)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/featured-post-loop/#post-806136)
 * can I see your blog online? So that I can give suggestion easily.
 *  Thread Starter [Fatih Turan](https://wordpress.org/support/users/fatihturan/)
 * (@fatihturan)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/featured-post-loop/#post-806140)
 * I’m working on WAMP. May you see my work in there: [http://88.228.41.76:81/sinemalardan/](http://88.228.41.76:81/sinemalardan/)
 *  [muthukswamy](https://wordpress.org/support/users/muthukswamy/)
 * (@muthukswamy)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/featured-post-loop/#post-806143)
 * I cannot see your local server. If you can set up a test blob online, it will
   be better.
 * Add me to messenger if you require.
    MSN – muthukswamy at hotmail.com
 *  Thread Starter [Fatih Turan](https://wordpress.org/support/users/fatihturan/)
 * (@fatihturan)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/featured-post-loop/#post-806151)
 * I’m uploading to my host. I will be back when it complete. Thanks for your replies.
   😉
 *  Thread Starter [Fatih Turan](https://wordpress.org/support/users/fatihturan/)
 * (@fatihturan)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/featured-post-loop/#post-806159)
 * Yup! Upload complete. It’s here: [http://www.xhtmlmutfagi.com/sinemalardan/](http://www.xhtmlmutfagi.com/sinemalardan/)
 *  [muthukswamy](https://wordpress.org/support/users/muthukswamy/)
 * (@muthukswamy)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/featured-post-loop/#post-806170)
 * I tried the same code on my blog as well. It worked well. I think the category
   ID might be the problem.
 *  Thread Starter [Fatih Turan](https://wordpress.org/support/users/fatihturan/)
 * (@fatihturan)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/featured-post-loop/#post-806171)
 * What is your category ID number? And can you show your code?
 *  [muthukswamy](https://wordpress.org/support/users/muthukswamy/)
 * (@muthukswamy)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/featured-post-loop/#post-806174)
 * I just tested it on my local server. Used:
 *     ```
       <?php query_posts("cat=-4");?>
       ```
   
 * My category ID is 4 so I used it. This worked very well. This displayed the posts
   eliminating the posts from category 4.
 *  Thread Starter [Fatih Turan](https://wordpress.org/support/users/fatihturan/)
 * (@fatihturan)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/featured-post-loop/#post-806269)
 * But my codes doesn’t work. Why, why, why? 🙂
 *  Thread Starter [Fatih Turan](https://wordpress.org/support/users/fatihturan/)
 * (@fatihturan)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/featured-post-loop/#post-806271)
 * Yay! I solved it with another method in here: [http://rhymedcode.net/1001-wordpression-loops/feature/](http://rhymedcode.net/1001-wordpression-loops/feature/)

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘Featured Post Loop’ is closed to new replies.

## Tags

 * [featured](https://wordpress.org/support/topic-tag/featured/)
 * [loop](https://wordpress.org/support/topic-tag/loop/)

 * 12 replies
 * 2 participants
 * Last reply from: [Fatih Turan](https://wordpress.org/support/users/fatihturan/)
 * Last activity: [17 years, 11 months ago](https://wordpress.org/support/topic/featured-post-loop/#post-806271)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
