Title: Get Image from Post
Author: klickonit
Published: <strong>7 Tháng 6, 2009</strong>
Last modified: 13 Tháng 7, 2017

---

Tìm kiếm plugin

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.

![](https://s.w.org/plugins/geopattern-icon/get-image-from-post.svg)

# Get Image from Post

 Bởi [klickonit](https://profiles.wordpress.org/klickonit/)

[Tải về](https://downloads.wordpress.org/plugin/get-image-from-post.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/get-image-from-post/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/get-image-from-post/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/get-image-from-post/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/get-image-from-post/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/get-image-from-post/)

## Mô tả

** this plugin is no longer being update. Please feel free to adopt me! **

This is a simple plugin which allows users to return an image from the related post.

## Cài đặt

To install the plugin, please upload the folder to your plugins folder and active
the plugin.

## Hỏi đáp

  Installation Instructions

To install the plugin, please upload the folder to your plugins folder and active
the plugin.

  How do I display the results?

Insert the following code into your WordPress theme files:

  General results

Without passing any parameters, the plugin will return ten results or fewer depending
on how many posts you have.

horshipsrectors_get_image_from_post();

  Altering the before and after values

By default the plugin wraps your code in list item (<li>) tags but you can specify
how to format the results using the following code:

horshipsrectors_get_image_from_post(‘before=<p>&after=</p>’);

  Adding a Link

If you’d like to link to the post (remember it’s not live yet) you can do so by 
calling:

horshipsrectors_get_image_from_post(‘link=true’);

  Which image?

You can specify which image is returned using the code:

horshipsrectors_get_image_from_post(‘image=2’);

  Strip Attributes

If you would like to strip the attributes such as width and height from the returned
value:

horshipsrectors_get_image_from_post(‘strip=true’);

  Echo vs. Return

Finally, if you’d like to copy the results into a variable you can return the results
as follows:

horshipsrectors_get_image_from_post(‘show=false’);

## Đánh giá

Không có đánh giá nào cho plugin này.

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

“Get Image from Post” 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

 *   [ klickonit ](https://profiles.wordpress.org/klickonit/)
 *   [ horshipsrectors ](https://profiles.wordpress.org/horshipsrectors/)

[Dịch “Get Image from Post” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/get-image-from-post)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/get-image-from-post/), check
out [SVN repository](https://plugins.svn.wordpress.org/get-image-from-post/), hoặc
theo dõi [nhật ký phát triển](https://plugins.trac.wordpress.org/log/get-image-from-post/)
qua [RSS](https://plugins.trac.wordpress.org/log/get-image-from-post/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

#### 2.0.0

 * renamed function to be more compatible.
 * tested and optimized in WordPress 3.2
 * added test to determine in images existed

#### 1.0.0

 * official release
 * added strip attribute

#### 1.1.0

 * minor fixes for wordpress new admin

## Nhận nuôi plugin này

 Plugin này đang tìm kiếm nhà phát triển mới, năng động. Bạn có muốn đảm nhận trách
nhiệm đó không?

 [Đọc tiếp](https://developer.wordpress.org/plugins/wordpress-org/take-over-an-existing-plugin/)

## Meta

 *  Phiên bản **2017.08.13**
 *  Cập nhật lần cuối **9 năm trước**
 *  Số lượt cài đặt **10+**
 *  Phiên bản WordPress ** 4.0.0 hoặc cao hơn **
 *  Đã kiểm tra lên đến **4.8.0**
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/get-image-from-post/)
 * Thẻ
 * [adopt-me](https://vi.wordpress.org/plugins/tags/adopt-me/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/get-image-from-post/advanced/)

## Đánh giá

Chưa có đánh giá nào được gửi.

[Your review](https://wordpress.org/support/plugin/get-image-from-post/reviews/#new-post)

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/get-image-from-post/reviews/)

## Những người đóng góp

 *   [ klickonit ](https://profiles.wordpress.org/klickonit/)
 *   [ horshipsrectors ](https://profiles.wordpress.org/horshipsrectors/)

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/get-image-from-post/)