Plugin này chưa được cập nhật với 3 phiên bản mới nhất của WordPress. Nó có thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress mới nhất.

Genesis Post Teasers

Mô tả

This plugin uses the Genesis grid loop function to display posts teasers either on your Homepage, Archives, or Blog Template and gives added options to control them. Easily have 1,2,3… as many featured posts at top and teasers below. Enable Thumbnails, Disable the byline or post meta and limit the text for the teasers. The Genesis Theme Framework by studiopress is required.

Ảnh màn hình

  • Plug-in options in Genesis theme options

Cài đặt

  1. Upload the entire genesis-post-teasers folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Navigate to the Genesis > Theme Settings menu
  4. Configure Options for ‘Homepage Teasers’

Hỏi đáp

What happens when I select Use Plugin CSS?

This plug in adds additional markup to style the post teasers. Selecting ‘Child Theme CSS’ will not load any the CSS provided in the plugin and requires you to add your own to your child theme’s style.css. By default The post teasers will be displayed in pairs side by side.

The plug in seems to have done nothing for my site

This Plugin will not work with widgetized homepages. If your homepage is widgetized try selecting “Archive” or “Blog Template”.

Người đóng góp & Lập trình viên

“Genesis Post Teasers” 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

2.0.3

  • Fixed: Options for post teasers not respected. Conditional logic for style blocks properly checks if not empty.

2.0.2

  • Added: All images sizes are now available for thumbnails.
  • Updated: More code clean up.
  • Fixed: Fatal error when using JetPack Mobile theme. Extra checks to make sure Genesis is active before running code.

2.0.1

  • Fixed: Some themes may override “Do not show teasers in pairs” by using included theme styles. Added Styles to override floating of teasers when “Do not show teasers in pairs” is checked.

2.0.0

  • Added: Basic support for G2.0 and HTML5.
  • Updated: Code clean up and rewrite.
  • Updated: CSS clear float technique.
  • Updated: Activation check method to use wp_get_theme().
  • Fixed: Reworked logic to make sure divs are being closed properly.
  • Fixed: Issues with Posts per page (removed from genesis_loop). Now handled by get_pre_posts.
  • Fixed: Issues with post teasers working on Blog Template.
  • Fixed: Posts per page now handled by get_pre_posts.
  • Removed: ‘gpt_blog_cat_id’ & ‘gpt_blog_tag’ custom field keys. Please use ‘query_args’. Accepts standard WP_Query args.

1.0.5

  • Added: Use ‘gpt_blog_cat_id'(takes category id) & ‘gpt_blog_tag'(takes tag name) as custom field keys to specify a blog category or tag archive when teasers enabled on “Blog Template” per page.
  • Fixed: Queries all posts on tag archives when teasers are enabled “Archives”

1.0.4

  • Fixed: Metabox will not load in genesis ver 1.8.0

1.0.3.2

  • Fixed: Any settings get reset on save.
  • Change: Moved the settings back to main genesis theme settings page for now.

1.0.3.1

  • Fixed: Default styles will not show if edit styles is not checked.

1.0.3

  • Put Settings on its own page as a sub menu item of Genesis. ( “Post Teaser Settings” )
  • Fixed: Issue with js on admin side that the Edit style area may hide it self on when changing custom widths or heights.
  • Fixed: If “Edit teaser styles?” any value for height or width were still loaded.
  • Fixed: If no teasers were displayed due to limit of posts div structure would break. ( Props @GK ).

1.0.2

  • Added support for featured posts to have featured images.
  • UI updates.
  • Fixed: Archive loops would break and show all posts.
  • Fixed: Blog template custom category query args would be ignored.

1.0.1

  • Version bump for auto upgrades. See above for added features and fixes.

1.0

  • Added ability to display teaser boxes on archives.
  • Added default settings.
  • Cleaned up settings widget.
  • Fixed: Meta box didn’t display in Genesis 1.6

1.0b

  • Now takes advantage of genesis_grid_loop()
  • Allows selection of where teasers should be display. ( Home or the Blog Template )
  • Allows customization of ‘continue reading’ text.
  • Added option to display teasers full width.
  • Small bug fixes.

0.9.0.1

  • Bug fix: Fixes an issue in which plug-in will break site using a mobile theme like WPtouch.

0.9

  • Initial Beta Release