Skip to content

Commit 64f128b

Browse files
authored
v0.4.0 - PR #102 from v0.4 to master
2 parents e3d3af5 + 2bfa28a commit 64f128b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+10806
-5505
lines changed

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
#################
2+
## CUSTOM
3+
#################
4+
5+
*.bk*
6+
17
#################
28
## Eclipse
39
#################

CHANGELOG.md

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,79 @@
11
== Changelog ==
22

3+
= 0.4.0 =
4+
* Added APL_Post_List Class for post data database structure with presets.
5+
* Added APL_Design Class for post data database structure with preset designs; before, content, after, & empty message.
6+
* Changed Preset data to use post data database structure (APL_Post_List & APL_Design).
7+
* Added Admin Singleton Class.
8+
* Changed to Custom Admin Menu.
9+
* Added New Admin templates and multiple UI changes.
10+
* Changed Info/Help to Tooltips instead of Dialogs.
11+
* Added Post_Type filter by 'Any'.
12+
* Changed 'Require Taxonomy' to 'Require Taxonomies' as a Post Type based filter instead.
13+
* Added Sort by 'None' and 'Slug'.
14+
* Added Post Status filter by 'None' and 'Any'.
15+
* Added Perms filter by 'None'.
16+
* Added Offset filter.
17+
* Added additional Notice to front-end if attribute 'name' in [post_list] is invalid or missing.
18+
* Added Sanitazion to shortcode attribute 'name'; ex. [post_list name=""].
19+
* Fixed Link attribute in post_category & post_tags shortcode.
20+
* Added additional checks with php_function shortcode.
21+
* Changed General Settings to Settings API w/ Meta Boxes.
22+
* Added Ignore Post Types on Admin Post List screen.
23+
* Changed/Fixed Exporting and Importing.
24+
* Fixed possible defect with Plugin Options not being initiated.
25+
* Added jQuery (UI) compatability.
26+
* Removed jQuery UI Theme setting from APL Options.
27+
* Changed Updater Class param items to update to an array.
28+
* Changed version check to a hook method.
29+
* Added WPML Support.
30+
* Added Internalization for translations.
31+
* Added non-class Functions file for common functions.
32+
* Added hooks.php file to store custom hook examples.
33+
34+
= 0.3.7 =
35+
* Fixed warning with load_plugin_textdomain.
36+
37+
= 0.3.6 =
38+
* Added load_plugin_textdomain and .pot files.
39+
40+
= 0.3.5 =
41+
* Fixed [post_excerpt] breaking last word.
42+
* Fixed [post_excerpt length=""] not trimming if post excerpt is found.
43+
* Fixed [php_function] Undefined Constant with KALIN_ALLOW_PHP when APL_ALLOW_PHP is defined.
44+
* Added [post_title length=""] attribute.
45+
46+
= 0.3.4 =
47+
* Fixed [final_end] not updating output string.
48+
49+
= 0.3.3 =
50+
* Fixed [final_end] missing a param.
51+
* Fixed Undefined index: post__not_in.
52+
* Added initial Localization to prep support for multiple languages.
53+
54+
= 0.3.2 =
55+
* Changed Internal Shortcodes to a Class Object as a Shortcode API.
56+
* Changed support to Internal Shortcode to allow Attributes to be added in any order.
57+
* Added attributes aliases user_name & user_description for the Labels attribute in [post_author].
58+
* Removed attribute labels that no longer exist in WP for the Labels attribute in [post_author].
59+
* Added custom max size support for the Size attribute in [post_thumb].
60+
* Fixed extract to correctly grab img tags for the Extract attribute in [post_thumb].
61+
* Fixed encoding when creating an excerpt from post/page content in [post_excerpt].
62+
* Added [post_type] shortcode, and label attribute.
63+
* Added error check in [item_number].
64+
* Added check if other plugin is active in [post_pdf].
65+
* Added APL_ALLOW_PHP constant as a required varible for [php_function].
66+
* Removed APLCallback Class Object file.
67+
* Changed Dialog location for Internal Shortcode to a seperate file.
68+
* Added more encapsulation to initializing other class files.
69+
70+
= 0.3.1 =
71+
* Added Assets.
72+
* Added Icon to Assets.
73+
* Changed Screenshots directory to Assets folder.
74+
* Updated jQuery MultiSelect UI Widget files version 1.14 to 1.16.
75+
* Fixed [post_terms] grabbing a wrong param.
76+
377
= 0.3.0 = 08/29/2016
478
* Fixed error 'Un-Defined Variables and Non-Objects' with Excluding Duplicates.
579
* Fixed List Amount '-1' Returning Nothing.

