WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Token Manager

The Token Manager allows web developers to program PHP, HTML, CSS and JavaScript into tokens that can be used throughout WordPress.

My token is not appearing on my page? You must assign your token from the Token Manager to page. Visit the tokens link. Click on the icon that look like pages. Search for a page. Assign that page or multiple pages to the token by clicking on the arrow buttons.

What are token types? Token types are created by you. They allow you to organize your code into categories of type. i.e text, control, template, thirdparty

How do I assign the front page or all pages to my token? Visit the tokens link. Click on the icon that looks like pages. In the search box type 'frontpage' for frontpage or 'all pages' for all pages. Then click on the arrow button to assign it.

Where does my token go if I delete it from the Token Manager? No worries! It does not delete the token, it just deactivates it from the Token Manager. You would still be able to find it in the database tables. Future enhancements will probably include the functionality to retrieve it.

How does this plugin support WordPress MultiSite? When activated as a network plugin, you can assign unique tokens in each site and blog from their corresponding dashboards.

Is there a history of action on the tokens? Yes, The Token Manager records an xml file in the table recording actions taken. Future versions of Token Manager will include history managing tools.

Do you support token code versioning systems? Yes!, but only in the professional versions. The standard free version uses versioning in the background, but doesnt give you the tools to manage it. If you would like to find out more about the professional version please visit http://www.codevendor.com/product/tokenmanager/

If I write a PHP code incorrectly, will it halt my WordPress? No, not unless it is a fatal error. Common errors in syntax will be displayed with an error message, if the Token Manager has the settings enabled. If the settings are not turned on, it will display a blank token.

How do I write dynamic HTML, CSS and JS? PHP code is supported in all coding tabs. Also token codes are also supported in other tokens starting from top to bottom ordering of types.

Do you support token backup? Yes!, but it is a manual process in the standard version. You must edit each token and copy the contents from each code tab. Professional versions include a simple detailed backup system with versioning and restore tool. If you would like to find out more about the professional version please visit http://www.codevendor.com/product/tokenmanager/

How do I make suggestions or bug reports? Please visit the WordPress forums for this plugin or visit the main website at http://www.codevendor.com/support/

How do I optimize my tokens to load faster? By directly assigning each token to a specific page and only using 'all pages' sparingly.

How do I keep my token PHP code from having naming convention and collision errors? By using classes and unique naming, just like you would do writing any PHP code. Please refer to http://PHP.net/manual/en/language.oop5.PHP

Do I have to write the beginning and ending script tags for PHP, CSS and JS? No, they are added for you. If you are injecting PHP code into another language, then yes, <?PHP ?> would be required.

Are PHP shortcodes supported <? ?>? No, not at this time. You must use <?PHP ?> for your PHP.

Do all codes inline on the page? Yes, for now each code inlines into the page, but future enhancements will allow you to make things external.

How do I add token parameters? If you have a token named example, you could add parameters to extend it like so: {example, Param1, Param2, ParamInt3}. This will pass param1, param2 and param3 to example token. Token parameters accept strings and integers. You can use either double or single quotes around parameters. If you have quotes inside quotes you need to escape them. If you use { or } in your strings, make sure you encode them. To access the parameters within your token code use the following: $GLOBALS["ARGS"][0]

Requires: 3.0 or higher
Compatible up to: 3.4.2
Last Updated: 2012-10-30
Downloads: 2,001

Ratings

4 stars
4.2 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 100,3,3 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1
0,1,0