اے پلگ ان hasn’t گوں ورڈپریس ءِ نوکیں 3 مزنیں ریلیزاں آزمائش کنگ بوتگ۔ اے دگہ برجاہ دارگ یا حمایت نہ کنگ بیت ءُ ورڈپریس ءِ نوکیں ورژنانی گوں کارمرز کنگ ءِ وھد ءَ مطابقت ءِ جیڑھ بوت کنت۔

GitHub Gists Sidebar Widget

سرجمیں

A sidebar widget to display your public gists from GitHub. Allows for optional display of creation date and link back to your GitHub profile page. Uses v3 of the GitHub API.

Potential Enhancements

I plan on including the Transients API in an upcoming release…once I figure out exactly how they work. Otherwise, feel free to suggest.

اسکرین شاٹ

انسٹالیشن

This section describes how to install the plugin and get it working.

  1. Upload the ‘gist-sidebar-widget’ folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Drag the widget to your sidebar and input your username, number of gists, and options for displaying creation date and a link back to your GitHub profile.

جُست ءُ پُرس

What does this do?

It displays your public gists from GitHub on the sidebar, linking to each of them on GitHub.

They look kind of bland. Can I style them?

Sure can. There are four classes to look at to add to you CSS.

  • Each list item <li> has the class gist_item

  • Each link within the <li> has the class gist_link

  • The optional creation date is wrapped in a <span> with the class gist_date

  • The optional link to your GitHub profile is in a <p> with the class github_link

Is that it?

Pretty much, yeah.

جائزہ

اے پلگ ان ئے ہچ جائزہ نیستیں

کمک کنوک & دیمروئی کنوک

“GitHub Gists Sidebar Widget” اوپن سورس سافٹ ویئر اِنت۔ اے پلگ ان ءِ تہا رند ءِ مردماں وتی کرد پیلو کتگ۔

کمک کار

“GitHub Gists Sidebar Widget” ءَ وتی زبان ءَ رجانک کن اِت۔

دیمروئی ءِ تہا دلچسپی داریت؟

کڈ ءَ براؤز کن اِت، SVN ءِ ذخیرہ ءَ بچار اِت، یا دیمروئی ءِ لاگ ءَ RSS ءِ وسیلہ ءَ سبسکرائب بہ کن اِت۔

چینج لاگ

1.2

  • Update old PHP4 constructor

1.1

  • Added username to transient variable to allow multiple widget use.

1.0

  • Initial release