README.md

Lines changed: 78 additions & 96 deletions
Original file line numberDiff line numberDiff line change
@@ -1,98 +1,80 @@
1-
=== Advanced Post List ===
2-
Contributors: EkoJr
3-
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=2E6Z4VQ6NF4CQ&lc=US&item_name=Wordpress%20%2d%20Advanced%20Post%20List&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted
4-
Tags: Advanced, Post List, Categories, Category, Children, Children Pages, Content, Custom, Custom Post Type, Custom Post Types, Custom Taxonomy, Custom Taxonomies, Draft, Draft Posts, Excerpt, Filter, Future, Future Posts, Links, List, Links, News, Page, Pages, Parent, Parent Pages, Popular Posts, Post, Posts, Private, Private Posts, Related, Related Posts, Recent, Recent Posts, Shortcode, Shortcodes, Simple, Tag, Tags, Thumbnail, Widget, Widgets
5-
Requires at least: 2.0.2
6-
Tested up to: 4.6
7-
Stable tag: 0.3.0
8-
License: GPLv2 or later
9-
License URI: https://www.gnu.org/licenses/gpl-2.0.html
10-
11-
Create custom post lists to display various content. Easy to use Filter & Design
12-
as well as highly configurable and extensive.
1+
Post List builder with highly customizable filter & custom designs. Whether it's displaying Recent Posts, Related Posts, Dynamic Posts, or a list of posts in general.
132

