I thought this might be helpful to some of you out there, as I routinely have to do this myself. Need to update a table, or a lot of rows of data in MySQL? Here is a handy Find and Replace SQL script to run at the command line. mysql> update TABLENAME set FIELDNAME = replace(FIELDNAME, ‘X’,’Y’); In the above … Read More
ListPosts Shortcode is an extremely simple, yet versatile, way to display a list of featured posts on your WordPress site. The default behavior is very logical, while a plethora of options will allow you to customize the appearance & functionality to your heart’s content. Please give it a college try & a (good) review. Thanks! Enjoy!
I’ve recently developed a WordPress plugin called PressPlay Lite, which is now hosted on wordpress.org. PressPlay Lite offers music lovers the easiest way to play MP3s on their WordPress site. Simply insert a link to an MP3, and PressPlay Lite will automatically prepend a play/pause button. PressPlay Lite is powered by an extremely slimmed-down version SoundManager 2 (http://shillmania.com/projects/soundmanager2). The simplicity … Read More
This is an update to my original post How to make Bootstrap Carousel display WordPress Dynamic Content, so I’ll keep it short… The Original Source Code From Twitter.Github.com/bootstrap Note: Bootstrap developers have added the .carousel-indicators feature sometime after my original post. Below, you will see my solution for generating the “data-slide-to” values dynamically… Now with WordPress template PHP for dynamic … Read More
Note that the <?php bootstrap_pagination();?> function has already been discussed in our post “Add Twitter Bootstrap Pagination to your WordPress Theme“. I won’t spend too much time explaining this one. Just know that this will start an independent loop of your choice anywhere you want in your theme templates. And it correctly incorporates wp’s pagination feature, which can be tricky. … Read More