How to Override Functions in Formatting.php on WordPress
WordPress is a content management system website platform that allows you to customize and update your website from an online dashboard. Several WordPress files control the look and feel of the website, including the WordPress style sheet and the formatting.php file. You can customize and override a function in the formatting.php file by replacing the appropriate code using a text editor.
Instructions
-
-
1
Open the formatting.php file using the desired text editor. Notepad is a free text editor that comes with all Windows computers.
-
2
Press “Ctrl” and “F.” The Find and Replace window launches.
-
-
3
Click inside the “Find What” field and enter the function you wish to override.
-
4
Highlight the function and press “Delete.”
-
5
Type or paste in the desired function that you want to use to override the old function.
-
6
Click “File” and then “Save” from the top-menu.
-
7
Copy the formatting.php file to your WordPress hosting server.
-
1