Linux 软件免费装
Banner图

Column Posts

开发者 lebasca
更新时间 2016年1月4日 14:48
捐献地址: 去捐款
PHP版本: 3.6 及以上
WordPress版本: 4.4
版权: GPLv2 or later
版权网址: 版权信息

标签

posts categories column excerpt category thumbnail category posts column posts

下载

1.0 1.0.1 1.1 1.1.1 1.2 1.2.1 1.2.2 1.2.3 1.2.4 1.3 1.4 1.2.5

详情介绍:

Column Posts is a WordPress plugin that allows you to display your posts in columns. The columns can be classified by categories or posts. These are the features: 用法 To display the posts in columns, use the following code in your template files: <?php do_action('columnpost'); ?>. You can use the shortcode [columnpost] if you want to display the output of this plugin in your page or post content. Also, the column posts can be displayed in the sidebar by using the Column Posts widget. 译: If you have created your own language pack, or have an update of an existing one, you can contact me so that I can bundle it into Column Posts. You can download the latest POT file.

安装:

自动安装
  1. Go to the Dashboard and click Plugins > Add New.
  2. Enter Column Posts under search textbox.
  3. Click Install Now to install this plugin.
  4. Confirm the popup window to install the plugin.
  5. Click Proceed to continue with the installation.
  6. Click Activate Plugin to activate it.
手动安装
  1. Download the files for this plugin.
  2. Upload the files to the wp-content/plugins directory.
  3. Go to the Dashboard and find this plugin in the list.
  4. Click Activate Plugin to activate it.
The settings page is found in settings > Column Posts.

屏幕截图:

  • Column Post Setting Options.
  • Column Post is displayed in the Front page.

常见问题:

Is there a way to change the maximum number of columns?

No at this moment. The maximum number of column is three and it is predefined.

If I remove the reserved word for category title (%%title%%), can I still get the title?

No, you have to leave this predefine word in order to get the category title; otherwise, the category title won’t be displayed. Also, you can add words before or after the reserved word for category title (%%title%%).

How can I specify the categories that I want to display?

You have to enter the category id into include category textbox. You can also enter the categories that you want to exclude into exclude category textbox.

Why custom radio button is disabled?

Custom option is disabled when there are no categories typed in include category textbox. Once you enter some text, you will see the custom option enabled.

Can I have different font-family for the category title and the excerpt?

No, the font-family is the same for the whole output plugin.

If I don’t know the hex color value, is there a color picker?

Yes, the color picker is next to the textbox for entering the color. When you click on the square, the color picker tool will appear below the textbox. This color picker works the same as the one in photoshop.

I would like to know how to limit the amount of excerpt data I am displaying: like number of words or number of characters, etc. Sometimes is too much of it and I do not want to fill up the page with big paragraphs of information. Is this possible?

Yes, you can limit the amount of excerpt words by adding these lines in your functions.php file located in your theme directory: function custom_excerpt_length( $length ) { return 25; } add_filter( 'excerpt_length', 'custom_excerpt_length', 999 ); In the example above, I limited the excerpt to 25 words but you can put any number that you want.

Does shortcode support parameters?

The version 1.3 of this plugin supports two parameters: include category and exclude category. Example: [columnpost cat_inc=”1,8″ cat_exc=”4″] // lists categories 1 and 8 and exclude category 4 [columnpost cat_inc=”1,8″] // lists categories 1 and 8 and uses the exclude category if it is specified in the settings [columnpost cat_exc=”4″] // excludes category 4 and uses the include category if it is specified in the settings

更新日志:

1.4 1.3 1.2.5 1.2.4 1.2.3 1.2.2 1.2.1 1.2 1.2 1.1.1 1.1 1.0.1 1.0