Šī spraudnis nav atjaunināts vairāk kā divus gadus. Varbūt, tas vairs netiek uzturēts, nesaņemt atbalstu un tam var būt saderības problēmas ar jaunākām WordPress versijām.

Quote This

Apraksts

Quote This is yet another quote plugin. It has been a script I’ve used on my personal blog for a few years that I figured I’d share with the rest of the WordPress community.

Basically, it lets you show quotations on your blog in one of three ways:

  • quote_this() template tag for your theme template files.
  • [quote-this] shortcode for adding it to your posts and pages.
  • Quote This widget for use in widget areas.

Uzstādīšana

  1. Uzip the quote-this.zip folder.
  2. Upload the quote-this folder to your /wp-content/plugins directory.
  3. In your WordPress dashboard, head over to the Plugins section.
  4. Activate Quote This.

More detailed instructions are included in the plugin’s readme.html file.

BUJ

Why was this plugin created?

It was just an old script I’ve had lying around, gathering dust. I’ve been using it on my personal blog for years, so I figured someone might make some use of it.

How do I call the function in my theme templates?
How do I use the shortcode in my posts?

[quote-this]

How do I use the widget?

Head over to the Widgets section in your WordPress admin and click the “Add” button for the Quote This widget. Once added, you can select how you want to display the quotes.

What are the parameters?
type
  • Which type of quotes to show.
  • Possible values: all (default), art, film, friendship, individual, life, literature
orderby
  • How to order the quote(s) shown.
  • Possible values: rand (more options will be added in the future)
echo
  • Whether the quotation should be printed to the screen or returned for use in a function (is not used for the [quote-this] shortcode.)
  • Possible values: true (default), false
Can I get more detailed instructions?

If you need a more detailed guide, see readme.html, which is included with the plugin. It has a few examples and explains everything.

Atsauksmes

Par šo spraudni nav atsauksmju.

Autori un izstrādātāji

“Quote This” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.

Līdzdalībnieki

Tulkot “Quote This&#8221 savā valodā.

Vai jūs interesē attīstība?

Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.

Izmaiņu žurnāls

Version 0.2

  • Pretty much every line of code has changed. Yeah, so there’s no much point in documenting it. Treat this as if it’s a new plugin.

Version 0.1

  • Plugin released.