diff --git a/CHANGELOG.html b/CHANGELOG.html
new file mode 100644
index 0000000..d840180
--- /dev/null
+++ b/CHANGELOG.html
@@ -0,0 +1,40 @@
+
+
+
+
+
+
+sr-theme (http://sr-theme.com)
+
+Changelog
+
+1.1.2 (2016–08–09)
+
+
+- Json file from theme url -> Better control of download link
+
+
+
+1.1.1 (2016–08–09)
+
+
+- Changelog url and json file from github project
+
+
+1.1.0 (2016–08–09)
+
+
+- Automatic Updater from GitHub project
+- Commit CHANGELOG.md
+- Commit README.md
+- Initial commit
+
+
+1.0.0 - 1.0.3 (2016–03–24)
+
+
+- Manual version with small updates
+
+
+
+
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 72b22ea..34e824c 100755
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,10 @@
### sr-theme (http://sr-theme.com)
# Changelog
+## 1.1.2 (2016-08-09)
+* Json file from theme url -> Better control of download link
+*
+
## 1.1.1 (2016-08-09)
* Changelog url and json file from github project
diff --git a/functions.php b/functions.php
index 96e1145..a69372e 100755
--- a/functions.php
+++ b/functions.php
@@ -41,7 +41,7 @@
/**
* Sets up theme defaults and registers support for various WordPress features.
*/
-require_once(get_template_directory().'/library/functions/theme-support.php');
+require_once(get_template_directory().'/library/functions/theme-support.php');
##############################################################################################################################
@@ -50,7 +50,7 @@
/**
* Enqueue scripts and styles.
*/
-require_once(get_template_directory().'/library/functions/enqueue-scripts-styles.php');
+require_once(get_template_directory().'/library/functions/enqueue-scripts-styles.php');
##############################################################################################################################
@@ -59,12 +59,12 @@
/**
* Register custom menus and menu walkers.
*/
-require_once(get_template_directory().'/library/functions/menu.php');
+require_once(get_template_directory().'/library/functions/menu.php');
/**
* Numbered pagination Links
*/
-require_once(get_template_directory().'/library/functions/menu-pagination.php');
+require_once(get_template_directory().'/library/functions/menu-pagination.php');
##############################################################################################################################
@@ -73,8 +73,8 @@
/**
* Better WordPress comments.
*/
-require_once(get_template_directory().'/library/functions/comments.php');
-require_once(get_template_directory().'/library/functions/comments-navigation.php');
+require_once(get_template_directory().'/library/functions/comments.php');
+require_once(get_template_directory().'/library/functions/comments-navigation.php');
##############################################################################################################################
@@ -83,7 +83,7 @@
/**
* Foundation enhancements and changes.
*/
-require_once(get_template_directory().'/library/functions/foundation.php');
+require_once(get_template_directory().'/library/functions/foundation.php');
##############################################################################################################################
@@ -92,7 +92,7 @@
/**
* Register widget areas. Default: Left, Right, Offcanvas, Footer.
*/
-require_once(get_template_directory().'/library/functions/theme-widgets.php');
+require_once(get_template_directory().'/library/functions/theme-widgets.php');
##############################################################################################################################
@@ -102,7 +102,7 @@
* Set Additional Images sizes and add them to the media selector
* - must be configured.
*/
-// require_once(get_template_directory().'/library/functions/theme-images.php');
+// require_once(get_template_directory().'/library/functions/theme-images.php');
##############################################################################################################################
@@ -112,7 +112,7 @@
* Related post function - no need to rely on plugins
* - use sr_related_posts(); in your template file
*/
-// require_once(get_template_directory().'/library/functions/related-posts.php');
+// require_once(get_template_directory().'/library/functions/related-posts.php');
##############################################################################################################################
@@ -122,7 +122,7 @@
* Customize the WordPress login menu
* managed through assets/scss/login.scss
*/
-// require_once(get_template_directory().'/library/functions/login.php');
+// require_once(get_template_directory().'/library/functions/login.php');
##############################################################################################################################
@@ -132,7 +132,7 @@
* Show custom stuff in dashboard activity widget
* - must be configured!
*/
-// require_once(get_template_directory().'/library/functions/dashboard-widgets.php');
+// require_once(get_template_directory().'/library/functions/dashboard-widgets.php');
##############################################################################################################################
@@ -141,9 +141,9 @@
if( ! function_exists( 'modify_footer_admin' )) :
/*
* Custom footer content in wp-admin
- *
+ *
*/
-function modify_footer_admin() {
+function modify_footer_admin() {
echo '';
}
endif; // modify_footer_admin
@@ -163,13 +163,10 @@ function modify_footer_admin() {
/**
* Theme updater checker. Version and zip-file-download in json
*/
-require_once( get_template_directory().'library/theme-update-checker.php');
+require_once( get_template_directory().'/library/theme-update-checker.php');
$sr_theme_update_checker = new ThemeUpdateChecker(
- 'sr-theme', // Theme folder name, AKA "slug".
- 'https://raw.githubusercontent.com/fanfarian/sr-theme/master/sr-theme-update.json' // URL of the metadata file.
+ 'sr-theme', // Theme folder name, AKA "slug".
+ 'http://sr-theme.com/wp-content/themes/sr-theme/sr-theme-update.json' // URL of the metadata file.
);
-
-
-
?>
\ No newline at end of file
diff --git a/sr-theme-update.json b/sr-theme-update.json
index df2aa11..5fb754c 100644
--- a/sr-theme-update.json
+++ b/sr-theme-update.json
@@ -1,5 +1,5 @@
{
- "version" : "1.1.1",
+ "version" : "1.1.2",
"details_url" : "https://github.com/fanfarian/sr-theme/blob/master/CHANGELOG.md",
- "download_url" : "https://github.com/fanfarian/sr-theme/archive/master.zip"
+ "download_url" : "https://github.com/fanfarian/sr-theme/archive/v1.1.2.zip"
}
\ No newline at end of file
diff --git a/style.css b/style.css
index 9eab6a1..8db923d 100755
--- a/style.css
+++ b/style.css
@@ -2,7 +2,7 @@
Theme Name: sr-theme
Theme URI: http://sr-theme.com
Description: sr-theme is a WordPress developer theme based on Zurb Foundation 6.x. Focusing on a light core with the experienced developer in mind to kickstart the development of custom themes.
-Version: 1.1.1
+Version: 1.1.2
Author: Stefan Reichert
Author URI: http://stefan-reichert.com/
Text Domain: sr-theme