Changeset 1583067
- Timestamp:
- 01/26/2017 11:25:14 PM (9 years ago)
- Location:
- custom-templates/trunk
- Files:
-
- 2 edited
-
custom-templates.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
custom-templates/trunk/custom-templates.php
r1554581 r1583067 4 4 Plugin URI: https://webikon.sk/ 5 5 Description: Custom post content templates based on post types. 6 Version: 1.2. 06 Version: 1.2.1 7 7 Author: Webikon (Ján Bočínec) 8 8 Author URI: https://webikon.sk/ … … 90 90 add_filter( 'comments_open', function( $open, $post_id ) { 91 91 if ( $template = get_custom_template( $post_id ) ) { 92 $open = ( 'open' == get_post_meta( $template->ID, 'template_extra_field_ seo_keywords', true ) );92 $open = ( 'open' == get_post_meta( $template->ID, 'template_extra_field_comments', true ) ); 93 93 } 94 94 -
custom-templates/trunk/readme.txt
r1554581 r1583067 5 5 Requires at least: 4.4 6 6 Tested up to: 4.6.1 7 Stable tag: 1.2. 07 Stable tag: 1.2.1 8 8 License: GPL-2.0+ 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.txt … … 68 68 69 69 == Changelog == 70 = 1.2.1 = 71 * Fixed comments on/off malfunction. 72 70 73 = 1.2.0 = 71 74 * Added options to turn comments on/off.
Note: See TracChangeset
for help on using the changeset viewer.