Tag: PHP

  • WordPress Full Site Editing (FSE) Themes, templates, and a simple plugin to reset them

    As I write this the WordPress community is once again changing in the social, and market focused ways. There has been turmoil in it’s development, so the technical changes also keep going. As a developer who comes from a creative background, I am happy to put more creative tools in front of less technical users.…

  • Drupal 8 – Composer: updating, module installs, & external library support notes

    This is a set of configuration steps used to setup the requirements for the Tulane Library website using Drupal. PHP-Composer with Bower and NPM integration is used for updating and installing Drupal core, modules, and libraries. Included are procedures, configurations, and websites with information. Prerequisites – May be necessary on the composer system used for…

  • WP Super Edit 2.4.7

    This is the “Things might be a mess around here, but I’m still working release” for WP Super Edit 2.4.7. There are no new features or major changes for this release. This update should fix a couple of issues. Migrate from depreciated WordPress functions. Update included TinyMCE plugins to TInyMCE 3.5.8 You are welcome to…

  • BP Registration Options 3.0.3 with Fixes for BuddyPress 1.3 – Trunk

    Just posting some modifications made to get the BP Registration Options 3.0.3 plugin working with WordPress 3.2-trunk and BuddyPress 1.3-trunk that I needed for a current project. This was only tested on a WordPress multi-site network with BuddyPress and using sub-domain mapping, so my modifications may not fix everything for you. I also did not…

  • 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…

  • Really boring HTML & XML tag class function for PHP

    That’s right. It’s simple boring and reusable. I used it for the complex HTML need to make the WP Super Edit WordPress administration options. It’s actually a function, but I use it inside a PHP class when I know I’m going to be either doing nasty HTML echo’s or returning complex HTML formatted variables. It’s…