Skip to content

ChrisWinters/includes

Repository files navigation

Includes for WordPress - Include Content Anywhere

Includes is a unique custom post type that can be accessed with a shortcode. Publish custom "Includes" posts directly into widgets, widget titles, menu items, posts, pages, custom post types (yes, WooCommerce too), and even theme templates. Centralize the management of text widgets, locally hosted advertisements, rotate content, schedule updates, and all repeated content blocks within posts/pages. Easily update duplicated content like email opt-in forms, author bio's, realtor requirements, shop guarantees, and much more - all from a single location!

Includes for WordPress - Include Content Anywhere!

Current version: 5.0.0 | Requires PHP: 7.2 | WordPress version: 6.1.1

Plugin features

  • Works with both classic and block editors and widgets
  • Unique [includes slug=""] shortcode that allows you to include centralized content all over your website
  • Unique [includes code slug=""] shortcode that allows parsing of actual code - this feature must be enabled
  • Categorize all Includes and display Includes by category [includes category=""]
    • Orderby none, post ID, date, title, slug, random, or date modified in descending or ascending order
  • Quick access shortcodes within the Includes content list, posts, and categories
  • Enable/disable custom shortcode previewer - use theme templates or empty template to preview Includes
  • Shortcode widget for classic widgets, and fully renders shortcode in block widgets
  • Optionally alow "slugs" from posts and pages to be used by the Includes shortcode
  • Optionally allow shortcodes in post and page titles, menus, and widgets

What you can do with the plugin

  • Create & update webpage components reducing the need to edit primary copy directly
  • Schedule and publish changes like any other post/pages, make your website appear more live
  • Rotate content (links, ads, etc) within an Includes category, keeping things fresh for the user
  • Organize duplicate post content (opt-ins, ads, bios, etc) into a single easy to manage location
  • Add styling or scripting to any Include to further customize dynamic content
  • More usage examples-Usage-examples)

Documentation

Issue and feature requests

Submit an issue if you need assistance, found a bug, or if you would like to request a feature.

GNU GPLv3 license

Permissions of this strong copyleft license are conditioned on making available complete source code of licensed works and modifications, which include larger works using a licensed work, under the same license. Copyright and license notices must be preserved. Contributors provide an express grant of patent rights.

  • Allowed for: Commercial use, modification, distribution, patent use, private use
  • Limitations: No liability, no warranty
  • Conditions: License and copyright notice, state changes, disclose source, same license

Disclaimer

Includes ("the Includes plugin") is provided by Chris Winters the ("author") "as is" and "with all faults." The author makes no representations or warranties of any kind concerning the safety, suitability, lack of viruses, inaccuracies, typographical errors, or other harmful components related to the Includes plugin. There are inherent dangers in the use of any software, and you are solely responsible for determining whether the Includes plugin is compatible with your equipment and other software installed on your equipment. You are also solely responsible for the protection of your equipment and backup of your data, and the author will not be liable for any damages you may suffer in connection with using, modifying, or distributing the Includes plugin.

The information provided by the author" of the Includes plugin is for general informational purposes only. All information related to the Includes plugin is provided in good faith, however the author makes no representation or warranty of any kind, express or implied, regarding the accuracy, adequacy, validity, reliability, availability or completeness of provided information.

Your use of the Includes plugin and your reliance on any information provided by the author is solely at your own risk.