Changeset 1668812
- Timestamp:
- 06/01/2017 02:31:58 PM (9 years ago)
- Location:
- json-feeder/trunk
- Files:
-
- 3 edited
-
json-feeder.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
-
template/json-feeder.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
json-feeder/trunk/json-feeder.php
r1668140 r1668812 5 5 Description: Adds a new type of feed you can subscribe to. http://example.com/feed/json or http://example.com/?feed=json to anywhere you get a JSON form. 6 6 Author: signalfade 7 Version: 1.0. 57 Version: 1.0.6 8 8 9 9 License: -
json-feeder/trunk/readme.txt
r1668140 r1668812 4 4 Requires at least: 4.0 5 5 Tested up to: 4.7.5 6 Stable tag: 1.0. 56 Stable tag: 1.0.6 7 7 8 8 Adds a feed based on the jsonfeed.org standard that one can subscribe to or parse. -
json-feeder/trunk/template/json-feeder.php
r1668140 r1668812 6 6 $callback = trim(esc_html(get_query_var('callback'))); 7 7 $charset = get_option('blog_charset'); 8 if(strpos($_SERVER['REQUEST_URI'], 'feed/json')!==false && isset($post->ID) && !empty($post->ID) && !is_category() ) {8 if(strpos($_SERVER['REQUEST_URI'], 'feed/json')!==false && isset($post->ID) && !empty($post->ID) && !is_category() && is_single()) { 9 9 $site_description = get_bloginfo('description'); 10 10
Note: See TracChangeset
for help on using the changeset viewer.