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.

税込

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

スクリーンショット

  • ドキュメンテーションと例
  • Content overview page
  • Gallery field

インストール

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

評価

2021年8月10日
I wish I'd found this years ago. I've used this plugin to create detailed, dynamic loops in very complex sites, saving hours on hours of custom programming. It can draw from WordPress loops, ACF fields, you name it. It's truly fantastic. But what prompted this review was this morning's revelation, that it can create "meta shortcodes" - so once you get your complex shortcode-loop structure built, you can create a shortcode out of that, and replace it all with one easy-to-use shortcode. I'm so excited to have found this.
2021年5月6日
Amazing plugin. At a time when many web sites are implemented on templates (wpbakery, Divi, Elementor) that have huge restrictions, this plugin allows you to bypass these restrictions. This plugin deserves your support. In combination with ACF, it gives us a lot of possibilities. I think it's worth refreshing the plug. The plug eats my paragraphs 🙂
2021年4月15日
I use it on several sites and it is really a very good tool. I would like maybe more regular updates to be sure that he still has many years of existence ahead of him ...
2021年2月12日
Thanks for this! It allowed us to replace a huge chunk of code that was tangled up in a Pro theme when we redid a website (in an effort to simplify it). We used the plugin to pull a title, a preview (featured image), a download URL, and a PDF viewer URL from an ACF / custom post type and display all that in a sidebar widget.
2021年1月22日
I was looking since days for a way to show and sort lists of custom fields and only with this plugin I could finally manage to create those kind of lists. Also the support was very helpful. Thank you for this great plugin!
162件のレビューをすべて表示

貢献者と開発者

Custom Content Shortcode はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“Custom Content Shortcode” は1ロケールに翻訳されています。 翻訳者のみなさん、翻訳へのご協力ありがとうございます。

“Custom Content Shortcode” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

3.8.7

  • Test compatibility with WordPress 5.7

3.8.6

  • Improve getting shortcode function names in Content Overview

3.8.5

  • Correct output of ACF field label when multiple choices are selected

3.8.4

  • Remove deprecation warning about non-static method CCS_Loop::include_children

3.8.3

  • Improve compatibility with PHP 7.2
  • Update to Parsedown library 1.7.3 for documentation pages
  • Math module: Use variable function call for built-in functions

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