Tag Archives: footer

copyright

Snippet: Dynamic copyright text

Add following snippet to “footer.php” or where ever you want to print your copyright text Snippet Result You do not need to update the copyright year every year.  

ga

Snippet: Add Google Analytics Code

Add following snippet to “functions.php” Snippet Result It will add Google analytics code to the footer of every page. There is no need to add a full plugin for this simple task.

Snippet: Custom Admin Footer

Add following snippet to “functions.php” Snippet

Snippet: Display DB Queries, Time Spent and Memory Consumption

If you want to enable profiling inside your wordpress website to check db queries, and memory consumption then below code is just right for you