Linux 软件免费装
Banner图

Perfect Pullquotes

开发者 adamdehaven
更新时间 2020年9月9日 05:23
捐献地址: 去捐款
PHP版本: 3.0.1 及以上
WordPress版本: 5.5.1
版权: GPLv2 or later
版权网址: 版权信息

标签

quotes blockquote quote pullquote pullquotes pull quotes pull quote blockquotes

下载

1.6 1.4 1.4.1 1.5 1.6.1 1.6.2 1.6.3 1.7 1.7.1 1.7.2 1.7.3 1.7.4 1.7.5

详情介绍:

Add beautifully styled left-aligned, right-aligned, or full-width pullquotes. Includes a custom 'Pullquote' menu button for the TinyMCE Editor as well as a custom shortcode. View the always-current info post on adamdehaven.com The plugin enables a WordPress shortcode that allows you to add a pullquote within your content. The shortcode can be added manually or by selecting text in the text editor and then selecting an option (left, right, or full) from the Pullquote dropdown button. The default shortcode tag is shown here [perfectpullquote align="left" bordertop="" class="" cite="" link="" color=""]This is the pullquote text.[/perfectpullquote] 操作 The shortcode includes six options, (align, color, and class) as outlined below: align="left" REQUIRED: Determines whether pullquote is left-aligned, right-aligned, or full-width (95% width of container). Accepts "left", "right", or "full" [perfectpullquote align="left"]This is the text.[/perfectpullquote] bordertop="true" Optional: Move the border location above the pullquote. On mobile, falls back to the align corresponding location. [perfectpullquote align="left" bordertop="true"]This is the text.[/perfectpullquote] cite="Jane Doe" Optional: Cite your quotes back to their author/source [perfectpullquote align ="right" cite="Jane Doe"]This is the text.[/perfectpullquote] link="http://example.com" Optional: Turn the cited author's name into a link that opens in a new window. Must be a valid URL beginning with http or https [perfectpullquote align ="right" cite="Jane Doe" link="http://example.com"]This is the text.[/perfectpullquote] color="#EEEEEE" Optional: Change the default border-color attribute by entering a valid HEX color, including the pound ( # ) sign. [perfectpullquote align="left" color="#16989D"]This is the text.[/perfectpullquote] class="className" Optional: Add class(es) to pullquote container. [perfectpullquote align ="right" class="firstClass secondClass"]This is the text.[/perfectpullquote] size="21" Optional: Change the font size of the pullquote's text, in pixels. [perfectpullquote align ="right" size="32"]This is the text.[/perfectpullquote]

安装:

Download the plugin from WordPress or GitHub. To change the default color of the pullquote’s border before installing, edit lines 71, 79, and 87 of the perfect-pullquotes.css file by changing the HEX value of the border-color attribute. Alternatively, once the plugin is installed, you may utilize the “color” option included within the shortcode.
  1. Upload the compressed perfect-pullquotes.zip plugin file via your WordPress Dashboard: Plugins > Add New > Upload Plugin, or to the /wp-content/plugins/ directory within your WordPress installation on your server.
  2. 通过WordPress的“插件”菜单激活插件
Once installed, the plugin will add a Pullquote dropdown button to the Visual Editor (as seen below) within your WordPress installation as well as enable the [perfectpullquote] shortcode.

屏幕截图:

  • This screenshot shows the 'Pullquote' button that will be added to the Visual Editor once installed. The button can be used to insert a left-aligned, right-aligned, or full-width pullquote, accordingly. The actual positioning of the button in your installation may vary.
  • An example of a left-aligned and right-aligned pullquote. Your pullquotes will vary depending on your font settings, color choices, etc.

升级注意事项:

1.6 Update to fix border attribute. 1.5 Update to resolve common CSS issues. 1.4.1 Update adds spacing between quote and source. 1.4 Update now for an enhanced Pullquote button, to resolve the invalid header notice, and to correct pullquote spacing. 1.0.1 Minor update for performance improvements. == Upgrade Notice == 1.7.3 Adds a CSS reset for blockquote p:before and blockquote p:after psuedo elements to prevent theme overrides. 1.7.2 Resolves an error with generated Structured Data validation. (Thanks to @sarahsmithers for the head's up!) 1.7.1 MAJOR UPDATE: Changes shortcode FROM [pullquote] TO [perfectpullquote]. Shortcodes in all existing posts will need to be updated to [perfectpullquote]. See https://www.adamdehaven.com/blog/easily-add-pullquotes-to-your-wordpress-posts-with-my-perfect-pullquotes-plugin/ for more information 1.7 MAJOR UPDATE: Changes shortcode FROM [pullquote] TO [perfectpullquote]. Shortcodes in all existing posts will need to be updated to [perfectpullquote]. See https://www.adamdehaven.com/blog/easily-add-pullquotes-to-your-wordpress-posts-with-my-perfect-pullquotes-plugin/ for more information

常见问题:

Are all of the shortcode option attributes required?

No. Only the align option attribute is required. All other attributes may be deleted if unsued. For example: [perfectpullquote align="left"]Text[/perfectpullquote]

How can I change the color of the pullquote's border?

To change the default color of the pullquote’s border, before uploading the plugin, edit lines 67, 75, and 83 of the perfect-pullquotes.css file by changing the HEX value of the border-color attribute. Alternatively, once the plugin is installed, you may utilize the “color” option included within the shortcode.

How can I add additional classes to the pullquote's container?

Simply utilize the "class" option on the shortcode tag. [perfectpullquote align="left" class="firstClass secondClass"]Text[/perfectpullquote]

How can I change the font size of the text?

Simply utilize the "size" option on the shortcode tag by entering the one or two-digit size, in pixels. [perfectpullquote align="left" size="32"]Text[/perfectpullquote]

How can I add a cite to the quote?

Simply utilize the "cite" option on the shortcode tag. [perfectpullquote align="left" cite="Author Name"]Text[/perfectpullquote]

Can I link to the cited author's website, online works, etc.?

Simply utilize the "cite" and "link" options on the shortcode tag. Both options must be present in order to generate a working link. [perfectpullquote align="left" cite="Author Name" link="http://example.com"]Text[/perfectpullquote]

I updated the plugin, but now my pullquotes look weird. Help?

After updating the plugin, you may see "ugly" pullquotes until you clear the cache in your browser and load the new CSS files from the plugin. Server cache time may vary. If the pullquotes continue to look "broken," simply clear your web brower's cache and refresh the page.

更新日志:

1.7.5 1.7.4 1.7.3 1.7.2 1.7.1 1.7 1.6.3 1.6.2 1.6.1 1.6 1.5 1.4.1 1.4 1.1.4 1.1.3 1.1.2 1.1.1 1.1 1.0.2 1.0.1 1.0