هذه الإضافة لم يتم تحديثها وتجربتها لأكثر من 3 إصدارات ووردبريس رئيسية. قد لا تكون خاضعة للصيانة أو تقدم الدعم والمساعدة بالوقت الحالي وقد تكون بها مشاكل في التوافق عند إستخدامها مع إصدارات حديثة من ووردبريس.

Horizontal Line Shortcode

الوصف

Instead of shifting to the text editor, inserting the < hr > tag, shifting back to the visual editor, with a chance that you delete the < hr > tag by mistake. You can now simply add shortcode [hr] anywhere, and multiple times, in your content in the Visual Editor to insert a horizontal line.

This will make your content mark-up mucher easier to read and manage in the backend.

Additionally you can also add top and buttom margin to the horizontal line. Please see the FAQ for more information how to do it using shortcode parameters.

لقطات الشاشة

  • Post or page with the [hr] shortcode within the text.
  • The output on the front-end.
  • Post or page with the [hr] shortcode with parameters within the text.
  • The output on the front-end.

التنصيب

  1. Upload ‘horizontal-line-shortcode’ file to the ‘/wp-content/plugins/’ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Create a new post or page
  4. Add a title
  5. Place the shortcode [hr] in the post or page’s content area anywhere in your content once or multiple times different places.
  6. Click “Update”.
  7. Now, view the post or page.

الأسئلة المتكررّة

What shortcode should I use to display the horizontal line

[hr]

How can I add top and bottom margin

[hr margin-top=”50″ margin-bottom=”30″]

Do I need to add ‘px’ after my top and botto margin value

No, you can simply add:

[hr margin-top=”50″]

المراجعات

3 سبتمبر، 2016 1 reply
I like this plugin. Use of [hr] tag is super simple. Thanks
إقرأ جميع المراجعات 3

المساهمون والمطوّرون

“Horizontal Line Shortcode” هو برنامج مفتوح المصدر. وقد ساهم هؤلاء الأشخاص بالأسفل في هذه الإضافة.

المساهمون

ترجمة ”Horizontal Line Shortcode“ إلى لغتك.

مُهتم بالتطوير؟

تصفّح الشفرة، تحقق من مستودع SVN، أو الاشتراك في سجل التطوير بواسطة RSS.

سجل التغييرات

1.0

  • Initial release.