Plugin info

Total downloads: 6,325
Active installs: 10
Total reviews: 0
Average rating: 0
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 1
Last updated: 7/13/2017 (3093 days ago)
Added to WordPress: 6/7/2009 (16 years old)
Minimum WordPress version: 4.0.0
Tested up to WordPress version: 4.8.0
Minimum PHP version: f

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 3093 days ago

20/100

Is Get Image from Post abandoned?

Possibly abandoned (last update 3093 days ago).

Compatibility

Requires WordPress: 4.0.0
Tested up to: 4.8.0
Requires PHP: f

Languages

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

Find My Blocks – Locate blocks on your site
Rating 4.8/5 (48 reviews)Active installs 4,000
Footnotes Made Easy
Rating 4.6/5 (38 reviews)Active installs 2,000
Open Currency Converter
Rating 4.7/5 (18 reviews)Active installs 1,000
Simple Restrict
Rating 4.9/5 (15 reviews)Active installs 1,000
WP REST Yoast Meta
Rating 5.0/5 (6 reviews)Active installs 1,000
Display Environment Type
Rating 5.0/5 (4 reviews)Active installs 1,000

Description

** 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.

Installation

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

Frequently Asked Questions

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’);

Review feed

No reviews available

Screenshots

No screenshots available

Changelog

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