Hi, i have make a "theme x" - child theme and i will integrate the update process.
in the update in the Dashboard there are no updates to do. What make i wrong?
<?php
// Theme with update info
$packages['ENSPowerPack'] = array( //Replace theme with theme stylesheet slug that the update is for
'versions' => array(
'1.0' => array( //Array name should be set to current version of update
'version' => '1.2', //Current version available
'date' => '2018-01-26', //Date version was released
//theme.zip is the same as file_name
'package' => 'https://update.ens.gmbh/api/download.php?key=' . md5('powerpackpro.zip' . mktime(0,0,0,date("n"),date("j"),date("Y"))),
//file_name is the name of the file in the update folder.
'file_name' => 'powerpackpro.zip', //File name of theme zip file
'author' => 'ENS', //Author of theme
'name' => 'ENSPowerPack', //Name of theme
'requires' => '3.1', //Wordpress version required
'tested' => '4.9.2', //WordPress version tested up to
'screenshot_url' => 'http://url_to_your_theme_site/screenshot.png' //url of screenshot of theme
)
),
'info' => array(
'url' => 'http://www.ens.gmbh' // Website devoted to theme if available
)
);
I have test it with:
'1.1' => array( //Array name should be set to current version of update
'1.2' => array( //Array name should be set to current version of update
etc ...
Hi, i have make a "theme x" - child theme and i will integrate the update process. in the update in the Dashboard there are no updates to do. What make i wrong?
Style.css from the child theme
and the packages - that make i wrong?
I have test it with: '1.1' => array( //Array name should be set to current version of update '1.2' => array( //Array name should be set to current version of update etc ...
and my file structur: https://screencast.com/t/qqe8ty2zK8
what make i wrong?