Workaround to Override WordPress Shortcode and Display the [] Brackets 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 ووردبرس] وقد أضاف وظيفة جديدة عين القصير مع API ووردبرس] أن المطورين والمبرمجين لكتابة المحمول أن خلق الكلية للاستخدام في المدونات محتوى بداية من بعد WordPress version 2.5 ووردبرس] النسخة 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. أساسا القصير هي سهلة الاستخدام ميزة فيها فقط من المدونين بحاجة لإدراج شريحة - يرسم الجمل التي يمكن أن سحرية الموسعة في وقت التشغيل الفعلي لتعكس دينامية محتويات. ، دون الحاجة إلى التعامل مع معقدة هتمل وترسيخ المدونات.
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. والمشكلة هي أن لترسيخ القصير ووردبرس] في وظائف أو صفحات ، المؤلفين أرفق القصير في [و] بين قوسين معقوفين ، مع بعض داخل لسع. 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? ما إذا كنت تحتاج لكتابة وعرض صورة صادقة وحقيقية النص ، الذي ليس القصير ، ولكن قد أرفق بين قوسين ( "[" و"]")،وذلك من قبيل الصدفة ، مع النص الكامل بين قوسين هي واحدة من shortcodes خلق وأعلنت ووردبرس] في البيئة؟ For example, WordPress comes built-in with [gallery] shortcode, distracting users ability to type “gallery” word in brackets. فعلى سبيل المثال ، ووردبرس] تأتي مع بني في [معرض] القصير ، وصرف المستخدمين القدرة على نوع "معرض" في كلمة بين قوسين.
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. وإذا كان النص في شريحة لكم أن نوع سحرية تختفي وتظهر بعض المحتويات الأخرى من نوع (من المحتمل ان يحدث المزيد من أكثر المحمول تبني القصير) ، يمكنك ببساطة ترك الفضاء بين شريحة واحدة من النص والمتضررة في سلسلة من الشرائح. But this workaround would make the text appears to be weird and not beautiful. ولكن هذا الحل من شأنه أن يجعل النص يبدو أنه غريب وغير جميل.
The more recommended way is to type the brackets using numeric character reference, aka ISO Latin-1 code. وقد أوصى بطريقة أكثر هو نوع الأقواس باستخدام الطابع إشارة رقمية ، المعروف أيضا باسم المنظمة الدولية للتوحيد القياسي اللاتينية مدونة - 1. The “[" and "]” brackets do not have HTML entity, thus users will have to remember the numeric character reference for the brackets. "[" و "]" بين قوسين لا هتمل الكيان ، وبالتالي سيتعين على مستخدمي نتذكر الطابع الرقمية للإشارة بين قوسين.
[ => [
] => ]
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 ] . كما هو مبين في الشكل أعلاه ، إلى نوع "[" والتأكد من أنها تبدو دائما "[" دون أن يؤثر ذلك عن طريق القصير ، نوع [الاستعاضة]. والشيء نفسه ينطبق على] ، والتي ينبغي الاستعاضة] ؛.
IMPORTANT : You're reading a machine translated page which is provided "as is" without warranty. هام : أنت القراءة آلة الصفحة المترجمة التي تقدم "كما هي" دون ضمان. 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. وخلافا للحقوق الترجمة ، الترجمة الآلية لا يفهم قواعد اللغة ، ودلالات ، تركيب ، والتعابير من اللغة الطبيعية ، وهكذا تنتج في كثير من الأحيان غير دقيقة وتدني نوعية النص الذي هو مضلل وغير مفهومة. Thus, please refer to وهكذا ، يرجى الرجوع إلى original English article المادة الانكليزية الأصلية when in doubt. عندما في شك.
Related Articles المواد ذات الصلة
- WordPress 2.5 Released for Free Download ووردبرس] 2.5 أطلق سراحه لتحميل مجاني
- PHP Fatal Error on Call to Add_Query_Var in Taxonomy.php After Upgrading to WordPress 2.5 RC2 PHP خطأ فادح على دعوة لAdd_Query_Var في Taxonomy.php بعد ترقية إلى 2.5 RC2 ووردبرس]
- Display and Show Feed on HTML Website with FeedBurner BuzzBoost عرض وإظهار هتمل تتغذى على الموقع مع فيدبورنر BuzzBoost
- WordPress 2.5 RC2 Released for Download ووردبرس] 2.5 RC2 أطلق سراحه لتنزيل
- WordPress 2.5.1 Released for Download ووردبرس] 2.5.1 أطلق سراحه لتنزيل
- Make WordPress Blog More Secure Using Secret Key جعل بلوق ووردبرس] أكثر أمنا باستخدام سرية الرئيسية
- Call To Undefined Function: ctype_digit() in WordPress 2.5 دعوة غير معرف الوظيفة : ctype_digit () في ووردبرس] 2.5
- How to Fetch and Show RSS Feeds on WordPress Blog (Atom/RSS Aggregator Plugins) كيف لجلب وعرض آر إس إس أعلاف على ووردبرس] المدونة (اتوم / مجمع الإضافات آر إس إس)
- Media Buttons Disabler Plugin to Remove “Add Media” Icons in WordPress 2.5 وسائل الاعلام أزرار Disabler البرنامج المساعد لإزالة "إضافة وسائل الإعلام" في الأيقونات ووردبرس] 2.5
- Call to Undefined Function get_currentuserinfo() Error in WordPress دعوة إلى وظيفة غير معرف get_currentuserinfo () خطأ في ووردبرس]

































April 17th, 2008 10:51 أبريل 17th ، 2008 10:51
[...] reading Workaround to Override WordPress Shortcode and Display the [] Brackets Tags at Tip and [...] [...]القراءة لإيجاد حل وتجاوز العرض القصير ووردبرس] [] الأقواس في العلامات و(...)نصيحة