Skip to content

The Complete Tech

the best tech support website

Menu
  • Home
  • WordPress
  • SEO
  • Google Ads
  • Server
  • Domains
  • SMM
  • Cryptocurrency
  • Dark Web
  • WP Function.php Hacks
  • General
  • Home
  • 2020
  • November
  • 1

Day: November 1, 2020

WordPress WP Function.php Hacks

Detect the operating system and browser on WordPress website

VivekNovember 1, 2020November 1, 2020
The below function identifies the operating system, browser and prints it into the body tag. It helps to write CSS based OS and browser specific. function customBodyClass($classes) { $user_agent =...
WordPress WP Function.php Hacks

Find which WordPress template file is currently used?

VivekNovember 1, 2020November 1, 2020
Easiest solution to identify the wordpress template is to use the below code in the theme functions.php file This is a simple code. First we create a function to print...

Recent Posts

  • Learn the basics of Google Ads
  • How to integrate stripe payment gateway in WordPress?
  • How to send 1 lakh emails per day
  • The best social media agency in Dubai
  • Best 10 free WordPress themes – 2022

Archives

  • October 2022
  • August 2022
  • June 2022
  • March 2022
  • February 2022
  • January 2022
  • September 2021
  • April 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020

Categories

  • Business
  • Cryptocurrency
  • Dark Web
  • Domains
  • General
  • Google Ads
  • SEO
  • Server
  • Social Media Marketing
  • WordPress
  • WP Function.php Hacks

Contact

Close
Menu
  • Home
  • WordPress
  • SEO
  • Google Ads
  • Server
  • Domains
  • SMM
  • Cryptocurrency
  • Dark Web
  • WP Function.php Hacks
  • General
Copyright All rights reserved The Complete Tech