forked from wp-plugins/ns-featured-posts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.txt
80 lines (51 loc) · 2.51 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
=== NS Featured Posts ===
Contributors: rabmalin
Donate link: http://wordpress.org/plugins/ns-featured-posts/
Tags: post, custom post type, custom, posts, meta, plugin, featured, featured-post
Requires at least: 3.8
Tested up to: 4.2
Stable tag: 1.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
A plugin for making posts, pages or custom post types featured. User can enable/disable Featured for selected post types.
== Description ==
<h3>NS Featured Posts</h3>This plugin add checkbox for each list item. You can easily check / uncheck the Featured. Checking the Featured will set the meta value **yes** for meta key **_is_ns_featured_post**. From plugin settings, you can choose to which post types you want Featured functionality.
= Using in theme =
This plugin only set / unset the meta key for asigned post. You need to implement it in your theme to get Featured functionality.
Example:
`$query = new WP_Query( array( 'meta_key' => '_is_ns_featured_post', 'meta_value' => 'yes' ) );`
This will fetch the list of post which are checked as Featured.
**Want to see how this can be used in a Page Template?**
[Click this link to see example](https://gist.github.com/ernilambar/ad31b89b459e954fc950)
== Installation ==
= Using The WordPress Dashboard =
1. Navigate to the 'Add New' Plugin Dashboard
1. Select 'ns-featured-posts.zip' from your computer
1. Upload
1. Activate the plugin on the WordPress Plugin Dashboard
1. Place the 'NS Featured Posts Widget' into a Widget area through the 'Appearance -> Widgets' menu in WordPress.
= Using FTP =
1. Extract 'ns-featured-posts.zip' to your computer
1. Upload the 'ns-featured-posts' directory to your 'wp-content/plugins' directory
1. Activate the plugin on the WordPress Plugins dashboard
1. Place the 'NS Featured Posts Widget' into a Widget area through the 'Appearance -> Widgets' menu in WordPress.
== Frequently Asked Questions ==
= There is something cool you could add... =
Nice, make a post on the [Support Forum](http://wordpress.org/support/plugin/ns-featured-posts "NS Featured Posts Support") and let us know. We are always looking for ways to improve our plugins.
== Screenshots ==
1. Admin Settings page
2. Example of featured in Post listing
== Changelog ==
= 1.1 =
* New: Metabox added in edit screen to enable/disable featured
* Fix: Minor Bug fixes
* Compatibility: Compatibility check with WP 4.2
= 1.0.2 =
* Bug fixes
= 1.0.1 =
* Add Featured Posts Widget
* Bug fixes
= 1.0.0 =
* Initial release
== Upgrade Notice ==
NS Featured Posts