Changeset 1369811
- Timestamp:
- 03/12/2016 01:52:08 PM (10 years ago)
- Location:
- goods-catalog/trunk
- Files:
-
- 7 edited
-
goods-cat.php (modified) (1 diff)
-
inc/class.goods-post-type.php (modified) (1 diff)
-
inc/functions.php (modified) (3 diffs)
-
languages/gcat-ru_RU.mo (modified) (previous)
-
languages/gcat-ru_RU.po (modified) (2 diffs)
-
readme.txt (modified) (4 diffs)
-
templates/single-goods.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
goods-catalog/trunk/goods-cat.php
r1233870 r1369811 5 5 Plugin URI: http://oriolo.wordpress.com/2014/03/25/goods-catalog-wordpress-plugin-that-creates-catalog-of-products/ 6 6 Description: Plugin that creates simple catalog of goods. 7 Version: 0.10.07 Version: 1.0.0 8 8 Author: Irina Sokolovskaya 9 9 Author URI: http://oriolo.ru/ -
goods-catalog/trunk/inc/class.goods-post-type.php
r1152132 r1369811 36 36 'public' => true, 37 37 'menu_position' => 30, 38 'supports' => array('title', 'editor', 'thumbnail' ),38 'supports' => array('title', 'editor', 'thumbnail', 'comments'), 39 39 'taxonomies' => array('goods_category'), 40 40 'has_archive' => true, -
goods-catalog/trunk/inc/functions.php
r1233870 r1369811 32 32 /** 33 33 * Goods query settings 34 * renamed from goods_pagesize(); 34 35 * 35 36 * @link https://codex.wordpress.org/Class_Reference/WP_Query#Order_.26_Orderby_Parameters 36 37 * @param $query array 38 * @since 0.10.0 37 39 */ 38 40 … … 54 56 } 55 57 56 add_action('pre_get_posts', 'goods_query', 1); // Set items per page58 add_action('pre_get_posts', 'goods_query', 1); 57 59 58 60 /** … … 258 260 return $before . $output . $after; 259 261 } 260 -
goods-catalog/trunk/languages/gcat-ru_RU.po
r1233870 r1369811 4 4 "Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/goods-catalog\n" 5 5 "POT-Creation-Date: 2015-08-29 23:48+0300\n" 6 "PO-Revision-Date: 2015-08- 29 23:50+0300\n"6 "PO-Revision-Date: 2015-08-30 18:11+0300\n" 7 7 "Last-Translator: Irina Sokolovskaja <sokolovskaja.irina@gmail.com>\n" 8 8 "Language-Team: \n" … … 525 525 #: ../inc/class.goods-post-type.php:30 526 526 msgid "View" 527 msgstr " Вид"527 msgstr "Просмотреть" 528 528 529 529 #: ../inc/class.goods-post-type.php:31 530 530 msgid "View of items" 531 msgstr " Вид товаров"531 msgstr "Просмотреть товар" 532 532 533 533 #: ../inc/class.goods-post-type.php:32 -
goods-catalog/trunk/readme.txt
r1268012 r1369811 4 4 Stable tag: trunk 5 5 Requires at least: 3.3.0 6 Tested up to: 4. 36 Tested up to: 4.2.1 7 7 License: GNU General Public License v2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 80 80 3. Singe product page 81 81 4. Admin page 82 5. Settings page83 82 84 83 == Frequently Asked Questions == … … 104 103 Another option is to change the plugin files see the discussion [here](https://wordpress.org/support/topic/how-to-modify-the-catalog-title-page). It is not recommended: you will lose the changes after the plugin update. 105 104 105 = How can I enable or disable the comments for catalog entries? = 106 Since the version 1.0.0 comments comments are enabled by default. You can disable them globally in WordPress Admin settings (at Discussion tab), or you can use third-part plugins to make comments available only for some post types, for example [Disable Comments Plugin](https://wordpress.org/plugins/disable-comments/). 107 108 = How can I separate comments to products and posts in the Admin Panel? = 109 You can use my plugin [Comments by Post Type](https://wordpress.org/plugins/comments-by-post-type/) for that. 110 106 111 == Changelog == 112 113 = 1.0.0 = 114 115 * New feature: Comments 107 116 108 117 = 0.10.0 = … … 279 288 == Upgrade Notice == 280 289 290 = 1.0.0 = 291 292 New feature: Comments 293 281 294 = 0.10.0 = 282 295 -
goods-catalog/trunk/templates/single-goods.php
r1154409 r1369811 59 59 } 60 60 ?> 61 <div class="navigation"><?php posts_nav_link(); ?></div> 61 <div class="navigation"> 62 <?php previous_post_link( '%link', __('Previous product', 'gcat'), TRUE, ' ', 'goods_category' ); ?> 63 <?php next_post_link( '%link', __('Next product', 'gcat'), TRUE, ' ', 'goods_category' ); ?> 64 </div> 65 <div class="comments"> 66 <?php comments_template( '', true ); ?> 67 </div> 62 68 <?php 63 69 } else {
Note: See TracChangeset
for help on using the changeset viewer.