Dieses Plugin ist nicht mit den jüngsten 3 Hauptversionen von WordPress getestet worden. Es wird möglicherweise nicht mehr gewartet oder unterstützt und kann Kompatibilitätsprobleme haben, wenn es mit neueren Versionen von WordPress verwendet wird.

MetaShortcode

Beschreibung

MetaShortcode is a lightweight module that allows users to display the value any custom (meta) field on the front-end using a simple shortcode.

The module can be disabled from the settings page. Important: The module is inactive by default. If you leave the Enabled box unchecked, the plugin will have no effect at all.

Pattern: [msc custom_field_name]
Shortcodes with the pattern above will display the value stored in custom field name in the post.

Alternative pattern: {msc custom_field_name}
An alternative shortcode pattern, which replaces square brackets with curly braces, can be activated if needed. This can be helpful if you need to use a custom field value as an attribute inside an existing shortcode definition. For example:

invalid: [shortcode name=“example“ url=“[msc custom_url_field]“]…[/shortcode]
valid: [shortcode name=“example“ url=“{msc custom_url_field}“]…[/shortcode]

Note that unless you have a specific need for nesting shortcodes as attributes, you should leave this option disabled in the settings to avoid the slight (and unnecessary) performance degradation that the additional content filter involves.

Roadmap

  • Allow customizing the shortcode identifier

Donations

None needed.

Screenshots

  • The configuration screen.

Installation

Install and configure the plugin as needed in the MetaShortcode settings page: /wp-admin/admin.php?page=metashortcode_settings.

Note that the plugin is not enabled by default. Check the Enabled box in the settings page to turn it on.

General information about installing WordPress plugins can be found here

FAQ

Is it really free?

Yes, this plugin is completely free.

Rezensionen

Für dieses Plugin gibt es keine Rezensionen.

Mitwirkende & Entwickler

„MetaShortcode“ ist Open-Source-Software. Folgende Menschen haben an diesem Plugin mitgewirkt:

Mitwirkende

Übersetze „MetaShortcode“ in deine Sprache.

Interessiert an der Entwicklung?

Durchstöbere den Code, sieh dir das SVN Repository an oder abonniere das Entwicklungsprotokoll per RSS.

Änderungsprotokoll

1.0

  • Initial release.

1.0.1

  • Fixed critical bug: replaced metashortcode pattern attribute, changed from ‚*‘ to ‚msc‘