WordPress Plugin: My Site Functions

June 22, 2015   /   by Marco  / Categories :  Websites, Wordpress

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:

Simply download it then upload it to your WordPress Site Plugins.

Once activated Click on edit

My Site Functions Edit Button

 

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).

My Site Functions Edit

 

 

DO YOU LIKE WHAT YOU'VE READ?
Join our subscription list and receive our content right in your mailbox. If you like to receive some Great deals our Freebies then subscribe now!

Our Sponsors

  • Follow us:

OTHER ARTICLES YOU MAY LIKE


LOOKING FOR SURVEY SOFTWARE?

LOOKING FOR SURVEY SOFTWARE?

If you’re looking for the best survey software available on the market then let me introduce to you WPForms. Yes, you will need WordPress to use WPForms. I’ve previously mentioned this tool in other articles listed below: HOW TO CREATE GREAT LANDING PAGES IN 2020 NEW SALESFORCE ADDON FOR WPFORMS Creating surveys is a great […]

read more
HOW TO FIX ERROR 99 CANNOT ASSIGN REQUESTED ADDRESS NGINX

HOW TO FIX ERROR 99 CANNOT ASSIGN REQUESTED ADDRESS NGINX

I recently received this error message when I manually started my VestaCP Nginx service: 99: Cannot assign requested address nginx: configuration file /etc/nginx/nginx.conf test failed I tried searching for a solution on Google but none of them helped. After some digging around, I managed to work out what the issue was. A few weeks ago […]

read more

Subscribe

Receive the latest news and awesome deals via email

Like our Page

site auditing tools