Workaround to Override WordPress Shortcode and Display the [] Brackets Tags Workaround, um WordPress Kurzwahlnummer und die Anzeige [] Klammern Tags
WordPress has added a new function named shortcode with API that WordPress developers and programmers to write plugins that create macro codes for use in post content beginning from WordPress hat eine neue Funktion namens Kurzwahlnummer mit API, WordPress-Entwickler und Programmierer, Plugins zu schreiben, erstellen Makro-Codes für den Einsatz in post-Inhalte ab WordPress version 2.5 WordPress-Version 2.5 . Essentially shortcode is an easy-to-use feature where bloggers just need to insert a bracket-delineated strings that can be magically expanded at runtime to reflect actual dynamic contents., without the need to deal with complex HTML and embed codes. Im Wesentlichen ein Kurzwahlnummer ist einfach zu bedienende Funktion, wo Blogger müssen nur ein Klammer-Strings, abgegrenzt werden können magisch erweitert zur Laufzeit an die tatsächliche dynamische Inhalte., Ohne die Notwendigkeit, sich mit komplizierten HTML-Codes und einbetten.
The problem is that to embed shortcode in WordPress posts or pages, authors have to enclose the shortcode in [ and ] brackets, with certain sting inside. Das Problem ist, dass die Kurzwahlnummer einbetten in WordPress Beiträge oder Seiten, Autoren haben, um die Kurzwahlnummer in [und] Klammern, mit bestimmten Stachel im Inneren. What if you need to write and display the a true and genuine text, which is not shortcode, but have to enclose within brackets (”[" and "]“), and so coincidentally, the the whole text with brackets is one of the shortcodes created and declared in WordPress environment? Was passiert, wenn Sie schreiben müssen, und die eine wahre und echte Text, der nicht Kurzwahlnummer, haben aber zu umschließen in Klammern ( "[" und "]"), und so zufällig, die den gesamten Text mit Klammern ist eine der Kurzwahlnummern erstellt und erklärt in WordPress Umwelt? For example, WordPress comes built-in with [gallery] shortcode, distracting users ability to type “gallery” word in brackets. Zum Beispiel, WordPress kommt built-in mit [Galerie] Kurzwahlnummer, störende Nutzer Fähigkeit, Typ "Galerie" Wort in Klammern.
If the text in bracket that you type magically disappear and appear as some other content type (will likely to happen more as more plugins embrace shortcode), you can simply leave a space between one of the bracket and the affected text string in the bracket. Wenn der Text in Klammer, die Sie magisch verschwinden und erscheinen als eine andere Art des Inhalts (wird wahrscheinlich mehr passieren, da sich mehr Plugins Umarmung Kurzwahlnummer), können Sie einfach verlassen, ein Platz zwischen eins der Klammer und den betroffenen Text-String in der Klammer. But this workaround would make the text appears to be weird and not beautiful. Aber dieser Workaround würde um den Text zu sein scheint seltsam und nicht schön.
The more recommended way is to type the brackets using numeric character reference, aka ISO Latin-1 code. Je mehr empfohlene Weg ist, geben Sie die Klammern mit Hilfe der numerischen Zeichen Referenz, auch bekannt als ISO-Latin-1-Code. The “[" and "]” brackets do not have HTML entity, thus users will have to remember the numeric character reference for the brackets. Die "[" und "]" Klammern nicht über HTML-Einheit, damit Nutzer dürfen nicht vergessen, die numerische Zeichen Referenz für die Klammern.
[ => [
] => ]
As shown in figure above, to type “[" and make sure that it's always appear as "[" without affecting by shortcode, type [ replacing the [ . The same applied to ] , which should be replaced with ] . Wie in Abbildung oben, auf den Typ "[" und stellen Sie sicher, dass es immer als "[" ohne Beeinträchtigung durch die Kurzwahlnummer, geben Sie [anstelle der [. Das gleiche auf], die ersetzt werden soll mit] ;.
IMPORTANT : You're reading a machine translated page which is provided "as is" without warranty. WICHTIG: Du bist eine Maschine Lesung übersetzt, die Seite wird "as is" ohne Garantie. Unlike human translation, machine translation does not understand the grammar, semantics, syntax, idioms of natural language, thus often produce inaccurate and low quality text which is misleading and incomprehensible. Im Gegensatz zu menschlichen Übersetzung, maschinelle Übersetzung nicht verstehen, die Grammatik, Semantik, Syntax, Idiome der natürlichen Sprache, so oft ungenau und niedrige Qualität Text, ist irreführend und unverständlich. Thus, please refer to So, wenden Sie sich bitte an original English article Original Englisch Artikel when in doubt. Wenn Sie Zweifel haben.
Related Articles Verwandte Artikel
- WordPress 2.5 Released for Free Download WordPress 2/5 zum freien Download
- PHP Fatal Error on Call to Add_Query_Var in Taxonomy.php After Upgrading to WordPress 2.5 RC2 PHP Fatal Error beim Anruf zu Add_Query_Var in Taxonomy.php Nach dem Upgrade auf WordPress 2/5 RC2
- Display and Show Feed on HTML Website with FeedBurner BuzzBoost Display und Show-Feed auf HTML-Website mit FeedBurner BuzzBoost
- WordPress 2.5 RC2 Released for Download WordPress 2/5 RC2 zum Download freigegeben
- WordPress 2.5.1 Released for Download WordPress 2.5.1 zum Download freigegeben
- Make WordPress Blog More Secure Using Secret Key Machen Sie WordPress Blog sicherer mit Hilfe geheimer Schlüssel
- Call To Undefined Function: ctype_digit() in WordPress 2.5 Call Um Undefinierte Funktion: ctype_digit () in WordPress 2/5
- How to Fetch and Show RSS Feeds on WordPress Blog (Atom/RSS Aggregator Plugins) Wie zu holen und RSS-Feeds auf WordPress Blog (Atom / RSS Aggregator Plugins)
- Media Buttons Disabler Plugin to Remove “Add Media” Icons in WordPress 2.5 Media Buttons Disabler Plugin Entfernen von "Add Media" Icons in WordPress 2/5
- Call to Undefined Function get_currentuserinfo() Error in WordPress Aufruf an Undefinierte Funktion get_currentuserinfo () Fehler in WordPress

































April 17th, 2008 10:51 17. April 2008 10:51
[...] reading Workaround to Override WordPress Shortcode and Display the [] Brackets Tags at Tip and [...] [...] Lesung Abhilfe zu überschreiben WordPress Kurzwahlnummer und die Anzeige [] Klammern Tags an der Spitze und [...]