WordPress plugin intelligence profile

Spots

Content manage those little snippets of text that you need across your WordPress site and in widgets properly. Forget the text widget.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 6.0
Current version1.3.10
WordPress coverageTested up to WordPress 6.0
Minimum stackWP 4.0 · PHP —
Directory statusactive
Last directory update29 Sept 20224y ago
Active installations700Adoption metric — not a quality score
WordPress.org rating5.0 / 5 from 10 ratings
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Spots version 1.3.10 as active, updated 4y ago and tested up to WordPress 6.0.

Overview

About this plugin

” That means the little notices on sites, minor widgets and so on should not only be content managed, but they should be easy for both an end-user and a developer to work with.

To that end, we developed Spots. This creates a custom post type that allows you to create widgets using a visual editor, whilst also giving developers an easy hook for the creation of content managable elements within a theme.

The plugin now uses caching in order to help ensure that the load on a typical site is kept to a minimum. Performance is important!

The plugin is prepared for translation, if you’d like to drop us a line about your translation you can contact us through our website.

Developer Notes

Spots provides 2 template tags for developers to use shown below with their supported arguments.

icit_spot( $id_or_name, $template );

  • $id_or_name: Required. A numeric ID or the name of a spot as a string.
  • $template: Optional. A string used in a call to get_template_part()

This template tag always echos out the spot.

icit_get_spot( $id_or_name, $template, $echo );

Same as the above with an extra argument:

  • $echo: Optional. Defaults to false. A boolean to indicate whether to echo the spot content or just return it.

Basic Usage

You can use spots to replace boilerplate text in your themes. If you have areas in your themes where typically you would hard code the text you could use the following code:

>

The above code would output the contents of a spot titled ‘Copyright’. If the spot does not exist it will be created as a draft. Spots in draft mode are only visible to logged in users with editing capabilities.

Templates

The plugin will initially look for a file in your theme using the get_template_part() function. php in your theme that will be the default template for all spots. The icit_spot() function can take a second parameter for the template part to use for example:

>

php to use for the output. php and if that is not available it will simply output the spot contents.

Use templates when you want to display a featured image from a spot or if you require some additional/alternative markup for the spot. Spots are just like posts, so in the templates you retrieve the contents of the spot using the_content() just as would in the loop.

Basic spot template example:

> </div>

Spot template with featured image:

> </div>

Additional

There are many filters and hooks available to get even more out of spots so drop by the plugin homepage or use the forums if there is something you need to do with spots but aren’t sure how.

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • content management
  • elements
  • spots
  • widget
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 6.0

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 6.0.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to6.0
Minimum requirementsWordPress 4.0 · PHP not listed
Update activity29 Sept 20224y ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.