Workaround to Override WordPress Shortcode and Display the [] Brackets Tags דרכים לעקיפת הבעיה כדי לעקוף WordPress Shortcode ולהציג את בסוגריים [] תגיות

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 הוסיף פונקציה חדשה בשם shortcode כי עם ה-API למפתחים WordPress ו programmers לכתוב plugins כי ליצור מאקרו קודי לשימוש החל מ לכתוב תוכן WordPress version 2.5 WordPress גרסה 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. בעיקרו של דבר shortcode הוא נוח לשימוש בתכונה בלוגרים שבו רק צריך להוסיף סוגר-delineated מחרוזות שניתן קסם מורחבת בשעה Runtime כדי לשקף בפועל תוכן דינמי., ללא צורך להתמודד עם מורכבות ה-HTML ו להטביע הקודים.

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. הבעיה היא כי כדי להטביע shortcode ב-WordPress הודעות או דפים, מחברים צריך לסגור את shortcode ב [ו] בסוגריים, עם עוקץ מסוימים בפנים. 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? מה אם אתה צריך לכתוב ולהציג את אמיתי ואמיתי טקסט, שהוא לא shortcode, אבל צריך לסגור בתוך סוגריים ( "[" ו "]"), ולכן coincidentally, את כל הטקסט עם סוגריים הוא אחד נוצר shortcodes והכריז על WordPress הסביבה? For example, WordPress comes built-in with [gallery] shortcode, distracting users ability to type “gallery” word in brackets. לדוגמה, WordPress מגיע מובנה עם [גלריה] shortcode, distracting משתמשים היכולת להקליד "גלריה" המילה בסוגריים.

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. אם הטקסט סוגר שתקליד קסם נעלמות ומופיעות כמו סוג תוכן אחר (סביר להניח שיקרה עוד יותר כפי plugins לאמץ shortcode), אתה יכול פשוט להשאיר רווח בין אחד סוגר את המושפעים מחרוזת טקסט בתוך סוגר. 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. הדרך המומלצת יותר היא סוג של סוגריים באמצעות מספריים אופי הפניה, aka תיניטלה ISO-1 קוד. The “[" and "]” brackets do not have HTML entity, thus users will have to remember the numeric character reference for the brackets. ה "[" ו "]" בסוגריים אין ישות HTML, כך שהמשתמשים יצטרכו לזכור את התווים מספרי הסימוכין עבור סוגריים.

[ => [
] => ]

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 ] . כפי שמוצג בתרשים לעיל, להקליד "[" ולוודא שהיא תמיד מופיעה בשם "[" מבלי להשפיע על ידי shortcode, הקלד [להחליף את [. להחיל אותו], אשר אמור להיות מוחלף עם] ;.

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. שלא כמו האדם תרגום, תרגום מכונה אינו מבין את הדקדוק, סמנטיקה, תחביר, idioms של שפה טבעית, ולכן לעיתים קרובות לא מדויקים ו לייצר באיכות נמוכה טקסט שהוא מטעה ו מובנת. Thus, please refer to לכן, אנא פנה אל original English article המאמר המקורי באנגלית when in doubt. במקרה של ספק.



One Response to “Workaround to Override WordPress Shortcode and Display the [] Brackets Tags” תגובה אחת ל 'דרכים לעקיפת הבעיה כדי לעקוף WordPress Shortcode ולהצגת בסוגריים [] תגיות "

  1. Workaround to Override WordPress Shortcode and Display the [] Brackets Tags (Excerpt) » My Digital Life דרכים לעקיפת הבעיה כדי לעקוף WordPress Shortcode ולהציג את בסוגריים [] תגיות (Excerpt) »Digital החיים שלי
    April 17th, 2008 10:51 אפריל 17, 2008 10:51
    1 1

    [...] reading Workaround to Override WordPress Shortcode and Display the [] Brackets Tags at Tip and [...] [...] קריאה פתרון כדי לעקוף WordPress Shortcode ולהצגת בסוגריים [] תגיות בשעה עצה ו [...]

Leave a Reply השאירו תגובה

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> אתה יכול להשתמש בקבצי תגיות: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <דל datetime = ""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. הצטרף כמנוי ל הערות תכונה הושבת. To receive notification of latest comments posted, subscribe to כדי לקבל הודעה על תגובות העדכנית פורסם, כדי להירשם Tip and Trick Comments RSS feed עצה ו טריק תגובות RSS Feed or או register to receive הרשמה לקבלת new comments in daily email digest. תגובות חדש ב דוא"ל תקציר יומי.
Custom Search

Incoming Search Terms for the Article חיפוש נכנס על תנאי סעיף

wordpress shortcode wordpress shortcode - -- wordpress gallery shortcode wordpress גלריה shortcode - -- wordpress shortcodes wordpress shortcodes - -- wordpress youtube shortcode wordpress YouTube shortcode - -- shortcode wordpress shortcode wordpress - -- gallery shortcode גלריה shortcode - -- wordpress wordpress - -- wordpress override function wordpress לדרוס פונקציה - -- wordpress shortcode not working wordpress shortcode לא עובד - -- gallery shortcode wordpress גלריה shortcode wordpress - -- wordpress brackets wordpress סוגריים - -- wordpress shortcodes not working wordpress shortcodes לא עובד - -- override wordpress function לדרוס פונקציה wordpress - -- wordpress gallery short code גלריה wordpress קוד קצר - -- wordpress short code wordpress קוד קצר - -- wordpress override gallery wordpress לעקוף גלריה - -- wordpress shortcode feed wordpress shortcode Feed - -- shortcodes wordpress shortcodes wordpress - -- wordpress override functions wordpress לדרוס פונקציות - -- wordpress override shortcode wordpress לעקוף shortcode - -- wordpress override gallery shortcode wordpress לעקוף shortcode גלריה - -- gallery shortcode not working גלריה shortcode לא עובד - -- wordpress shortcode youtube wordpress shortcode YouTube - -- wordpress bracket tags wordpress סוגר תגים - -- wordpress override wordpress לדרוס - -- gallery shortcode example גלריה shortcode דוגמא - -- youtube shortcode YouTube shortcode - -- override function wordpress לדרוס פונקציה wordpress - -- wordpress gallery shortcode override wordpress גלריה shortcode לדרוס - -- wordpress gallery shortcode replace wordpress גלריה shortcode להחליף - -- excerpt shortcode קטע shortcode - -- override gallery wordpress גלריה לעקוף wordpress - -- wordpress gallery shortcode example wordpress גלריה shortcode דוגמא - -- wordpress shortcode excerpt wordpress shortcode קטע - -- wordpress 2.5 gallery shortcode wordpress 2.5 גלריה shortcode - -- flickr shortcode flickr shortcode - -- wordpress shortcode comments wordpress shortcode תגובות - -- wordpress override html wordpress לעקוף HTML - -- display wordpress media gallery התצוגה wordpress Media Gallery - -- wordpress gallery override wordpress גלריה לדרוס - -- wordpress gallery excerpt wordpress גלריה קטע - -- wordpress call shortcode from function wordpress קוראים shortcode מתוך פונקציה - -- wordpress gallery shortcode not working wordpress גלריה shortcode לא עובד - -- using wordpress gallery shortcode באמצעות wordpress גלריה shortcode - -- html entities wordpress shortcode ישויות HTML wordpress shortcode - -- enable wordpress shortcode לאפשר wordpress shortcode - -- wordpress shortcode flickr wordpress shortcode flickr - -- wordpress short code youtube wordpress YouTube קוד קצר - -- display brakets התצוגה brakets - -- override WordPress functions לדרוס פונקציות WordPress - --