Head, Footer and Post Injections
Why you have to install 10 plugins to add Google Analytics, Facebook Pixel, custom tracking code, Google DFP code, Google Webmaster/Alexa/Bing/Tradedoubler verification code and so on… With Header and Footer plugin you can just copy the code those services give you in a centralized point to manage them all. And theme independent: you can change your theme without loosing the code injected! Injection points and features in the page section where most if the codes are usually added just after the tag as required by some JavaScript SDK (like Facebook) in the page footer (just before the tag) recognize and execute PHP code to add logic to your injections distinct desktop and mobile injections AMP A new AMP dedicated section compatible with AMP plugin lets you to inject specific codes in AMP pages. Should be ok even with other AMP plugins. Post Top and Bottom Codes Do you need to inject a banner over the post content or after it? No problem. With Header and Footer you can: Add codes on top, bottom and in the middle of posts and pages Differentiate between mobile and desktop (you don’t display the same ad format on both, true?) Separate post and page configuration Native PHP code enabled Shortcodes enabled Special Injections Just after the opening BODY tag In the middle of post content (using configurable rules) Everywhere on template (using placeholders) bbPress The specific bbPress injections are going to be removed. Switch to my Ads for bbPress, which is more flexible and complete. Limits This plugin cannot change the menu or the footer layout, those features must be covered by your theme! Official page: Header and Footer. Other plugins by Stefano Lissa: Monitor Hyper Cache Newsletter Include Me Thumbnails Ads for bbPress Translation You can contribute to translate this plugin in your language on WordPress Translate Privacy and GDPR This plugin does not collect or process any personal user data.
Top keywords
- code7×2.17%
- amp5×1.55%
- footer5×1.55%
- bbpress4×1.24%
- codes4×1.24%
- injections4×1.24%
- page4×1.24%
- post4×1.24%
- add3×0.93%
- google3×0.93%
- header3×0.93%
- header and footer3×0.93%
NewStatPress
NewStatPress is a new version of StatPress that was the first real-time plugin dedicated to the management of statistics about blog visits. It collects information about visitors, spiders, search keywords, feeds, browsers etc. Once the plugin NewStatPress has been activated it immediately starts to collect statistics information. Using NewStatPress you could spy your visitors while they are surfing your blog or check which are the preferred pages, posts and categories. In the Dashboard menu you will find the NewStatPress page where you could look up the statistics (overview or detailed). NewStatPress also includes a widget one can possibly add to a sidebar (or easy PHP code if you can’t use widgets!). With the new ajax/javascript usage for variables in widget, the plugin is faster for a user being visit your site even with 1GB or more of database to use! (requires the External API be enabled in NewStatPress>Options>API) IMPORTANT: all previous versions from 1.0.4 are subject to XSS and SQL injection from an old Statpress routine. You have to use at least version 1.0.6 to avoid security issue. PLEASE UPDATE always to the latest version available. Support Check at http://newstatpress.altervista.org What’s new? Simple adding index to database and changes some data fields for better database storing (from here http://www.poundbangwhack.com/2010/07/03/improve-the-performance-of-the-wordpress-plugin-statpress-and-your-blog/ where some modification comes from) Ban IP You could ban IP list from stats editing def/banips.dat file. DB Table maintenance NewStatPress can automatically delete older records to allow the insertion of newer records when limited space is present. This features is left as original StatPress but it will be replaced by the history data instead. External API External API are a way to gives the collected informations as a web service using a POST call. With it you can use (for example) your collected data of WordPress inside a Drupal site. The API must be enables by check a flag into the option (by default is disabled) and a private KEY must be entered (you can generate a random one). This KEY is for authenticate the called as a valid allowed client. Even if the API is for external usage, it will be used internally for speed up page generation using AJAX, so at some point you will need to activate it to continue to see overview and Details pages. Actually those are the available commands: Command | Parameters | Description version gives the Newstatpress version in use dashboard gives the Newstatpress dashboard overview table External API is actually used by Multi-NewStatPress (a software than manages data from multiple installation of NewStatPress in different servers). If you want to use the API you need to pass to POST those values: VAR the variable for the query (like ‘Version’) KEY the MD5 of date at minute level plus the key you enter into option (e.g in PHP: md5(gmdate(‘m-d-y H i’).key) ) PAR the parameter associated with the VAR TYP the type of result: JSON (default) of HTML into those url: your_site+”/wp-content/plugins/newstatpress/includes/api/external.php” NewStatPress Widget / NewStatPress_Print function Widget is customizable. These are the available variables: %thistotalvisits% – this page, total visits %alltotalvisits% – all page, total visits %totalpageviews% – total pages view %monthtotalpageviews% – total pages view in the month %todaytotalpageviews% – total pages view today %since% – Date of the first hit %visits% – Today visits %yvisits% – Yesterday visits %mvisits% – Month visits %wvisits% – Week visits %totalvisits% – Total visits %os% – Operative system %browser% – Browser %ip% – IP address %visitorsonline% – Counts all online visitors %usersonline% – Counts logged online visitors %toppost% – The most viewed Post %topbrowser% – The most used Browser %topos% – The most used O.S. %topsearch% – The most used search terms In widget, those are special html contropart: %br% => %ul% => * %/ul% => %li% => %/li% => Now you could add these values everywhere! NewStatPress offers a new PHP function newstatpress_print(). * i.e. newstatpress_print(“%totalvisits% total visits.”); New experimental functions: place this command [NewStatPress: xxx] every were in your WordPress blog pages and you will have the graph about the xxx function. Available functions are: * [NewStatPress: Overview] * [NewStatPress: Top days] * [NewStatPress: O.S.] * [NewStatPress: Browser] * [NewStatPress: Feeds] * [NewStatPress: Search Engine] * [NewStatPress: Search terms] * [NewStatPress: Top referrer] * [NewStatPress: Languages] * [NewStatPress: Spider] * [NewStatPress: Top Pages] * [NewStatPress: Top Days – Unique visitors] * [NewStatPress: Top Days – Pageviews] * [NewStatPress: Top IPs – Pageviews] License GPLv2 or later License URI https://www.gnu.org/licenses/gpl-2.0.html