ھي پلگ ان WordPress جي جديد 3 وڏين رليزز سان آزمايو نه ويو آھي. اهو ٿي سگهي ٿو وڌيڪ برقرار يا سپورٽ نه ٿي سگهي ۽ ٿي سگهي ٿو مطابقت جا مسئلا جڏهن ورڈپریس جي وڌيڪ تازي ورزن سان استعمال ڪيو وڃي.

DX Plugin Base

وضاحت

This is a fully-functional sample skeleton plugin for plugin developers.

It serves as a startup code providing reference and working codebase for:

  • defining custom post types and taxonomies
  • creating admin pages
  • sample code of the Settings API implementation for admin pages
  • registration of activate/deactivate hooks
  • adding metaboxes on pages
  • creating sample shortcode
  • creating sample widget
  • creating AJAX requests storing sample data in the database
  • creating AJAX requests for fetching remote data with the HTTP API
  • adding frontend styles/scripts the right way
  • adding admin styles/scripts the right way
  • defining common constants for further use

and more. Use it freely as your plugin startup snippet.

Take the code as is for test and learning or use it when creating plugins for a solid base. To be extended with
widget and shortcode samples.

انسٽاليشن

Upload the DX Plugin Base plugin to your blog and activate it. It would work as is.

Extend or comment whenever appropriate based on your assignment.

FAQ

Is it compatible with latest WordPress?

Yes, it is, as well as with the latest PHP.

I’ve removed the ‘pass-by-reference’ call for all array( $this, … ) entries as it’s deprecated since 5.3.0. If you happen to use 5.2.4, you can replace all $this in arrays with &$this or better update PHP version.

جائزا

جمع: سڀ 2 تبصرا پڙهو

تعاون ڪندڙ & ڊولپرز

“DX Plugin Base” اوپن سورس سافٽ ويئر آهي. ھيٺين ماڻھن ھن پلگ ان ۾ حصو ورتو آھي.

تعاون ڪندڙ

ترجمو ڪريو “DX Plugin Base” توهان جي ٻولي ۾.

ڊولپمينٽ ۾ دلچسپي؟

ڪوڊ براؤز ڪريو، چيڪ ڪريو SVN مخزن، يا رڪنيت حاصل ڪريو ڊولپمينٽ لاگ پاران RSS.

لاگ تبدیل ڪريو

1.6

  • Widget update for PHP compatibility with 4.3

1.5

  • Add custom fields to metaboxes
  • Save custom fields

1.4

  • Refreshing

1.3

  • Add page with AJAX options
  • Introduce AJAX call for storing data to DB
  • Introduce AJAX call to fetch title from remote HTTP resouce

1.2

  • Fix small issues and prevent some unexpected activities

1.0

  • Initial commit