(redirected from Programming.WordPress)



General Notes

http://wordpress.org/ - http://wordpress.org/download/
15 Useful Wordpress Tricks to Make Your Theme Even Better


WP 2.8 hack & tutorial list - uh, a bit outdated.


cheat sheet





questions tagged ‘wordpress’ on webapps.stackexchange





The post editor

Visual Editor

I will not speak of the visual editor.


The HTML editor.

bwah-hah-hah-hah-hah. They actually call it HTML! And then reprocess it silently!


Visual Versus HTML Editor
How WordPress Processes Post Content





Quicktags API - A reference for adding buttons to the HTML editor.





Making your wordpress installation appear to be somewhere else (.htaccess)

Why? Maybe you like installing wordpress into an easy-to-maintain directory like “wordpress” -- but you want to make this less obvious for readers (seriously -- why make your URL dependent upon your choice of software?)


NOTE: this doesn’t remove or replace your /path/to/wordpress/.htaccess file that WP itself generates -- that’s still required. If you remove it and use only the below, you will probably get access to the front page and the admin panels, but most everything else will fail with 404s.


place an .htaccess in root, or a level above your wordpress installation


  1. blog is replaced by whatever you want the pseudo-non-existing directory to be called
  2. /path/to/wordpress/ should be replaced by... the path to wordpress.
  3. blog must be referenced in both the WordPRess address and Site address settings in wpadmin/options-general.php
  4. If you screw something up and your admin panel is inaccessible, comment-out the rewrite rules (or rename .htaccess temporarily) and go in and edit the database directly to back out the base URL changes.
    1. or http://codex.wordpress.org/Changing_The_Site_URL
    2. http://www.blakeimeson.com/accidentally-changed-wordpress-site-address/



# (1) Send requests without parameters to root wordpress
# "blog" is a "fake" directory -- it only exists here
# NOTE: for wordpress, you also have to update the WordPress address
#       and Site address @ wpadmin/options-general.php
RewriteRule ^blog$    /path/to/wordpress/index.php [L]

# (2) this rule from http://corz.org/serv/tricks/htaccess2.php
# probable not nesc. based on rule (4), below
RewriteRule ^blog(.*) /path/to/wordpress$1 [NC]

# (3) Don't rewrite requests for any files, directories, or symbolic
# links (shortcuts) that exist on the filesystem.
# NOTE: MUST be PRIOR to the final rewrite rule
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l

# (4) Send requests to wordpress, appending the query string part.
RewriteRule ^blog([A-Z0-9\xa0-\xff].*)$ /path/to/wordpress$1  [QSA,L]



AskApache Password Protection, For WordPress ask apache, again
10 wordpress .htaccess hacks



Plugin development

TODO: populate
TODO: add codex to the intermap


WpPmWikiPlugin - plugin I’m working on


http://codex.wordpress.org/Data_Validation - Describes the functions used by Word Press to validate and sanitize data. Plugin authors should be familiar with these functions and ideas.


The complete guide to proper javascript usage (with wordpress)







link dump

http://wp-cli.org/ - Command-line Interface for WordPress. HUNH.



See Also




Category tags

Programming web cms php