该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

post gallery

描述

this plugin create a gallery/archive of posts. you can decide how many words will be Shawn under each post and more. used very easily using the shortcode: [post-gallery cat=”1″ words=”10″ onpage=”5″]

by using this plugin you can present the posts of every category in a very nice way, much more orgenized than how most themes do it.

*it’s fully responsive.

A brief Markdown Example

Ordered list:

  1. more options to the admin panel for better flexibility
  2. translation PO&MO files

Here’s a link to WordPress and one to Markdown’s Syntax Documentation.
Titles are optional, naturally.

Markdown uses email style notation for blockquotes and I’ve been told:

Asterisks for emphasis. Double it up for strong.

<?php code(); // goes in backticks ?>

屏幕截图

  • this is an example of how it will look like

安装

  1. Upload post-gallery-and-archive folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. create some posts with fetured images in them.
  4. add the shortcode any ware in your site (posts or pages): [post-gallery cat=”1″ words=”10″ onpage=”5″]
  5. that is it ! now you can see the post archive / gallery

常见问题

can i change the number of posts presented on page ?

yes ! the value “onpage” is in charge of this, just weite the number of posts you want to show. if you want to show them all, just leave it blank or write “999”.

can i show all posts from all categories ?

yes, just leave the “cat” value blank, like this: cat=””

how can i tell what is the category ID ?

well, that is easy ! when you press on the category you will see up on the browser address bar the ID of the cat.
see here:
http://www.wprecipes.com/how-to-find-wordpress-category-id

评价

阅读所有3条评价

贡献者及开发者

“post gallery” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“post gallery”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0

this is the first version