开发者 | adamdehaven |
---|---|
更新时间 | 2020年9月9日 05:23 |
捐献地址: | 去捐款 |
PHP版本: | 3.0.1 及以上 |
WordPress版本: | 5.5.1 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
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]
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.
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.[perfectpullquote]
shortcode.No. Only the align
option attribute is required. All other attributes may be deleted if unsued. For example:
[perfectpullquote align="left"]Text[/perfectpullquote]
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.
Simply utilize the "class" option on the shortcode tag. [perfectpullquote align="left" class="firstClass secondClass"]Text[/perfectpullquote]
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]
Simply utilize the "cite" option on the shortcode tag. [perfectpullquote align="left" cite="Author Name"]Text[/perfectpullquote]
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]
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.
bordertop
attribute that allows moving the pullquote border to the top (above the quote text) when bordertop="true"
is set on the shortcode. Defaults to bordertop="false"
.blockquote p:before
and blockquote p:after
psuedo elements to prevent theme overrides..pullquote
class to .perfect-pullquote
to alleviate conflicting CSS issues per user requests.cite=""
attribute causes an empty footer element.<p>
tags.width:95%
quotes. Utilize by specifying align="full" on shortcode. Update to docs and plugin URL.width:95%
quotes. Utilize by specifying align="full" on shortcode.<footer/><cite/>
block, as well as adding a link to the author.