Title: Replace Post/Page Content
Last modified: August 20, 2016

---

# Replace Post/Page Content

 *  [2olive](https://wordpress.org/support/users/2olive/)
 * (@2olive)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/replace-postpage-content/)
 * Hi all.
    I’m wondering if this is possible. All this regards a possible emergency
   situation: if there’s no emergency, then you have to behave like this if there’s
   _this_ emergency, then you have to do this, this and this. The emergency situation
   is published on the front page of the website.
 * I’ve planned a situation like the following:
    In the front page I have one sticky
   post, let’s call it Apost, that belongs to category A. If this is published, 
   then I have a particular page (Apage) published too. If I publish Bpost, and 
   this is sticky, I want to have Bpage published, no more Apage.
 * How can I develop that?
 * Thank you

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/replace-postpage-content/#post-3206733)
 * Do you actually want to dynamically publish and “unpublish” pages based on these
   Posts? If so, that’s going to take a fair bit of custom coding and you might 
   be better off asking about it on the [Hacks forum](http://wordpress.org/support/forum/hacks).
 *  Thread Starter [2olive](https://wordpress.org/support/users/2olive/)
 * (@2olive)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/replace-postpage-content/#post-3206779)
 * Yes. This is what I’m planning to do with wp. Sorry, esmi for posting in the 
   wrong place. I will ask in the other section. Thank you.
 *  Thread Starter [2olive](https://wordpress.org/support/users/2olive/)
 * (@2olive)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/replace-postpage-content/#post-3206780)
 * Moved in the [hacks section](http://wordpress.org/support/topic/replace-postpage-content-dinamically)

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

The topic ‘Replace Post/Page Content’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [2olive](https://wordpress.org/support/users/2olive/)
 * Last activity: [13 years, 5 months ago](https://wordpress.org/support/topic/replace-postpage-content/#post-3206780)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
