이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

Featured Posts Grid

설명

Live Demo
More Info
Comments/Suggestions
About Author

This plugin will display a grid of posts in any desired location within a template or post.
The appearance is highly customizable via the admin options menu (colors, drop shadows, & more).

If there are any additional features or bug fixes you would like to see in future versions, feel free to contact me.

If you find this plugin useful please remember to rate it and comment.

스크린샷

  • Appearance Customization

설치

Installation

  • Use the built-in WordPress plugin installer.

    OR

  • Download the zip file and extract the contents.
    Upload the ‘featured-posts-grid’ folder to your plugins directory (wp-content/plugins/).

  • Activate the plugin through the WordPress ‘Plugins’ menu.
  • Recommendation: Refer to “How to Use” and “FAQ” for useful info.

How to Use

To use this plugin to display the most recent posts in any category and with any tag:

  • Copy and paste the code below to your desired template location:

If you would like to customize what posts are displayed:

  • Copy and paste the code below to your desired template location:
    ”,/* comma separated list of category ids to include (put ‘-‘ in front of ids to exclude) */
    ‘tag’ => ” /* comma separated list tag slugs to include */);
    echo fpg_show($args);
    }?>
  • Modify the ‘$args’ array to filter out only the posts that you would like displayed. Delete any entries in the array you don’t want to use (be careful with the commas. See here for more details on all valid query parameters. Contact me if you have any questions about getting just the posts that you want.
  • Recommendation: Create a new ‘featured’ tag and put it on the posts that you want to displayed and add that category’s slug to the array in the code above.

If you would like to display the featured posts scroll inside of a post:

  • Insert the following shortcode in your post:
    [fpg]
  • Arguments can also be used with the shortcode to specify posts to display:
    [fpg cat=”-3″ tag=”featured”]

FAQ

FAQ
Where do the images displayed come from?

Images are based on the “Featured Image” selected on the Edit Post screen. If the option is not displayed, click Screen Options in the top right of the Edit Post screen and check the “Featured Image” checkbox.

I changed the size of the grid items, but my images didn’t change size. What do I need to do?

Any new image added to your site should have a thumbnail created in the correct new size. However, the old thumbnails will need to be regenerated. This can be done for all images on your site with the excellent “Regenerate Thumbnails” plugin.

I’m getting an error: “Call to undefined function has_post_thumbnail()”, and I can’t add a “Featured Image” to my posts.

This issue is typically caused by templates that don’t enable post thumbnails. If your template’s functions.php file does not contain this, you must add it:

add_theme_support( 'post-thumbnails' );
I have the “Display Excerpts” option selected, but I’m not seeing anything

The plugin will currently only display manually entered excerpts. Automatically generated excerpts will not be displayed.

When I save my settings, I get an error that says statics JS and/or CSS files can’t be saved. What can I do to fix this?

If you get this error, it means that the permissions on your server aren’t setup to let WordPress write directly to a file. To resolve this you’ll need to temporarily change the permissions on this plugin’s css and js directories, click “Save Settings” on the admin page, and then change the permissions back.

You can change the permissions on your server either by using SSH or a config menu on your hosting service’s site (if they allow you to directly change permissions). With SSH access, navigate into the featured-posts-grid directory and enter “chmod 777 css js”, click “Save Settings” on the admin page, and then change permissions back with “chmod 755 css js”.

후기

이 플러그인에 대한 평가가 없습니다.

기여자 & 개발자

“Featured Posts Grid”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “Featured Posts Grid”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

1.7

  • Corrected issue with plugin appearing on post/page templates.
  • Made caching to static CSS and JS files optional. Some users have reported issues with this feature.

1.6

  • Corrected issue with activation that was causing new variables to not be initialized to default values.

1.5

  • Refactored activate/deactivate functions.
  • Reorganized/renamed some CSS and JS files. Removed files that are no longer used.
  • Corrected issue where plugin could interfere with post/page templates causing the wrong post data to be displayed.
  • Added auto-scroll options.
  • Added roll-over option (user can scroll past last page back to first and vice-versa)
  • Performance update. CSS and JS that were generated from PHP on every page view are now saved to static files every time an admin option is changed.

1.4

  • Refactored JavaScript to prevent causing issues with plugins that assume “$” references jQuery.

1.3

  • Fixed issue where only last row appeared when scrolling left.
  • Added option to display post author and date
  • Removed max_width from some fields on admin page.

1.2

  • Don’t display empty cells if there are not enough entries.
  • Round down the width of the cells in the last column to avoid IE6/7 rounding issue.

1.1

  • Added option to display post excerpt.

1.0

  • Initial release.