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

후기

2020년 May 3일
I use this plugin with ACF and it saved me the time to handcode templates and snippets to file by way of Elementor, and it served Relationship field types like a champ. This allowed me to save the money I would have otherwise had to spend in time (manual coding) and money (buying a paid plugin to serve bidirectional Relationships fields that wasn't available in standard/pro Elementor). Thank you VERY much for this gem.
2020년 April 4일
Makes rapid dev of loop-content pages extremely easy and is likewise lightweight. This should really be part of wordpress core. Fantastic!
2020년 April 7일
What can I say - magic, a pure magic. Love it! Combine it with the Elementor and Insert Pages and you're gold(till ThriveThemes theme builder comes the second of March, though it's not free), kisses to the creator, thank you, most kind person! Well, adding to my review which I never do, but I must say - it's a Bible for any designer, such a blessing!
모든 152 평가 읽기

기여자 & 개발자

“Custom Content Shortcode”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

“Custom Content Shortcode”(이)가 1(으)로 번역되었습니다. 기여해 주셔서 번역자님께 감사드립니다.

자국어로 “Custom Content Shortcode”(을)를 번역하십시오.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하십시오.

변경이력

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