I am having tough time to figure out the best most appropriate way to maintain and update my custom theme for wordpress.

I have setup local server (wamp) with wordrpess where I mainly develop my theme and push everything to bitbucket. At this point I usually just upload my theme from my local machine to ftp server theme folder - and voilà! However, this seems like an old approach.

I see people talk more and more about dynamic update - push theme directly to host (from lets say bitbucket). I tried to search for best approach and a "how-to" tutorial however I failed.

My hosting is shared and does have ssh access. How to use all of this - no idea. Maybe someone could direct me to a tutorial?

  • Does your hosting provide git on server? Note this is a little generic and if you aren't too interested doing it completely "WP way" (integrating with its update functionality) might do better on other stack.
    – Rarst
    Aug 24, 2014 at 19:25
  • yes support says its provided. then i have no clue where to ask about this Aug 24, 2014 at 19:41

1 Answer 1


In a nutshell there are two basic approaches to this:

  1. Build elsewhere and upload (in one way or another) result to the target server
  2. Do everything right on target server

There is variety of solutions that will do either of this or some mix of the two.

The simplest possible way for the conditions you had given (Bitbucket and server with Git) would be to:

  1. Have Bitbucket make web hook call to your server.
  2. Have server listen to the call and pull changes from specific deployable branch.

Personally I had used myWebHook with success for this scheme. It implements Bitbucket support so it only takes uploading it to server and bit of configuration to have it going.

  • This is genius! I will try it right now. Sounds incredibly simple and awesome. Thank you! Aug 24, 2014 at 20:17
  • hi again, well i did everything according the myWebHook website and it does not work. I do not know... i pushed to master origin and settings are the way they are supposed to be... Aug 25, 2014 at 8:23
  • @nerijusgood well hard to say without any details, ask your hosting support to help you set it up?
    – Rarst
    Aug 25, 2014 at 9:17
  • Yes I did that, now waiting for their response. Do i need to setup public/privat keys or something? Aug 25, 2014 at 9:21
  • Also, do i need to create an SSH key (in my host) and upload it to bitbuket? Aug 25, 2014 at 12:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.