Written: June 26, 2014
Trever Dougan and his partner are starting up a brand-new parts catalog company called ICDT and asked me to help them get it up and running this month. For the Content Management System I selected WordPress, because it is the #1 CMS now with some 70,000,000 users. Trever wanted his clients to see all of the electronic parts he offers, but not actually order them, instead they can request a quote. I choose a catalog plugin and then added the quoting feature. Here’s a photo gallery to give an idea of how a prospective buyer can find their part and request a quote:
After a training session Trever is able to add new parts to the catalog, upload photos, add PDF specifications, along with updating any page or writing news articles. The theme for this website is responsive, so it works and looks good on the desktop, tablet and mobile devices.
I wish the team at ICDT all the best in their startup company.Tags: plugin, theme, WordPress
My new WordPress site uses several useful plugins and I’ve enjoyed having Easy Nivo Slider on my Home page to rotate four Posts, however with the WordPress 3.2.1 update this plugin plain stopped working.
That simple hack made Easy Nivo Slider start working again.
Hopefully the author will read the Forums, find the bug, fix it, and I can get an officially updated and supported plugin.
In the meantime my Home page is working with a sequence of four rotating images that can be clicked.Tags: bug, Easy Nivo Slider, hack, plugin, WordPress
I’ve been integrating client web sites with a popular WordPress plugin in called “Events Manager” that allows me to show show events in my sidebar:
I can also show events as a one month calendar:
One feature that was really missing from this plugin was search. There simply is no integration with the powerful search capability in WordPress for this plugin because of how this plugin was designed, it doesn’t use Posts therefore WordPress doesn’t know what to search.
My solution was to update the search.php file in my theme template by adding the following PHP code to search the custom table used by this plugin:
Line 13 is the name of the database table used by the plugin, in my case: wp_em_events.
Line 14 is where we get the search string that our web visitor has typed.
Lines 17 to 19 are where we query the database table looking for any matches with the search string in the event name or the event notes.
Lines 21 thru 27 will display all the events that match our search. On one client site the results look like this:
For my search.php file I inserted the custom code just above The Loop.
I love the power of re-using a WordPress plugin to enhance a web site however sometimes I have to get in there and do some PHP and database coding to get the feature that I need to complete the plugin.
My new client is the Tualatin VFW and they wanted an Events Calendar feature so I installed a popular WordPress plug-in called The Events Calendar.
I’m using widgets on each page and modified a template file (events-list-load-widget-display.php) so that it produced a list layout consistent with my theme:
I also updated a template file (gridview.php) so that it matched my theme:Events Calendar, plugin, WordPress