Changeset 1320801
- Timestamp:
- 01/04/2016 10:27:27 AM (10 years ago)
- Location:
- wp-jsonld/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (4 diffs)
-
wp-jsonld.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-jsonld/trunk/readme.txt
r1320016 r1320801 1 [](https://waffle.io/bmhm/wp-jsonld) 1 2 === wp-jsonld === 2 3 … … 7 8 Requires at least: 4.0 8 9 Tested up to: 4.4 9 Stable tag: 0.3. 110 Stable tag: 0.3.2 10 11 License: GPLv2 or later 11 12 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 18 19 Original Plugin (discontinued): https://de.wordpress.org/plugins/json-ld-for-article/ 19 20 20 Sadly, he original plugin is not being developed anymore. So I decided to fix some bugs like invalid markup,21 Sadly, the original plugin is not being developed anymore. So I decided to fix some bugs like invalid markup, 21 22 missing tags, putting objects into fields instead of just URLs for images, and implementing for more than just 22 23 articles. … … 78 79 == Changelog == 79 80 80 = 0.3 = 81 = 0.3.2 = 82 * Find correct front page. 83 84 = 0.3.1 = 85 * updated type so release could be pushed. 86 87 = 0.3.0 = 81 88 * Use transients for caching. 82 89 * Use tag 'aggregateRating' if YSSR is installed. 83 90 84 = 0.2 =91 = 0.2.0 = 85 92 * Extended the functionality a bit and completely refactored the code to make it much more readable. 86 93 -
wp-jsonld/trunk/wp-jsonld.php
r1320408 r1320801 3 3 Plugin Name: WP-JSONLD 4 4 Description: WP-JSONLD adds valid schema.org microdata as JSON-LD-script to your blog posts, author pages and articles. 5 Version: 0.3. 15 Version: 0.3.2 6 6 Author: Benjamin Marwell 7 7 Original Author: Mikko Piippo, Tomi Lattu … … 218 218 // this is mean. The Page with posts can be another page 219 219 // than home_url() or site_url(). 220 $blogurl = get_permalink(get_option('page_for_posts')); 220 if (get_option('show_on_front') == 'page') { 221 $blogurl = get_permalink(get_option('page_for_posts')); 222 } else { 223 $blogurl = home_url('/'); 224 } 221 225 $markup->mainEntityOfPage = $this->createMainEntity('WebPage', $blogurl); 222 226 //$markup->generatedAt = date('Y-m-d H:i:s');
Note: See TracChangeset
for help on using the changeset viewer.