Custom Content Shortcode

설명

전체 보기

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

스크린샷

  • Documentation and examples
  • Content overview page
  • Gallery field

설치

  1. Install & activate from Plugins -> Add New
  2. See: Settings -> Custom Content

후기

One of the must have plugins in my arsenal

This is an amazing, stable, solid, flexible plugin like few others. Its helps me get so much more out of ACF pro, makes writing that frontend code much easier. The only trouble I have is that the documentation is vague at some points and its really hard to get support (how to query a related field, how to understand which fields are actually usable with which parameters, etc.). The finer pathways are for me difficult to navigate and I would actually pay for a tutorial three times the size of the actual one. Besides: Marvellous.

Awesome

I think all that I want to say has already been said by other reviewers. I just want to say thank you to the developer of this plugin. You have done a very wonderful job.

Superb

It’s a rich and well conceived plugin. If you need some of these features, this is the best.

A perfect utility

A perfect utility, we can make other plugins dynamic with "Custom Content Shortcode" is an indispensable plugin.

Depth of functionality is amazing!

The first WP plugin that actually _amazed_ me. I created a WordPress.org account just to be able to leave this review. IMO this plugin + Custom Post Type UI + Advanced Custom Fields are the only things you need to make _any_ information structure in WordPress, without having to code php templates. (or Custom Post Types WCK, I only have experience with Custom Post Type UI) The volume of functionality in this, at first glance simple, shortcode plugin is astounding. The developer truely understands what programming tools are all about. The ability to sort, filter, have exceptions, nest, loop etc is what is lacking in 90% of other plugins. The first shortcode plugin that does not trade in user friendliness and integration with other plugins for flexibility or functionality. Detailed documentation as well. I come from a Drupal+Views background and the lack of a powerful, native Views-like functionality in WP has frustrated me, but no longer. Highly recommended. Suggestions: - The documentation, while correct and extensive, is organised a little bit confusing, I had to poke around and experiment. It could do with a clearer structure of examples/use cases.
Read all 142 reviews

Contributors & Developers

“Custom Content Shortcode” is open source software. The following people have contributed to this plugin.

Contributors

“Custom Content Shortcode” has been translated into 1 locale. Thank you to the translators for their contributions.

Translate “Custom Content Shortcode” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

변경이력

3.8.2

  • Pass: Allow passing user fields that are arrays or objects – thanks to @jrevillini
  • Improve compatibility with PHP 5.3

3.8.1

  • Compatibility with WP 5.0.2 and PHP 7.2
  • Improve support and documentation for shortcodes inside HTML attributes

3.8.0

  • [link] – Add parameter download; set “true” or file name

3.7.9

  • [if user_field contains] – Support searching multiple user fields
  • [related] – Support ACF relational type users
  • [related user_field] – Support related posts from a user field

3.7.8

  • [if image] – Check correct current post when inside [related]

3.7.7

  • [related] – Add parameter offset to skip the first X number of posts
  • [if] – Improve logic to count repeater fields

3.7.6

  • [each] – Add default field count for each term’s post count

3.7.5

  • [if] – Add parameter count for field value array, such as relationship fields
  • [if] – Improve field=content,excerpt with parameter contains
  • [is] – Allow nested
  • Content overview: cleaner list of shortcodes

3.7.4

  • [loop], [loopage] – Add parameter query to use custom query variable for pagination

3.7.3

  • [user] – Add field registered and parameter format (“relative” or custom format)
  • Settings – Add option to enable shortcodes in widget title

3.7.1

  • [format] – Add parameters split and part; handle field values of number type in list
  • [attached] – Add field download-url, to get URL to actual PDF file instead of generated preview image
  • [url register] – URL to registration form under wp-login
  • [pass] – Add parameter trim=all to remove all white space, new lines, tabs
  • ACF [related] – Add parameters start and count
  • Improve use of content filter with other plugins; support for Beaver Themer in progress

3.7.0

  • Minor fixes in reference pages