Tag: WordPress

  • My Ugly WordPress, HyperDB, & BuddyPress Deployment Shell Script

    This is the source of some of the website deployment scripts I have. This is one is fairly complex and it is my pocket tool of choice for development of big nasty WordPress sites. Probably only interesting to folks who deal with unix shells and do mildly heavy WordPress work. It’s designed to update from…

  • WordPress 3.0 Ajax Notes

    Collecting up some WordPress 3.0 and Ajax notes. Nice round look at current state of Ajax and WordPress: http://www.wphardcore.com/2010/5-tips-for-using-ajax-in-wordpress/ Here’s the WordPress Trac discussion for implementation in WordPress 3.0: http://core.trac.wordpress.org/ticket/12400

  • WP Super Edit & Some WordPress TinyMCE Notes

    Discussion on wp-hackers centering around a simpler api for creating simple buttons. Otto: There’s an example to add a quick button to TinyMCE at: http://tinymce.moxiecode.com/examples/example_20.php To do this in a WP plugin, you’d hook to mce_buttons_2 (or 3, or 4) to add your button to the list. Then you’d hook up a filter on tiny_mce_before_init…

  • Fixing The WordPress.com Custom CSS Plugin

    That plugin is custom to WordPress.com, so it’s not really for wide usage yet. But I did find these notes for WPMU usage: I needed to do two things to make it work: On line 131 change is_int() to is_numeric(): if ( is_numeric( $blog_id ) ) { switch_to_blog( $blog_id ); $current_plugins = apply_filters( ‘active_plugins’, get_option(…

  • Revisiting My Really boring HTML & XML tag function for PHP

    I’ve made some changes to the utility function I use for HTML and XML tag output. PHP is already a useful template language, but sometimes I run into places where I need to manipulate tags or output large amounts of HTML or XML tagged information. I looked everywhere for a simple function and ended up…

  • WordPress and Twitter Tools with Synected

    Hi there! If you came here from a Twitter post, then you actually participated in testing these screwball modifications. I thought I would try a couple of modifications to a couple of WordPress Plugins to add some personalization to the way posts are sent to Twitter. These modifications require the Twitter Tools WordPress Plugin and…

  • Saga of WP Super Edit

    This is an experiment. It is a WordPress Draft post that has been edited since August 2006. Yea, 2 years set as a draft document. This draft post went through about a dozen WordPress versions and upgrades, but was never published. It’s naive, it’s meandering, it’s about a WordPress plugin called WP Super Edit that…

  • WordPress Page with Loops and PHP Cloning

    This is a follow up of a quick note I sent to the wp-hackers list about multiple loops and page templates. I thought I would expand on the subject a little bit. WordPress uses the Loop to process and display posts. It sounds like a simple enough process, but there is alot that happens before,…

  • Recent WordPress Security Notes

    In “WordPress Security Prevention, Reactions, and Scares,” Lorelle VanFossen notes recent information about general Web security and specifically WordPress. She includes helpful tips and a couple of plugins I want to check out.