Skip to content

Commit

Permalink
## 1.1.2 (2016-08-09)
Browse files Browse the repository at this point in the history
* Json file from theme url -> Better control of download link
  • Loading branch information
Stefan Reichert committed Aug 9, 2016
1 parent 71e5f77 commit d7b622b
Show file tree
Hide file tree
Showing 5 changed files with 64 additions and 23 deletions.
40 changes: 40 additions & 0 deletions CHANGELOG.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
</head>
<body>
<h3 id="sr-themehttp:sr-theme.com">sr-theme (http://sr-theme.com)</h3>

<h1 id="changelog">Changelog</h1>

<h2 id="1.1.22016-08-09">1.1.2 (2016&#8211;08&#8211;09)</h2>

<ul>
<li>Json file from theme url -&gt; Better control of download link</li>
<li></li>
</ul>

<h2 id="1.1.12016-08-09">1.1.1 (2016&#8211;08&#8211;09)</h2>

<ul>
<li>Changelog url and json file from github project</li>
</ul>

<h2 id="1.1.02016-08-09">1.1.0 (2016&#8211;08&#8211;09)</h2>

<ul>
<li>Automatic Updater from GitHub project</li>
<li>Commit CHANGELOG.md</li>
<li>Commit README.md</li>
<li>Initial commit</li>
</ul>

<h2 id="1.0.0-1.0.32016-03-24">1.0.0 - 1.0.3 (2016&#8211;03&#8211;24)</h2>

<ul>
<li>Manual version with small updates</li>
</ul>

</body>
</html>
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
37 changes: 17 additions & 20 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');


##############################################################################################################################
Expand All @@ -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');


##############################################################################################################################
Expand All @@ -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');


##############################################################################################################################
Expand All @@ -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');


##############################################################################################################################
Expand All @@ -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');


##############################################################################################################################
Expand All @@ -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');


##############################################################################################################################
Expand All @@ -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');


##############################################################################################################################
Expand All @@ -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');


##############################################################################################################################
Expand All @@ -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');


##############################################################################################################################
Expand All @@ -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');


##############################################################################################################################
Expand All @@ -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 '<span id="footer-thankyou">Site developed with <a href="https://sr-theme.com">sr-theme</a>. Powered by <a href="http://www.wordpress.org">WordPress</a></span>';
}
endif; // modify_footer_admin
Expand All @@ -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.
);




?>
4 changes: 2 additions & 2 deletions sr-theme-update.json
Original file line number Diff line number Diff line change
@@ -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"
}
2 changes: 1 addition & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d7b622b

Please sign in to comment.