Simply copy and paste the following code into your functions.php file or wherever your hold your shortcodes. This function will clean up the output of your shortcodes, which is especially important for nested shortcodes.
Although WordPress does make the process of embedding Youtube (among others) videos easy, it does not add a div around embed codes by default, so this is an essential step into making the video embeds responsive. Use the code below to add a wrapping div around each embedded video and also add the required CSS […]
Using the code below, you can add a video that will replace your featured image for the given product. If video is not found, the featured image is displayed instead. Place this code in your functions.php file and note that you may have to edit the function that displays the video to match your theme. […]
Simple plugin to help webmasters and site admins hold contests. Visitors enter their personal details and submit a file to enter the contest. Once their enty is submitted, they are directed to PayPal where they pay the entry fee. After the transaction is completed, their entry becomes valid.
Taxi booking Plugin for WordPress. Ideal for companies that calculate fares using route length. Still under development, it started as a proof of concept. Features: Google Maps API for distance calculation and Places Redux Framework Custom post types and Metaboxes AJAX form handling Simple multi-step form qTip 2 tooltips for error messages Car costs can […]
During a routine audit Sucuri discovered a critical stored XSS vulnerability affecting Akismet, a popular WordPress plugin deployed by millions of installs. This vulnerability affects everyone using Akismet version 3.1.4 and lower with the WordPress “Convert emoticons like and ? to graphics on display“ option enabled, which is the case by default on any new WordPress installation. The […]
There are many times when you’re working on a custom WordPress website that you find yourself having to create several custom post types to improve the clients user experience. In most cases you find that some of these post types would make sense being grouped together under a single menu item. Not only does this […]
As mentioned on Magento forums the easiest way to achieve this is with overriding adminhtml config with your local custom one and activate it as module. This is just a small example of different approach with Admin Theme config option in admin panel, to show you how things can be done in different ways in […]
This is a great idea if you have clients who are creating their own posts. After you spend time devising an attractive template layout, clients often decide to skip the featured image, ruining the flow and presentation of what you’ve created. This snippet will require the author to select a featured image before the post […]