Theme Development – Show “New Version Available. Update Now”

[ad_1]

# New Version Available. Update Now

Is there a guide on how to make your custom theme prompt “New Version Available. Update Now” and then the user can click update?

I’ve recently created a parent theme which is applied to 6 websites, and each site has a child theme, and to update those, we manually download a zip, and install it over the top.

# Updating by reinstalling

Another thing, to update the parent theme with fixes, I upload over the top, and in theory, this should update things, but it doesn’t seem to be showing the changes, is there something we need to add so that WP knows to replace files?

\—

Sorry – I’ve tried to research, and have reached “reddit stage”

p

[ad_2]
1 Comment
  1. Setup your parent theme with version control, either SVN or GIT, push the changes to the repository, and tag it accordingly to have the built-in WordPress updater handle it for you .

    I’ve used this for it before, but there’s probably easier ways nowadays:

    [https://github.com/YahnisElsts/plugin-update-checker])

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer