Join the community, get access to exclusive contents and discussions.
Grab tips and tricks from experts.
We are in-need for your support and participation.
Join now as we regularly update the website for your needs.
Leave your suggestion on our contact page. We'll
promise to do our best to make your request possible!
Overriding or Running a Script before Content of any Page
In this topic, we will discuss about code that can override any page or all pages. For a specific page, of course, you need to search for the specific slug that you want to override. But in general, for every page loaded including home, adding a filter to ‘pre_document_title’ gives you the opportunity to listen in each page. In the example below, we just want to edit the title of the tab.
There are lots of uses for this tool, like for example, statistics plugin, maintenance plugin, and many more. But for now, see Server Admin: Basic Manual for Performance and Security forum for more server administration and Easiest way of having a site is WordPress for other helpful tips and tutorials.
Viewing 1 post (of 1 total)
You must be logged in to reply to this topic. Login here