Title: Splitting Posts
Last modified: August 19, 2016

---

# Splitting Posts

 *  [notreallysure](https://wordpress.org/support/users/notreallysure/)
 * (@notreallysure)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/splitting-posts-2/)
 * Hey,
 * I want to grab a specific category and split it from my recent posts
    I tried
   to use the sticky and put it in a separate div but it either makes my other posts
   disappear or if I set it so more than just the sticky shows, it puts the sticky
   in the div with my other posts instead
 * > <?php $sticky=get_option(‘sticky_posts’);
   >  query_posts(‘p=’ . $sticky[0]);?
   > >

Viewing 1 replies (of 1 total)

 *  Thread Starter [notreallysure](https://wordpress.org/support/users/notreallysure/)
 * (@notreallysure)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/splitting-posts-2/#post-1121060)
 * Nobody seems to know, so I’m going to try to rephrase my question:
 * I would like to do 1 of 2 things:
 * **#1** I have a “featured” category and I want to be able to check that a post
   falls under this category and it appear at the top of my page, separate from 
   the other posts
    **-OR-** **#2** I would like to be able to check “make this 
   post sticky” and it have the same effect (thus doing away with the category)
 * How do I separate it? No matter what code I seem to put in the div I’ve created
   at the top, they both appear within the same div at the bottom of the page!
 * I’ve been working on this for about 2 days…
    Help?

Viewing 1 replies (of 1 total)

The topic ‘Splitting Posts’ is closed to new replies.

## Tags

 * [categories](https://wordpress.org/support/topic-tag/categories/)
 * [div](https://wordpress.org/support/topic-tag/div/)
 * [post](https://wordpress.org/support/topic-tag/post/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [notreallysure](https://wordpress.org/support/users/notreallysure/)
 * Last activity: [16 years, 9 months ago](https://wordpress.org/support/topic/splitting-posts-2/#post-1121060)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
