ეს პლაგინი არ დატესტილა WordPress-ის 3 ძირითად ვერსიაზე. როგორც ჩანს, ის უკვე აღარ არის მხარდაჭერილი და შესაძლოა არ იყოს თავსებადი WordPress-ის მიმდინარე ვერსიასთან.

GitHub Gist WordPress Plugin

აღწერა

GitHub Gist WordPress Plugin allows you to embed GitHub Gist snippets with a [gist] tag, instead of copying and pasting HTML. For example, to embed the github_gist_wordpress_plugin_test.txt file from gist: 447298, fill in the id and file attributes in the [gist] tag:

[gist id=447298 file=github_gist_wordpress_plugin_test.txt]

or

copy the embedding JavaScript code from GitHub and directly paste it in the body of the [gist] tag:

[gist]<script src="http://gist.github.com/447298.js?file=github_gist_wordpress_plugin_test.txt"></script>[/gist].

The [gist] tag also expands the content of the embedded Gist and wraps it with “<noscript><code><pre>” so that search engine spiders, users with javascript disabled and users reading your blog through RSS will still see your code in a blog entry.

ეკრანული სურათები

  • With JavaScript On
  • With JavaScript Off

დაყენება

1) Download the plugin zip file.

2) Unzip.

3) Upload the github_gist_wordpress_plugin directory to your wordpress plugin directory (/wp-content/plugins).

4) Activate the plugin.

5) Use the [gist] tag in your posts or pages

მიმოხილვები

There are no reviews for this plugin.

მონაწილეები & დეველოპერები

“GitHub Gist WordPress Plugin” ღია პროგრამული უზრუნველყოფაა. შემდეგმა ადამიანებმა წვილი შეიტანეს მის განვითარებაში.

მონაწილეები

გადათარგმნეთ GitHub Gist WordPress Plugin თქვენს ენაზე.

დაინტერესებული ხართ დეველოპმენტით?

დაათვალიერეთ კოდი, შეამოწმეთ SVN რეპო, ან გამოიწერეთ შექმნის ჟურნალი : RSS.

ცვლილებები

1.0

  • quote a Gist with id and file attribute.
  • quote a Gist with the embedded JavaScript code.
  • expand a Gist’s content and wrap it with <code>

1.1

  • fixed margin of the display when JavaScript is disabled.
  • added branding information.