1. Home
  2. WordPress Configuration and Maintenance
  3. TNT Dental Header/Footer Updater for WordPress Custom Themes

TNT Dental Header/Footer Updater for WordPress Custom Themes

If you are looking for a faster way to create and maintain a TNT Custom WordPress theme that eliminates the header elements that result in a 2x title tag, canonical issues, 2x description meta, an extra viewport and the “comments closed” message, you are in the right place. The Updater also replaces local links with global links when the theme is created.

Once installed, use the “Update Theme” button to inherit all changes to the site template.

Final Result – Basic Blog

Pre-Install Checklist

Make a backup of your blog before doing anything else.

Make sure “Search engine indexing” and Enable hotlink protection” are both active

Under Security make sure everything, but “Disable file editing in WordPress Dashboard” has a green check mark under “Security Measures”

Make sure “Block access to xmlrpc.php” and “Turn off pingbacks” are active under “WordPress Vulnerabilities”

Update the Yoast plugin and make sure Autoupdate is toggled On.

Remove any unusual non-custom themes and plugins.

Make sure WordPress and PHP is up to date.

Your WordPress dashboard through PLESK should look like this when complete:


Reskin The Blog

Download and install the files below to get started.

Unzip tnt-custom-2.62 and install the folder under themes while in PLESK.

Unzip custom-header-footer-injector-2.62 and install the folder under plugins while in PLESK.

Alternate Installation: Log into the WordPress Blog using the TNT Admin username and password found in webapps.

Westgate Dental Care > westgatedentalcare.net-blog > Edit
tntadmin | PjL5rF5nTaebY3P^k$ (example)

Once logged into WordPress, upload the tnt-custom-2.62 theme and custom-header-footer-injector-2.62 plugin:

Appearance > Themes > Add New Theme > Upload Theme
If you have a theme in a .zip format, you may install or update it by uploading it here.

Plugins > Add New Plugin > Upload Plugin
If you have a plugin in a .zip format, you may install or update it by uploading it here.

Log into WordPress from PLESK

Make sure comments are Inactive. Go to Settings > Discussion and make sure the following are checked / unchecked:

Make sure Permalinks are anything but, Plain! Go to Settings > Permalinks to check. If Plain, change to Post Name. Otherwise leave as is. For new installations or less than 5 blog posts change to Post name.


Finally – Installation

Pro Tip: You can install the new theme without removing the old theme. This allows you to go back and copy any customizations from the old files. This is especially helpful if you have Page Titles in a custom banner. Make sure you activate the new theme before you push the “Create Theme” button.

  1. Download TNT Custom – Client 2.62: install the zip file as a WordPress theme – /blog/wp-content/theme
  2. Download custom-header-footer-injector – 2.62: install the zip file as a WordPress plugin – /blog/wp-content/plugins
  3. Activate the theme
  4. Activate the header/footer plugin
  5. Go to Header/Footer Updater
  6. Add the domain name that will be used to create the WordPress theme in the space provided using the full URL – https://www.example.com
  7. Push the “Create Theme” button
  8. Use the Theme File Editor to make adjustments to header.php as before.
  9. Customize your theme by copying the styles included (AdditionalCSS) under > Appearance > Theme File Editor>
  10. Paste the AdditionalCSS styles found under Appearance > Customize > Additional CSS and modify the styles to further reflect the appearance of the website.

Final Steps

Check for Broken Links. Go to Plugins > Add Plugins > Search for “broken links” and install/activate “Broken Link Checker”

Go to Link Checker > Local (old) and repair broken links, warnings, and redirects. This can take some time to fix and if you notice anything weird – like a creative commons license – Replace the image with one from Adobe Stock!

FML

Finally…

Yoast SEO > Tools > Import and Export – Import the Yoast settings below:

Screaming Frog

Run Screaming Frog. Address any remaining issues and you are done!

Updated on March 25, 2025
Was this article helpful?

Related Articles