Search This Blog

Showing posts with label pages. Show all posts
Showing posts with label pages. Show all posts

Monday, January 11, 2010

Creating Options Pages in Admin Panel - Wordpress

Options Pages in Admin Panel - Wordpress

Creating custom options panels in WordPress is relatively easy.

Firstly, to create the menu item and the new page, see Adding Administration Menus.

So long as you stick to this structure, WordPress will handle all of the option creation, update, saving, and redirection for you. It will check permissions, and do all that other magic behind the scenes.

---------------------------------------
PSD to HTML Conversion

Thursday, March 26, 2009

Generating WML Pages with PHP

Generating WML Pages with PHP
Using PHP to create a WML page

If you have decided to have a WAP version of your website and you want to make it dynamic, you can use PHP to generate your WML pages. In order to view WML pages you should download and install a phone emulator from Phone.com, Nokia.com or somewhere else. You can also use a WAP enable cell phone.

You should first make sure that the server your website is on can serve WML pages. (I am assuming it to be Apache) If the server doesn't know how to handle a .wml file, you can add it your Apache configuration or create an .htaccess file that adds the file type to a specific directory.

Sample .htaccess file
addtype text/vnd.wap.wml wml
addtype image/vnd.wap.wbmp wbmp
AddType text/vnd.wap.wmlscript wmls
AddType application/vnd.wap.wmlc wmlc
AddType application/vnd.wap.wmlscriptc wmlsc

content-wide advt