Blog Introduction displays an introduction (heading and/or contents of certain
page) before posts. Intro content comes from a designated page, please see below for examples.
An introduction can appear on your
- home page (from page whose URL – aka permalink aka slug – is, by default, ‘blog-introduction’),
- category archive pages (intro from page ‘yourcategoryurl-cat-intro’, e.g. category has ‘widgets’ slug, then intro comes from page that has slug ‘widgets-cat-intro’),
- tag archive pages (intro from page ‘yourtagurl-tag-intro’, e.g. tag is ‘blue-widgets’, then use ‘blue-widgets-tag-intro’ as intro page slug), and
- author archive pages (intro from page ‘yourauthorurl-author-intro’, e.g. author is ‘jsmith’, then use ‘jsmith-author-intro’ as intro page slug).
Hide these special pages by making them private.
Plugin options allow for you to:
- Define who sees the introduction (everyone / logged in users only / visitors only).
- Choose which parts (heading and/or content) you want to show.
- Change the heading wrapper tag.
- Define style (CSS) for various parts of intro.
- Change where the home page’s intro is taken from, either by page id or its permalink.
- Define home page’s the intro (instead of using a specific page).
- Disable intro on home page and only use it on archive pages.
Default output (for home page):
<div id='blog_introduction' class='blog-introduction-container'> <div id='blog_introduction_heading' class='blog-introduction-heading'> <h2><span><!-- page title is printed here --></span></h2> </div> <div id='blog_introduction_content' class='blog-introduction-content'> <!-- content is printed here --> </div> </div>
If you use the plugin, please rate it at WP Plugin Directory. Thanks!
Ảnh màn hình
blog-introductionfolder to the
- Create a new page. Put ‘blog-introduction’ as its permalink. Set the page private.
- Activate the plugin through the ‘Plugins’ menu in WordPress.
- Enter settings page and choose to ‘Show intro’ (and make other settings to your liking).
- My introduction looks funny/distorted, can I change it?
Sure. Try changing CSS style of introduction elements, either in plugin settings or in your CSS file.
- I did make changes in my CSS file, but it still looks funny/distorted!
Please check that dashes and underscores in id’s and class names in the CSS file match the ones used in HTML code.
- Intro appears in my sidebar, what can I do?
You probably have another article loop appearing before the one you’d prefer. Change setting “Intro before nth loop” in Blog Introduction settings to “2”. That will make intro appear before the second loop. (Value “3” will put intro before the third loop, and so on.)
- Can I have a different slug for category/tag/author intro page?
No, unfortunately that’s not possible. Managing the relations between the category/tag/author strings and intro page slugs would be too much of a hassle.
- How can I donate?
To your local charity. Or better yet, take a homeless person into a store and buy him/her a bag of proper food. Veggies, too. Also, whether you liked the plugin or not, I’d appreciate if you rated it at WP Plugin Directory. Thanks!
There are no reviews for this plugin.
Người đóng góp & Lập trình viên
“Blog Introduction” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.Những người đóng góp
Nhật ký thay đổi
- Broke in WP 3.2.1 with certain settings. Fixed.
- Documentation update.
- Documentation update (changelog, upgrade notice).
- Documentation update (better slug descriptions).