Skip to content

Commit

Permalink
Merge pull request #19 from seb86/dev
Browse files Browse the repository at this point in the history
Version 1.4.3
  • Loading branch information
seb86 committed Oct 20, 2015
2 parents 764dccc + 9884a07 commit 4d125ce
Show file tree
Hide file tree
Showing 47 changed files with 1,884 additions and 1,098 deletions.
23 changes: 23 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,26 @@
## 1.4.3 (20th October 2015)
* Corrected undefined function for Google Analytics tracking in the JavaScript.
* Improved Google Analytics. Now detects old, classic, current and Yoast method of tracking pageviews.
* Changed the default content container setting to match Twenty Fifteen.
* Core themes are supported except for Twenty Eleven. Theme notification only shows now if not a core theme.
* Corrected a loading issue of the template file should the theme have one also.
* Improved the partial content template file. Now has a fallback. Should be more compatible with themes.
* Added a support tab to the plugin settings page.
* Added a upgrade link on the plugins page.
* Added a community support link on the plugins page.
* Added the German translation.
* Redefined the constants.
* Moved admin functions under the directory 'includes/admin'
* Moved library assets under a new folder for both CSS and JavaScript.
* Added PHP detection.
* Improved copy in the settings page and the help tab.
* Updated the default localization file.
* Updated the readme.txt file with better copy.
* Removed public variables and hardcoded them into the plugin instead.
* Removed whitespace.
* Removed @return void on __construct() functions.
* Cleaned up the code.

## 1.4.2 (31st July 2015)
* Added two languages for localizing the plugin settings page. Français (French)(France) and Româna (Romanian).

Expand Down
63 changes: 40 additions & 23 deletions README.md
@@ -1,46 +1,63 @@
## Auto Load Next Post

