Category Archives: wordpress

my favorite website. reserved for a while. they made everything better

http://grooveshark.com/s/The+Boss/3WIOyQ?src=5

Posted in .Net, Apache, css, git, Java, javascript, jQuery, Linux, Math, MySQL, Networking, Other, PHP, Postfix, Source Code Management, sqlite, subversion, wordpress | Leave a comment

where are wordpress xml feeds?

WordPress Post-Feed Formats for Permalinks If you have permalinks enabled on your site, your main-content (posts) feed is accessible via the following URLs, depending on which feed format you would like to use: http://domain.tld/feed/ (RSS 2.0 format) http://domain.tld/feed/rss2/ (RSS 2.0 … Continue reading

Posted in wordpress | Leave a comment

wordpress plugin development – need to learn

use options instead of setting up own database(takes array – probably handles serialization) meta boxes – wordpress-style admin areas. can be inserted into other/existing admin sections(e.g. post creation)

Posted in wordpress | Leave a comment

WordPress Plugin development – ajax and auth/admin

wp ajax: add_action(‘wp_ajax_suggestPosts_ajax’, ‘suggestPosts_ajax’); handle ajax: function ajax($postdata){ if(!isset($postdata['ajax'])){ return; } if($postdata['ajax'] == ‘getSuggestions’){ if(!is_admin()){ echo “must be an admin”; die(); } . . . send ajax(javascript): var postData = {‘ajax’:’getSuggestions’,’keyword’:keyword,‘action’:’suggestPosts_ajax’}; jQuery(‘#suggestPostsPluginAdmin div.suggestPostsPluginAdmin-results’).html(‘loading…’); jQuery.ajax({ type: “POST”, url: ajaxurl, /* defined … Continue reading

Posted in wordpress | Leave a comment