该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Align Text Edge

描述

This plugin allows you to align heading text and description use by float attribute of style:

Arguments

  • uwidth: Background image width. Default value is “20px”. You can set (1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|17|18|19|20|30|40|50|60|70|80|90|100)px.
  • ucnt: Unit count value. Default value is “1”. Indent width = (uwidth) x (ucnt).
  • htxt: Heading text. Default value is empty.
  • roffset: Heading text right offset. Default value is “0px”.
  • class: Class specification for characters of heading text. If setting more than two, write separate with space.
  • style: Style specification for characters of heading text. You can write CSS style format.
    ex.)”color:#1581ed;font-size:1.0em;font-family:Impact,Charcoal;font-weight:bold;”
  • desc_class: Class specification for characters of heading description. If setting more than two, write separate with space.
    If set ‘same’ value or not set value, use CSS class of heading text.
    Set ‘none’ value, use CSS class of inherit.
  • desc_style: Style specification for characters of heading description. You can write CSS style format.
    If set ‘same’ value or not set value, use CSS style format of heading text.
    Set ‘none’ value, use CSS style format of inherit.

Contributors

Credits

This plugin can be used by WordPress users for free. However, the author does not guarantee and support its behavior.

屏幕截图

  • exsample_1_display.png
  • exsample_1_display_all_select.png
  • exsample_2_display.png
  • exsample_2_display_all_select.png

安装

Download the zip, extract it and upload the extracted folder to your-wp-directory/wp-content/plugins/.
[Dashboard]>[Plugin] and activate this plugin.

=Usage=

—— exsample 1. ——
[ate ucnt=’1′ htxt=’1.’ style=’font-size:1.5em’]Something heading description.[/ate][ate ucnt=’1′]Something contents.[/ate]
[ate ucnt=’2′ htxt=’2.’ style=’font-size:1.3em’ desc_style=’none’]Something heading description.[/ate][ate ucnt=’2′]Something contents.[/ate]
[ate ucnt=’3′ htxt=’3.’ font-size=’0.8em’ desc_style=’font-size:1.4em’]Something heading description.[/ate][ate ucnt=’3′]Something contents.[/ate]

—— exsample 2. note: is insert blank line. I think that this is necessary because wpautop is enabled. ——
[ate ucnt=’1′ htxt=’1.’ style=’font-size:1.3em’ desc_style=’none’]Something heading description.[/ate][ate ucnt=’1′]Something contents. Something contents. Something contents. Something contents. Something contents. Something contents. Something contents. Something contents. Something contents. Something contents. Something contents. Something contents. Something contents. Something contents. Something contents. Something contents. Something contents.[/ate]
[ate ucnt=’2′ htxt=’2.’ style=’font-size:1.5em’]Something heading description.[/ate][ate ucnt=’2′]Something description.
Some
thing
description.
[/ate]
[ate ucnt=’3′ htxt=’3.’ style=’font-size:0.8em’ desc_style=’font-size:1.4em’]Something heading description.[/ate][ate ucnt=’3′]Something contents.[/ate]

[ate uwidth=’10’ ucnt=’5′ htxt=’a.’ roffset=’2px’ style=’color:#1c6dbf;font-size:1.0em’]Something
heading description.[/ate]
[ate ucnt=’3′ htxt=’i.’ style=’color:#1581ed;font-size:1.2em;font-family:fantasy’ desc_style=’same’]Something heading description.[/ate]
[ate uwidth=’40’ ucnt=’3′ htxt=’1.’ roffset=’15px’ style=’color:#11af95;font-size:1.1em’ desc_style=’color:#180672;font-size:1.3em’]Something heading description.[/ate]

常见问题

Installation Instructions

Download the zip, extract it and upload the extracted folder to your-wp-directory/wp-content/plugins/.
[Dashboard]>[Plugin] and activate this plugin.

=Usage=

—— exsample 1. ——
[ate ucnt=’1′ htxt=’1.’ style=’font-size:1.5em’]Something heading description.[/ate][ate ucnt=’1′]Something contents.[/ate]
[ate ucnt=’2′ htxt=’2.’ style=’font-size:1.3em’ desc_style=’none’]Something heading description.[/ate][ate ucnt=’2′]Something contents.[/ate]
[ate ucnt=’3′ htxt=’3.’ font-size=’0.8em’ desc_style=’font-size:1.4em’]Something heading description.[/ate][ate ucnt=’3′]Something contents.[/ate]

—— exsample 2. note: is insert blank line. I think that this is necessary because wpautop is enabled. ——
[ate ucnt=’1′ htxt=’1.’ style=’font-size:1.3em’ desc_style=’none’]Something heading description.[/ate][ate ucnt=’1′]Something contents. Something contents. Something contents. Something contents. Something contents. Something contents. Something contents. Something contents. Something contents. Something contents. Something contents. Something contents. Something contents. Something contents. Something contents. Something contents. Something contents.[/ate]
[ate ucnt=’2′ htxt=’2.’ style=’font-size:1.5em’]Something heading description.[/ate][ate ucnt=’2′]Something description.
Some
thing
description.
[/ate]
[ate ucnt=’3′ htxt=’3.’ style=’font-size:0.8em’ desc_style=’font-size:1.4em’]Something heading description.[/ate][ate ucnt=’3′]Something contents.[/ate]

[ate uwidth=’10’ ucnt=’5′ htxt=’a.’ roffset=’2px’ style=’color:#1c6dbf;font-size:1.0em’]Something
heading description.[/ate]
[ate ucnt=’3′ htxt=’i.’ style=’color:#1581ed;font-size:1.2em;font-family:fantasy’ desc_style=’same’]Something heading description.[/ate]
[ate uwidth=’40’ ucnt=’3′ htxt=’1.’ roffset=’15px’ style=’color:#11af95;font-size:1.1em’ desc_style=’color:#180672;font-size:1.3em’]Something heading description.[/ate]

评价

此插件暂无评价。

贡献者及开发者

“Align Text Edge” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Align Text Edge”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

0.9.4

  • Bug fix. Delete suffix(px) of width value in img tag.
  • Support of img tag replaced by WordPress auto editer.
  • Support width unit 1,3,5,7,9,11,13,15,17,19,50,60,70,90,100 pixel.

0.9.3

  • Bug fix, when first input of desc_class and desc_style.
  • Support margin-top, margin-bottom of heading description.

0.9.2

  • Support width unit 2,4,6,8,12,14,16,18,80 pixel.

0.9.1

  • Bug fix. Fixed omission of cast to int when headingRightOffset set default value.

0.9.0

  • Support ‘class setting’ at heading text and description.

0.8.0

  • Add admin screen.

0.7.0

  • Support ‘style setting’ at heading text and description.

0.6.0

  • Support width unit 10,20,30,40 pixel.

0.5.0

  • First release.