admin管理员组

文章数量:1391951

Is it possible to push only one view to production? For example. I made a change on view A a while back on staging and it's just been sitting in staging.

Later on, I'm asked to make a change on view B. The catch is: I don't want the changes on view A to be live in production yet. I only want the changes in view B to be in production. Is this possible? (I'm using GoDaddy, if that matters).

I can't find anything online that pertains to my question. I'd imagine something like this definitely exists.

Thanks for taking the time to read :D

Is it possible to push only one view to production? For example. I made a change on view A a while back on staging and it's just been sitting in staging.

Later on, I'm asked to make a change on view B. The catch is: I don't want the changes on view A to be live in production yet. I only want the changes in view B to be in production. Is this possible? (I'm using GoDaddy, if that matters).

I can't find anything online that pertains to my question. I'd imagine something like this definitely exists.

Thanks for taking the time to read :D

Share Improve this question asked Feb 18, 2020 at 16:07 testmantestman 113 bronze badges 2
  • Your question does not seems to be wordpress related but a more general dev/prod architecture – Andrea Somovigo Commented Feb 18, 2020 at 16:17
  • @AndreaSomovigo probably not :( sorry I'm kind of new around here. – testman Commented Feb 18, 2020 at 16:19
Add a comment  | 

1 Answer 1

Reset to default 2

No, not unless you push the change manually.

More specifically, WordPress has no concept of production/preprod/etc or of pushing/pulling. These features are always implemented by hosts or custom software, and are extensions of WP, not parts of WP itself.

Otherwise, production and preprod etc are just 2 separate WP installations that just happen to be very similar and run similar code.

If you want to migrate changes in a post on preprod to production, you can do that manually. Open the post up on the target environment, and retrace your steps to redo the changes you wanted. You can open both side by side and compare, and copy/paste things. As mentioned before, WP has no concept of push or pull content, there is no built in tool for what you seek.

Alternatively your host may have a solution for this in their staging/preprod/production feature, but most do not. You would need to ask your host about that. There may also be plugins that assist in this out there. I don't know of any, and plugin recommendations aren't in the scope of this stack anyway

本文标签: phpHow do I publish only one page to production after making changes on staging