This is a simple WordPress Plugin for adding site functions rather than using theme functions. One of the biggest drawbacks with using theme functions in WordPress is that switching themes or updating themes causes the functions you created in the theme to no longer work – it is theme specific. There is a lot of documentation that suggests not to use theme functions, so based on some of the experiences I’ve encountered with using theme functions I decided to create a simple plugin. Here it is:
WordPress Plugin: My Site Functions
Simply download it then upload it to your WordPress Site Plugins.
Once activated Click on edit
Paste your functions there. Here’s an example of how I’ve used the My Site Functions. This was a function to change the date format from d/m/Y (e.g 12/04/2015) to Y-m-d (2015-04-12).
OTHER ARTICLES YOU MAY LIKE
USING BUTTERNUT.AI TO CREATE PROFESSIONAL WEBSITES
Having a professional and efficient website is crucial for any business looking to thrive online. With the constant advancements in technology, it can be overwhelming to keep up with the latest tools and platforms available for website creation. However, by leveraging the innovative capabilities of Butternut.ai, businesses can maximize their efficiency and create stunning websites […]
read moreTHE BEST WOOCOMMERCE AFFILIATE AFFILIATE RETAILER PLUGIN FOR MAXIMUM PROFITS
In today’s highly competitive e-commerce landscape, leveraging the power of affiliate marketing has become a crucial strategy for online retailers to maximize their profits. And when it comes to running an efficient and lucrative affiliate program on your WooCommerce store, choosing the right plugin is paramount. The best WooCommerce affiliate retailer plugin that stands out […]
read more