Posts Tagged with WordPress

  • Check current_user_can()
  • Nonces
  • Validating and Sanitizing Cookbook
  • $wpdb

plugin Internationalizing JavaScript

In this post u can learn first steps in coding widgets and integrate them in WP

  • ADDING MENUS AND SUBMENUS
  • CREATING WIDGETS
  • STYLES, ICONS, ...

A plugin in WordPress is a PHP script that extends or alters the core functionality of WordPress.

  • List of the main available APIs
  • ADVANTAGES OF PLUGINS
  • Commands: Paths, Activate/DE, Uninstall
  • Hooks

Создание виджета WordPress похоже на построение плагина, но является более простым и явным процессом. В простейшем случае понадобится один файл, в котором будет находиться весь код PHP. Для организации виджета требуется три основных функции:

function widget()
function update()
function form()