Custom Content Shortcode

plugin banner

Adds a shortcode to get content or field from any post type by name. For example: [custom type="room" name="room-name" field=&quot

Author:Eliot Akira (profile at wordpress.org)
WordPress version required:5.0
WordPress version tested:5.9
Plugin version:4.0.2
Added to WordPress repository:11-09-2013
Last updated:01-02-2022
Rating, %:100
Rated by:162
Plugin URI:https://wordpress.org/plugins/custom-content-...
Total downloads:334 167
Active installs:10 000+
plugin download
Click to start download

Deprecation Notice

This plugin is no longer in active development.

Please use the next-generation template system, Loops & Logic.

Overview

From a single field to entire pages, Custom Content Shortcode is a set of commands to display content where you need.

The [content] shortcode displays any of the following: posts, pages, custom post types, fields, images, menus, or widget areas.

The [loop] shortcode performs query loops. It can display, for example, available products in a category, or excerpts from the 5 most recent posts. You can query by parameters such as: post type, taxonomy, date, and field values.

There is a reference section under Settings -> Custom Content.

Included

Here are some of the included features:

  • Wide range of query parameters to display site content
  • Conditional content based on field value, login status, etc.
  • Overview of your site’s content structure
  • Relative URLs for links and images
  • Cache the result of a query
  • Optional: Gallery field, Mobile Detect, Math

Support for other plugins: Advanced Custom Fields, WCK Fields and Post Types


Screenshots
ChangeLog