Changeset 1149594
- Timestamp:
- 04/29/2015 10:33:52 PM (11 years ago)
- Location:
- angularjs-for-wp/trunk
- Files:
-
- 2 edited
-
plugin.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
angularjs-for-wp/trunk/plugin.php
r1132529 r1149594 4 4 * Plugin URI: http://www.roysivan.com/angularjs-for-wordpress 5 5 * Description: This plugin will allow you to easily load WordPress content client-side using AngularJS. JSON REST API required. 6 * Version: 1.2 6 * Version: 1.2.1 7 7 * Author: Roy Sivan 8 8 * Author URI: http://www.roysivan.com … … 44 44 45 45 // TEMPLATE OVERRIDES 46 if(file_exists(get_ template_directory().'/angularjs-templates/list-detail.html')) {47 $template_directory['list_detail'] = get_ bloginfo('template_directory').'/angularjs-templates/list-detail.html';46 if(file_exists(get_stylesheet_directory().'/angularjs-templates/list-detail.html')) { 47 $template_directory['list_detail'] = get_stylesheet_directory_uri().'/angularjs-templates/list-detail.html'; 48 48 } 49 49 50 if(file_exists(get_ template_directory().'/angularjs-templates/single-detail.html')) {51 $template_directory[' list_detail'] = get_bloginfo('template_directory').'/angularjs-templates/single-detail.html';50 if(file_exists(get_stylesheet_directory().'/angularjs-templates/single-detail.html')) { 51 $template_directory['single_detail'] = get_stylesheet_directory_uri().'/angularjs-templates/single-detail.html'; 52 52 } 53 if(file_exists(get_ template_directory().'/angularjs-templates/new-post.html')) {54 $template_directory['new_post'] = get_ bloginfo('template_directory').'/angularjs-templates/new-post.html';53 if(file_exists(get_stylesheet_directory().'/angularjs-templates/new-post.html')) { 54 $template_directory['new_post'] = get_stylesheet_directory_uri().'/angularjs-templates/new-post.html'; 55 55 } 56 if(file_exists(get_ template_directory().'/angularjs-templates/post-content.html')) {57 $template_directory['post_content'] = get_ bloginfo('template_directory').'/angularjs-templates/post-content.html';56 if(file_exists(get_stylesheet_directory().'/angularjs-templates/post-content.html')) { 57 $template_directory['post_content'] = get_stylesheet_directory_uri().'/angularjs-templates/post-content.html'; 58 58 } 59 59 -
angularjs-for-wp/trunk/readme.txt
r1149074 r1149594 5 5 Requires at least: 3.9 6 6 Tested up to: 4.2.1 7 Stable tag: 1.2 7 Stable tag: 1.2.1 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 67 67 = 1.2 = 68 68 * Fix for new post template [fixing issue](https://wordpress.org/support/topic/template-override-for-new-posthtml-appears-to-not-be-working?replies=2#post-6635530) 69 70 = 1.2.1 = 71 * Child Theme Support
Note: See TracChangeset
for help on using the changeset viewer.