[![Built with Grunt](https://cdn.gruntjs.com/builtwith.png?style=flat)](http://gruntjs.com/) [![GitHub forks](https://img.shields.io/github/forks/seb86/Auto-Load-Next-Post.svg?style=flat)](https://github.com/seb86/Auto-Load-Next-Post/network) [![GitHub license](https://img.shields.io/badge/license-GPLv3-blue.svg?style=flat)](https://raw.githubusercontent.com/seb86/Auto-Load-Next-Post/master/license.txt) [![WordPress plugin](https://img.shields.io/wordpress/plugin/v/auto-load-next-post.svg?style=flat)](https://wordpress.org/plugins/auto-load-next-post/) [![WordPress](https://img.shields.io/wordpress/plugin/dt/auto-load-next-post.svg?style=flat)](https://wordpress.org/plugins/auto-load-next-post/) [![WordPress](https://img.shields.io/wordpress/v/auto-load-next-post.svg?style=flat)](https://wordpress.org/plugins/auto-load-next-post/)
[![Built with Grunt](https://cdn.gruntjs.com/builtwith.png?style=flat)](http://gruntjs.com/) [![GitHub forks](https://img.shields.io/github/forks/seb86/Auto-Load-Next-Post.svg?style=flat)](https://github.com/seb86/Auto-Load-Next-Post/network) [![GitHub license](https://img.shields.io/badge/license-GPLv3-blue.svg?style=flat)](https://raw.githubusercontent.com/seb86/Auto-Load-Next-Post/master/license.txt) [![WordPress plugin](https://img.shields.io/wordpress/plugin/v/auto-load-next-post.svg?style=flat)](https://wordpress.org/plugins/auto-load-next-post/) [![WordPress](https://img.shields.io/wordpress/plugin/dt/auto-load-next-post.svg?style=flat)](https://wordpress.org/plugins/auto-load-next-post/) [![WordPress](https://img.shields.io/wordpress/v/auto-load-next-post.svg?style=flat)](https://wordpress.org/plugins/auto-load-next-post/) [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/seb86/Auto-Load-Next-Post/badges/quality-score.png)](https://scrutinizer-ci.com/g/seb86/Auto-Load-Next-Post/)

Have you ever felt tired of going back and forth between blog posts? I know I have so I decided to develop a solution. One where you would need to do very little coding and require very little to set up on your blog.
Have you ever felt tired of going back and forth between blog posts? I know I have so I developed a solution, one where you would need no coding or very little required to set up on your blog.

[![Auto Load Next Post Video](https://raw.githubusercontent.com/seb86/Auto-Load-Next-Post/master/youtube-video-screenshot.png)](https://www.youtube.com/watch?v=EvBCPXVe2U4)

### What is it?
Auto Load Next Post is a lightweight plugin that simply loads the previous post, one after another as you scroll down the page. It simply reads the post navigation in your theme at the end of each post and collects the post URL for the previous post. WordPress will then do a partial load and place the content of the previous post underneath the parent post.
### What is Auto Load Next Post?
Auto Load Next Post loads the next post once the bottom of the first post the user visits has been reached. The process is repeated until there are no more posts to load.

Not only that, it updates your web history by manipulating the web address and page title. This allows you to return to any post you have looked at in your browser history. When you refresh the page, the page will take you to the post you were viewing last.
It simply reads the post navigation in the theme at the end of each post and collects the post URL for the next post / page. WordPress will then do a partial load and place the content of the next post underneath the parent post / page.

Not only that, it updates your web history by manipulating the web address and page title. This allows you to return to any post you have looked at in your browser history. When you refresh the browser, it will load the post / page the user was viewing last.

### First Time Users
For new first time users I suggest reading [the documentation](https://github.com/seb86/Auto-Load-Next-Post/wiki) to understand how to setup the plugin and see how it works. By default when the plugin is activated, the settings are ready to be used with the latest WordPress core theme, Twenty Fifteen.

### Features
* Can use action hooks to load content before and after the next post has loaded.
* Can restrict it to load only on specific post types.
* You now have the option to hide the comments if you wish.
* Use action hooks to load content before and after the next post has loaded.
* Restrict it to load only on specific post types.
* Have the option to hide the comments if you wish.
* Track each post load with Google Analytics. ( Requires Google Analytics to be applied for this to work. )
* Over-writable template file.

### Documentation
Documentation, for this plugin, can be found at the GitHub repository [Wiki](https://github.com/seb86/Auto-Load-Next-Post/wiki).
> #### Auto Load Next Post Premium
> There's an even better version of the plugin coming out soon with priority email support.<br />
>
> [More information](https://www.sebastiendumont.com/plugins/auto-load-next-post-premium/?utm_source=wp-plugin-repo&utm_medium=link&utm_campaign=after-features-info-link) | [Sign up to be notified >>](http://eepurl.com/bvLz2H)
### Contributing and reporting bugs
You can [contribute code](https://github.com/seb86/Auto-Load-Next-Post/blob/master/CONTRIBUTING.md) to this plugin via the [GitHub](https://github.com/seb86/Auto-Load-Next-Post/blob/master/CONTRIBUTING.md) repository and localizations are translated via [Transifex](https://www.transifex.com/projects/p/auto-load-next-post/).
### Contributing
You can [contribute code](https://github.com/seb86/Auto-Load-Next-Post/blob/master/CONTRIBUTING.md) to this plugin via the [GitHub](https://github.com/seb86/Auto-Load-Next-Post/blob/master/CONTRIBUTING.md) repository and localizations via [Transifex](https://www.transifex.com/projects/p/auto-load-next-post/).

### Forum Support and Issue Reporting
Use the WordPress.org forums for [community support](https://wordpress.org/support/plugin/auto-load-next-post). I will do my best to respond. You may get or see a response from someone who has a similar issue already posted. If you spot a bug, you can of course log it as an [issue](https://github.com/seb86/Auto-Load-Next-Post/issues) on [Github](https://github.com/seb86/Auto-Load-Next-Post/issues) instead where I can act upon it more efficiently.
Use the WordPress.org forum for [community support](https://wordpress.org/support/plugin/auto-load-next-post). As this is a free plugin I can not provide support full time but I will do my best to respond. You are most likely to get a response from a none developer.

You may also find that a topic similar to yours has already been posted so join in rather than creating a new support ticket with the same issue.

If you need help with any customizations for this plugin. Please consider [hiring me](http://www.sebastiendumont.com/hire-me/) to apply them.
If you spot a bug within the plugin, you can of course log it as an [issue](https://github.com/seb86/Auto-Load-Next-Post/issues) on Github where I can act upon it more efficiently.

If you need help with any customizations for this plugin. Please [hire me](http://www.sebastiendumont.com/hire-me/) to apply them for you.

### Demo Site
Want to try it out? [Go to the demo site](http://demos.sebastiendumont.com/auto-load-next-post/) and view a post. Scroll down and see the plugin in action.
Want to try it out? [Go to the demo site](http://demo.autoloadnextpost.com) and view a post. Scroll down and see the plugin in action.

### Support by Donating
Donations of any sum help keep this plugin actively developed and supported. Your support goes along way in making this plugin better. (Make a Donation)[https://donorbox.org/auto-load-next-post]

### Leave a Review
Reviews are helpful to other users and this plugin reputation. Please consider spending a minute or two leaving a [review](https://wordpress.org/support/view/plugin-reviews/auto-load-next-post?rate=5#postform) and tell me what you think about the plugin. It matters a lot and is most appreciated.

### Support the plugin by Donations and Reviews
To keep this plugin working and support as many themes as possible, please consider making a [donation](https://www.sebastiendumont.com/donation/) or simply [write a review](https://wordpress.org/support/view/plugin-reviews/auto-load-next-post?rate=5#postform) about it.
### Languages and Translation Support
Current languages available: English(US), Français (French)(France), German (Germany), Italian (Italy), Româna (Romanian)

### Languages
Auto Load Next Post is currently available in 3 languages with more on the way. The folks over at WP Translations handle the translations, and it's because of them that these translations are available. More are on the way and with your help they can be released quicker. If you would like to help translate, go to the [Transifex](https://www.transifex.com/projects/p/auto-load-next-post/) project.
Auto Load Next Post is currently available in 5 languages with more on the way. The folks over at WP Translations handle the translations, and it's because of them that these translations are available. More are on the way and with your help they can be released quicker. If you would like to help translate, go to the [Transifex](https://www.transifex.com/projects/p/auto-load-next-post/) project.

#### Current Translations Available
* English (US)
* Français (French)(France)
* Română (Romanian)
> #### PHP Requirement
> This plugin requires PHP version 5.3 or higher.<br />
> If you're still at PHP 5.2, it's time to update. [Read here why and how](http://www.wpupdatephp.com/update/)<br />
> Updating to a newer PHP version is almost always done in minutes and free of charge!
### More information
* Other [WordPress plugins](http://profiles.wordpress.org/sebd86/) by [Sébastien Dumont](http://www.sebastiendumont.com/)
Expand Down
34 changes: 0 additions & 34 deletions assets/css/admin/activation.css

This file was deleted.

27 changes: 25 additions & 2 deletions assets/css/admin/auto-load-next-post.css
@@ -1,3 +1,6 @@
/**
* CSS for Auto Load Next Post settings page.
*/
.clear {
clear: both;
}
Expand Down Expand Up @@ -37,11 +40,25 @@
}
.wrap.auto-load-next-post input[type="button"].button-primary:active,
.wrap.auto-load-next-post input[type="submit"].button-primary:active,
.wrap.auto-load-next-post input[type="button"].button-primary:focus,
.wrap.auto-load-next-post input[type="submit"].button-primary:focus,
.auto-load-next-post-message a.button-primary:active,
.auto-load-next-post-actions a.button-primary:active,
.help-tab-content a.button-primary:active{
.auto-load-next-post-message a.button-primary:focus,
.auto-load-next-post-actions a.button-primary:focus,
.help-tab-content a.button-primary:active,
.help-tab-content a.button-primary:focus{
background: #fac75a;
border-color: #EC8642;
color: #ffffff;
}
.wrap.auto-load-next-post input[type="button"].button-primary:focus,
.wrap.auto-load-next-post input[type="submit"].button-primary:focus,
.auto-load-next-post-message a.button-primary:focus,
.auto-load-next-post-actions a.button-primary:focus,
.help-tab-content a.button-primary:focus{
-webkit-box-shadow: inset 0 1px 0 rgb(247, 216, 66), 0 0 0 1px rgb(228, 175, 56), 0 0 4px 1px rgba(30, 140, 190, .8);
box-shadow: inset 0 1px 0 rgb(247, 216, 66), 0 0 0 1px rgb(228, 175, 56), 0 0 4px 1px rgba(30, 140, 190, .8);
}
.auto-load-next-post-message a.skip,
.auto-load-next-post-message a.docs,
Expand All @@ -57,6 +74,11 @@
-webkit-transition-duration: 0.4s;
transition-duration: 0.4s;
}
.wrap.auto-load-next-post.support input[type="button"].button-primary,
.wrap.auto-load-next-post.support input[type="submit"].button-primary,
.auto-load-next-post-message.support a.button-primary{
display:none;
}
h2.nav-tab-wrapper{padding-left:0px !important;}
h2 .nav-tab:first-child{margin-left:10px;}
.wrap.auto-load-next-post-div.updated, .wrap.auto-load-next-post-div.error{margin-top:10px}
Expand Down Expand Up @@ -116,6 +138,7 @@ img.help_tip{
}
.auto-load-next-post table.form-table fieldset{margin-top:4px}
.auto-load-next-post table.form-table fieldset img.help_tip{margin:-3px 0 0 5px}

/**
* CSS for TipTip
*
Expand Down Expand Up @@ -196,4 +219,4 @@ img.help_tip{
top:-3px;
left:50%;
margin:-1em 0 0 -3px;
}
}

0 comments on commit 4d125ce

Please sign in to comment.