이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

WordPress GPS

설명

About this plugin

WordPress GPS tries to guide people throughout the WordPress admin jungle. Tell it what you want to do and let it show you the way, with the pretty WP Pointers feature.

Features

This plugin provides an admin panel with a scenario selection. It comes with some default scenarios, which will teach you for example how to:

  • add a new post
  • add a media
  • add an user

Each scenario is defined with capabilities the user must have to play it: if the user doesn’t have these capabilities, the scenario won’t be in the select box.

WordPress GPS is available on Github: https://github.com/lpointet/WordPress-GPS
Please feel free to send me pull requests, issues, evolution requests etc.

API

WordPress GPS provides some hooks to plugin writers:

  • a filter to add, remove or order the default scenarios (gb_gps_default_scenarios)
  • a function to create a new “pointer”: gb_gps_create_pointer
  • a single function to register a new scenario: gb_gps_register_scenario

gb_gps_create_pointer

Usage

$pointer_config = array(
    'selector' => '#menu-posts',
    'content' => '<h3>title</h3><p>content</p>',
    'position' => array(
        'edge' => 'top',
        'align' => 'right',
    ),
);

$pointer = gb_gps_create_pointer($pointer_config);<h3>Parameters</h3>

selector
(string) The DOM selector of the element on which the pointer will be attached.
Default: ”

content
(string) The content of the pointer.
Default: ”

position
(array) An array of arguments to pass to a jQuery UI Position Widget (see the documentation: http://jqueryui.com/demos/position/#options).

gb_gps_register_scenario

Usage

$args = array(
    'pointers' => $pointers,
    'label' => $label,
    'description' => $description,
    'capabilities' => array('edit_post'),
);

gb_gps_register_scenario($args);<h3>Parameters</h3>

pointers
(array) An array of GBGPS_Pointer with this structure: [ ‘hook’ => [ $pointer_obj, $pointer_obj2 ], ‘hook2’ => [ $pointer_obj3 ] ], where “hook” is typically the script’s name on the WordPress admin (‘edit.php’) or the keyword “all”.

label
(string) The scenario label, which will appear on the select box.

description
(string) The scenario description, which will appear on the admin panel.

capabilities
(array) An array of capabilities as defined by WordPress or even plugins (‘edit_post’ for example).

스크린샷

  • Choose the scenario you want to launch from its name and a little description
  • Follow the pointers!

설치

  1. Install WordPress GPS either via your ‘Plugins’ menu, or by uploading the files to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to the ‘GPS’ menu and launch the scenario you want

FAQ

Is this possible to add scenarios to the existing ones?

Of course it is, but only through the API for now.

후기

이 플러그인에 대한 평가가 없습니다.

기여자 & 개발자

“WordPress GPS”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “WordPress GPS”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

1.0.16

  • Fix typo in plugin description
  • Add i18n headers (still for GlotPress translation)

1.0.15

  • Try to enable GlotPress translation

1.0.14

  • Fix old class names
  • Fix old way to position pointers (offset)

1.0.13

  • Removed useless capability check for displaying admin menu / props colouro
  • Allow a pointer to be post_type specific / props colouro

1.0.11

  • Added one more scenario : (de-)activate a plugin
  • Updated POT file
  • Updated French translations

1.0.10

  • Fixed textdomain name & set English as default language

1.0.9

  • Refactored pointers processing to be more concise in JS #WebPerf

1.0.8

  • Fixed a bug with the POST requests checks that implied the whole admin was blocked

1.0.7

  • Avoid a PHP Notice on admin POST requests

1.0.6

  • Decommented a line commented for debug purposes…

1.0.5

  • Replaced the WP banner at the right place

1.0.4

  • Added some images (screenshots + WP banner)

1.0.3

  • Updated the version number to display in the WordPress Extend “Download” button

1.0.2

  • Added a function to the API to be more consistent
  • Updated Docs

1.0

  • First release of the plugin