143
== Description ==
15-
[wordpress forum]: https://wordpress.org/support/plugin/advanced-post-list
16-
"Default WordPress Support"
17-
[wordpress kalins post list]: http://wordpress.org/extend/plugins/kalins-post-list/
18-
"Kalin's Plugin"
19-
[github issues]: https://github.com/EkoJr/wp-advanced-post-list/issues
20-
"Ticket Handling"
21-
[github wiki]: https://github.com/EkoJr/wp-advanced-post-list/wiki
22-
"Contribute or Learn about APL"
23-
24-
Highly customizable plugin for designing a large variety of post lists. Allowing
25-
the Webmaster to create any design for displaying Recent Posts, Related Posts,
26-
Future Posts, etc., and easily positioning it with a shortcode inside a Page or Post.
27-
All that is required is you know HTML, but the plugin can also use CSS,
28-
JavaScript, and PHP.
29-
30-
Version 0.3 post query was switch to WP_Query to take advantage of the Custom Post
31-
Types and Taxonomies featured within WordPress, and also has additional filter settings
32-
added to further reach alternate methods of displaying posts.
33-
34-
APL's Documentation/Wiki is located on [GitHub Wiki][github wiki].
35-
36-
Discovered a bug or an enhancement? Please submit thread/ticket at
37-
[WordPress][wordpress forum] or [GitHub Issue Tickets][github issues].
38-
39-
When designing site with better navigation. This plugin accomplishes 3 main
40-
tasks when displaying the site’s content through various lists.
41-
42-
**Content of the post list**
43-
44-
* **Custom Post Type and Taxonomy Support** – New addition adds the ability to
45-
add even more posts and/or pages to your lists. Display any page from any
46-
post type and has even more filter options with any additional taxonomies that
47-
have been added.
48-
* **Add/Require Any Number of Terms** – Create diverse post lists through any
49-
configuration of terms within different taxonomies, and show any posts/pages
50-
that has one related term, but if needed, post lists can be required to have
51-
all terms selected.
52-
* **Show Page Children** – Once only able to display one page’s children pages
53-
from one hierarchical post type (WP built-in Pages). This plugin can now display
54-
multitude of children pages from multiple pages from multiple hierarchical
55-
post types. Making it easy to display sub-pages
56-
* **Dynamically Add Terms and Page Parent** – Sometimes pages are expected to
57-
change, and some area’s like the header, footer, and any sidebars are expected
58-
to change. So it’s just plain simple and nice to have one configuration that
59-
changes according to the visitor’s/user’s current page/post.
60-
* **Show Content from Private, Future, Published, and More** – A new addition
61-
added to show posts/page from not only publicly published posts/pages, but from
62-
any status. Opening up the ability for creating private sections on a website
63-
for users.
64-
65-
**Style of the post list**
66-
67-
* **Customizable Loop** – Any plugin of this design has to have a loop of some
68-
kind to list the posts and/or pages. Most have their own style of design, but
69-
this plugin gives the webmaster the tools to create his own style.
70-
* **Shortcodes for Post/Page Content** – Part of the heart of the Customizable
71-
Loop, shortcodes have made it possible to pull content from each post/page and
72-
add it to the post list.
73-
74-
**Location of the post list**
75-
76-
* **Post List Shortcode** – User friendly method of adding any post list to a
77-
section of a site.
78-
* **PHP Hardcode** – Add post lists where some situations require a more
79-
technical use where WordPress features and functions aren’t fully present.
80-
* **Sidebar Widget (Coming soon)** – Originally was removed until 0.3 was
81-
developed. Shortcodes have made it easy to add post lists to a text sidebar,
82-
but there’s still plans to take full advantage of implementing the widget class.
83-
84-
85-
This is an alternate version of [Kalins Post List][wordpress kalins post list]
86-
which was unfortunately declared abandoned. Most of the credit for creating an
87-
extraordinary plugin like this goes to Kalin. Currently, the plugin is still in
88-
the first stages of its target design. Version 1.0.0 will feature many of the
89-
functionalities that Kalin and others have mentioned, and will have a completely
90-
new layout to accommodate for the extra tools that will be added.
91-
92-
93-
**Pre-Release Projects for Version 1.0.0**
94-
95-
* **(Completed)** Import/export - Export is broken until 0.3 stable (including importing data from Kalins Post List)
96-
* **(Completed)** Custom Post Type & Taxonomies Support. Available in the 0.3 release.
97-
* Additional sort methods for 'Orderby' combo box.
98-
* Additional shortcodes.
4+
[apl getting started]: https://support.advancedpostlist.com/getting-started/
5+
"Getting Started w/ APL"
6+
[apl qa]: https://support.advancedpostlist.com/qa/
7+
"Questions & Answers"
8+
[apl docs]: https://support.advancedpostlist.com/documentation/
9+
"APL Documentation"
10+
[apl shortcodes]: https://support.advancedpostlist.com/doc/internal-shortcodes/
11+
"List of Internal Shortcodes"
12+
[wp apl support]: https://wordpress.org/support/plugin/advanced-post-list
13+
"WordPress.org - Support for APL"
14+
[github issues]: https://github.com/Advanced-Post-List/advanced-post-list/issues
15+
"Report an Issue"
16+
[github wiki]: https://github.com/Advanced-Post-List/advanced-post-list/wiki
17+
"Learn or Contribute to APL"
18+
19+
This tool functions much like a Post List builder to give Admins the most amount of control over managing content to display. Developed with Web Designers & Developers in mind, makes this a highly customizable tool to have around. However, there is a sharp learning curve for most.
20+
21+
You must know:
22+
23+
* HTML
24+
* CSS
25+
* _(Optional)_
26+
* JavaScript
27+
* PHP
28+
29+
## Summary
30+
31+
Advanced Post List (aka APL) is designed to operate much like The Loop in WordPress; which is most notable in Themes. However, that concept is taken and turned into an Admin tool that can easily be changed, moved, or added/removed. This eliminates much of the backend work, and prevents being limited to what is hardcoded into a theme.
32+
33+
This also makes multiple Featured Content with different configurations more of a breeze, and the complexity of it is a challenge that APL achieves unlike any other.
34+
35+
APL can accomplish a large degree of variations, but can be broken down to 3 main types of tasks. With Filter, Design, and Placement, here are some of the key features.
36+
37+
### Filter
38+
39+
* **Custom Post Type and Taxonomy Support (CPT)** - Displays Posts/Pages from custom post types, taxonomies, and terms. This includes other plugins with post data. but may store its data differently than post_content. (**Advanced Users, see php_function shortcode.**)
40+
* **Enhanced/Diverse Queries** - Capable of diverse filter configuration when displaying posts. This feature allows...
41+
* Cross Filtering with Custom Post Types.
42+
* Diverse Post Types -> Taxonomies query configurations.
43+
* Multiple Query configurations with include and require.
44+
* **Optimized with Complex Queries** - Once deemed an Achilles Heel to WP Query, steps are taken to reduce the server load as much as possible.
45+
* **Dynamic Filters** - Grabs values to filter by based on the current posts/pages being viewed. _Ex. Displaying Related Posts in a Header, Footer, Sidebar, etc.._
46+
* **Show Content from Published, Private, Future, etc.** - This is a *development feature* and may not provide intended results. Display content on the frontend so users don’t have to navigate to the admin side. Allowing private landing pages to be created. _Note: Requires advanced knowledge on how WP Query and User Perms operate._
47+
48+
49+
### Design
50+
51+
* **Layout and Style 99.9% Customizable** - There's nearly no limitations to the design, with some exceptions that may surface with (Child) Theme's CSS. This does require some knowledge in Web Design. *Note: This is NOT to be confused with Drag and Drop UI/UX.*
52+
* **Internal Shortcodes** - Adds various data from Post object, and is one of the extensive features. Being able to extend to shortcodes with custom PHP functions make the possibilities practically limitless. [See full list & details][apl shortcodes].
53+
* **Encapsulated for Zero Conflicts** - With a large number of shortcodes on any given site. Isolating Internal Shortcodes to its own instance eliminates any plugin conflicts.
54+
* **Custom Formats to Loop ( The Loop )** - Themes follow this concept, but APL turns that concept into a tool. The “List Content” loop, as well as the before & after, is where most of the work is done with preset HTML, CSS, JS, & PHP designs. It is also optional to set an Empty Message (No Posts Found) to display.
55+
56+
### Placement
57+
58+
* **Post List Shortcode** - User friendly method of adding Preset Post Lists to a section of a page.
59+
* **Sidebar Widget** - Easier to use. However, adding post list shortcodes to the text sidebar also produces the same results.
60+
* **PHP Hardcode** - For more extensive design work. There is a public function for displaying Preset Post Lists where WordPress support and functions for admins aren’t fully present.
61+
62+
## Other Plugins Tested/Supported
63+
64+
There's various plugins that offer a unique capability, and some of which APL can use as intended, but there are also some don't. Here is a list of popular plugins that have been tested and verified by Advanced Post List.
65+
66+
* **Advanced Custom Fields** - Requires php_function shortcode.
67+
* **WPML** - With WordPress Multilingual installed, additional Designs can be created for rendering a Post List in different languages. Posts/Pages are handled automatically and will display content in various languages.
68+
69+
APL is open to development requests and welcomes those willing to report on any issues.
70+
71+
## Help & Support
72+
73+
Currently, information can be found in 2 different locations. This is due to recent changes, and is only temporary.
74+
75+
* [Getting Started][apl getting started]
76+
* [Documentation][apl docs]
77+
* [Internal Shortcodes][apl shortcodes]
78+
* [GitHub Wiki][github wiki]
79+
80+
Questions/Bug Report submit thread / ticket at [WordPress][wp apl support] or [GitHub Issue / Tickets][github issues].

0 commit comments

Comments
 (0)