Linux 软件免费装

Blog-in-Blog

开发者 timhodson
更新时间 2012年3月4日 02:22
捐献地址: 去捐款
PHP版本: 3.0 及以上
WordPress版本: 3.3.1

标签

categories blog hide cms

下载

0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 0.9.1 0.9.2 0.9.3 0.9.4 0.9.5 0.9.6 0.9.7 0.9.8 0.9.9 0.9.9.2 0.9.9.3 0.9.9.4 1.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.8 1.0.9 1.1 1.1.1 0.9.9.1 1.0.7

详情介绍:

Blog-in-Blog allows you to use the Wordpress platform for it's CMS features, but still have a blog page on your site. Posts selected by category, post_type, tag or any combination thereof, can be used to feed the 'special' blog page, and can optionally be hidden from the home page. You can have more than one category hidden from the homepage (not post_types or tags). You can also use this plugin to show posts on the same page from different categories, post_types or tags, but in several different blocks and using different layout templates. If you find this plugin useful (especially if it gets you out of a fix in a commercial setting), please feel free to leave feedback via the donate button. I am grateful for those people who have already bought me a beer :) Important: In previous versions of the Blog-in-Blog plugin you might have edited bib_post_template.tpl. If you are upgrading, we will copy this to a textbox so you can edit the template from the plugin page. The bib_post_template.pl file is no longer used and may vanish in a future release.

安装:

How to install the plugin and get it working. Briefly:
  1. Upload the blog-in-blog directory to the /wp-content/plugins/ directory (or install via wordpress plugins admin menu)
  2. 通过WordPress的“插件”菜单激活插件
  3. Add a shotcode such as [blog_in_blog category_slug='my-category-slug' num=5] to a new PAGE (not post) on your site.
  4. Optionally, use the admin page to select which category(ies) to hide from the home page.
  5. Therefore, any posts with the chosen category are shown only on your new page and not on the home page, so if you use Wordpress as a CMS, you now have a blog within a blog.
NOTE: Don't copy any code from here and paste into the visual editor, as you will be copying some HTML too, and you may not want that. Use the HTML editor to paste you shortcode and make sure it is not wrapped in extra HTML. How it works:
  1. Add the shortcode in the body of a new PAGE (not post) to select a number of posts within a specified category. This page with the shortcode becomes your 'blog in blog' page (you can of course call it what you will). i.e:
[blog_in_blog category_slug='my-category-slug' num=10] Yuo must specify the category_slug . Optionally specify a number of posts, defaults to 10. There are lots of other parameters you can use (see below). 1. You can hide the pagination of the posts. [blog_in_blog category_slug='my-category-slug' num=10 pagination=off] 1. You can optionally hide specified (multiple) categories from the normal home page and RSS feeds. (There is an admin page for you to do this) 1. You can optionally specify a template to use for an instance of the blog-in-blog shortcode. [blog_in_blog category_slug='my-category-slug' num=5 template="myfile.tpl"] This template must exist in the wp-content/uploads directory or the wp-content/plugins/blog-in-blog directory. 1. You can customize some of the look and feel elements of the post display, including your own css style for the pagination, on the blog-in-blog admin page. Tips
  1. The category list in the blog-in-blog admin page ONLY shows categories with posts. You need to create some content first!
  2. You can specify the name of the template in the shortcode (applies to that shortcode instance only). First we look in the database for a user template, then we always look in wp-content/uploads/ (or wherever you have set your uploads folder) for your template file first before looking in wp-content/plugins/blog-in-blog (your template will probably be lost when the plugin is upgraded).
  3. Using the blog-in-blog shortcode on a page which is designated as a static shortcode will work, BUT pagination will not work as you expect it. I know this, but have not been able to fix yet. It is all to do with the way that Wordpress builds it's URLs on the fly, and that is very complex!
What shortcode options are there? NOTE: Don't copy any code from here and paste into the visual editor, as you may be copying some HTML too, and you may not want that. Use the HTML editor to paste you shortcode and make sure it is not wrapped in extra HTML. As a minimum you need the following shortcode: [blog_in_blog category_slug='my-category-slug'] or to save you typing [blog_in_blog] every time... [bib category_slug='my-category-slug'] All shortcode paramaters: These shortcode parameters can be combined in any way you like (except post_id) to target specific posts: These parameters affect the pagination display: These parameters affect the order of the posts: These parameters affect the look of your posts. What template tags are available?

常见问题:

How do I get my posts displayed via blog-in-blog to look like the rest of my wacky theme?

Writing this plugin is not the whole of my life. Therefore if you email, I may not get back to you straight away. Additionally the support forums on wordpress don't tell me when there is a new post, so there may be a delay in response. You need to use the template features of blog-in-blog to get your posts to show using the same HTML and CSS structure that your theme uses. You will need to learn some CSS and HTML then update the template. I cannot do this for you.

There is a problem can you help?

Yes, but only if you have already done the following and sent me the answers.

  1. Send me a link to your site where i can see the problem live.
  2. Switch to the default wordpress theme
  3. Disable all plugins except for blog-in-blog. Does the problem still show?
  4. If not, switch back to your theme.
Does the problem show now? If so, tell me what the theme is. 1. Add other plugins back one by one. After each test to see if the problem is still there. Which plugin caused the conflict with blog-in-blog?

Can I ask you a question?

Yes, and I will even try to answer your question! If you are atempting to contact me with Skype Chat, I only accept contact resquests if it is obvious you are asking about this plugin (try not to look too much like spam!), so don't be offended if it seems I ignore you. Try an email instead :) . And I do have a day job too... Tim Hodson

What Translations are available?

Thanks to the folowing people for providing translations, and feel free to send me yours if you don't see your language listed here.

  • Belarusian be_BY - FatCow
  • Dutch nl_NL - Mark Strooker
  • German de_DE - Christian Schmitter
  • Norwegian no - Geir A Granviken
  • French fr_FR - Stef Walter
The .pot file was extensively rewritten as of version 1.0.3. You may wish to send me your new translations?

更新日志:

1.1.1 1.1 1.0.9 1.0.8 1.0.7 1.0.6 1.0.5 1.0.4 1.0.3 1.0.2 1.0.1 1.0 Finally released version 1.0! 0.9.9.4 0.9.9.3 0.9.9.2 0.9.9.1 0.9.9 0.9.8 0.9.7 0.9.6 0.9.5 0.9.4 0.9.3 0.9.2 0.9 0.8 0.7 0.6 0.5 Further Bug fixes around initial installation: dealing with no categories and no posts to display. 0.4 0.3 0.2