99 Robots Header Footer Code Manager

Every site will eventually need to add snippets to the header or footer, or above or below the content of posts or pages. Most site owners are afraid they may inadvertently break their site by adding code or placing snippets in the wrong place. No need to stress over this. 99 Robots have the perfect solution for you! Using their FREE Header Footer Code Manager (HFCM), you can easily add code snippets exactly where you want and eliminate the need for a dozen or more plugins just to perform such actions.

What’s even great about this plugin is that you never lose your code snippets when switching or changing themes. You’ll also know exactly which snippets are loading on your site, where they display, and who added them. This free plugin is loaded with the following features:

  • Add an unlimited number of scripts and styles anywhere and on any post/page.
  • Manage which posts or pages the script loads.
  • Supports custom post types.
  • Supports the ability to load only on a specific post or page or latest posts.
  • Control where exactly on the page the script is loaded – header, footer, before content, or after content.
  • Scripts can load only on desktops or mobile. Enable or disable one or the other.
  • Use shortcodes to manually place the code anywhere & track it in one place with the rest of your snippets.
  • Label every snippet for easy reference.
  • Plugin logs which user added and last edited the snippet, and when.

You also have page display options such as:

  • Sitewide on every post/page with the ability to exclude certain posts/pages
  • Specific post
  • Specific page
  • Specific category
  • Specific tag
  • Specific post type (posts, pages, custom post types)
  • Latest posts only (you choose how many)
  • Manually place using shortcodes

You can load snippets in the following locations:

  • Header
  • Footer
  • Top of content*
  • Bottom of content*

*(For pages & posts created using WordPress coding standards i.e. using the the_content() hook)

Of course, you have device options such as:

  • Show on All Devices
  • Only Desktop
  • Only Mobile Devices

There is a huge list of supported services:

  • Google Analytics
  • Google Adsense
  • Google Tag Manager
  • Clicky Web Analytics or other analytics tracking scripts
  • Chat modules such as Olark, Drip, etc
  • Pinterest site verification
  • Facebook Pixels, Facebook Scripts, Facebook image tag
  • Google Conversion Pixels
  • Twitter
  • Heatmaps from Crazy Egg, notification bars Hello Bar, etc.
  • It can accept ANY code snippet (HTML / Javascript / CSS) from any service
  • and the list goes on and on…

Installation is super easy. Just upload the 99robots-header-footer-code-manager to the /wp-content/plugins/ directory. Activate the plugin through the ‘Plugins’ menu in WordPress.

OR

Navigate to the WordPress Plugins page > Add New > Search for Header Footer Code Manager > Click on Install > Click on Activate. It’s that simple!

Finally, go to the plugins page to see instructions for shortcode and PHP template tags.

Plugin WordPress URL: https://wordpress.org/plugins/header-footer-code-manager/#developers

Plugin Documentation: https://99robots.com/docs/header-footer-code-manager/

After activating the plugin, you can click on settings link under the plugin name OR you can click the HFCM tab on the left side navigation. 

From there, you can add, edit, remove and review code snippets.

In order to add snippets to your posts/pages, with version 1.1.4 of the HFCM plugin, 99 Robots have replaced the Specific Custom Post Types with the ability to add code to All Post Types which include posts, pages, attachments, and custom post types.

Adding snippets to your header or footer has never been easier. With 99 RobotsFREE Header Footer Code Manager, this has now become easy. Trusted by many, the HFCM has over 80,000+ active installs! No longer a need for dozens of plugins and it takes the guesswork out of adding snippets in the correct place.

How to Boost WordPress website Speed & Performance

In this article, we will cover how to speed up WordPress websites and why the speed of webpages matters. But before moving on how t speed up WordPress website we will know why WordPress speed matters.

Why speed of WordPress website matters?

1. Slow Websites fewer visitors: If the website takes too much time to load then users will lose satisfaction and leave webpage before loading website.

2. Speed is one of the factors of SEO: Google algorithms now also include website speed which will affect your website SEO. So if your website speed is slow then its ranking will be reduced at search engines.

Webpages with better speed will improve user experiences, increase visitors and ranking at search engines that will also help in SEO.

To get better performance WordPress websites follow the guideline that is given below.

Guidelines to Boost WordPress website speed and performance:

1. Make Good choice for Web Hosting :

The called and an element is Web Hosting. There are three types of web hosting Shared Hosting, VPS(Virtual Private Server) Hosting, Dedicated Hosting.

Shared hosting is a cheapest hosting provider but its incredibly slow your site speed and frequently have downtime due to finite resources during high traffic periods it’s a phenomenon called “bad neighbor effect”.

If you have a huge site, manpower and budget then go for dedicated hosting. It may be more than you need.

Apart from all this VPS is best option for running small website without having downtime it provides perfect balance of speed, performane and cost.

2. Enable Caching :

Whenever the user tries to access any WordPress websites servers pass Php request to MySQL database which finds the page that is being requested, put it all together as HTML and show it to visitors. This consumes most of the resources and takes much time.

The solution for above is caching which save a copy of the pages in cache memory whenever the user makes the request for the very first time. So whenever user request same page then server first checks cache memory if the page is available then it sends the page to visitors if not then send the request to MySQL because of which caching saves both time and resources.

There are two ways to enable cache in WordPress websites by using WordPress caching plugins and ask if your hosting provider provides caching feature at your server if it is then enabled it. Best method is to enable caching at server.

3. Use Content Delivery Network CDN:

CDN caches all the static files that are Javascript, CSS, images that your websites have and allow visitors to download these files as fast as possible by serving then on servers that are close to users. WordPress provide plugins for CDN and MaxCDN, Sucuri, Cloudflare, StackPath, KeyCDN, Rackspace, etc are some the CDN’s available for WordPress websites.

4. Optimize Images, homepage and WordPress Database:

Image file size is one of the factor of WordPress website speed. Larger the image file size more time website take to load. Optimize the image to reduce the file size. Number of tools and WordPress plugins are available to optimize plugins.

Most visitors land at the homepage, therefore, the homepage is one of the most important pages in your website. To make visitors stay at your website then make sure that your home page contains clean and focused design and minimal widgets which also make it to load faster.

Follow the below guidelines to optimize your home page.

  • Your home page should not contain a large number of widgets. Remove inactive plugins and widgets.
  • Show only 5 to 6 posts per page.
  • Instead of showing the whole content of posts shows only excerpts of posts.

To optimize database delete unwanted data such as spam comments, fake users and unwanted plugins or themes this will reduced the size of your database, web files and also increase the speed of browser to fetch data that will directly increases speed of website.

5. Use The Latest Version Of PHP, WordPress and its Components :

With latest version of PHP, WordPress, themes and plugins will make sure that all the major vulnerabilities are fixed or not. Keeping website up to date will not only help you to improve the speed of website but it also make sure the security of website should be maintain.

6. Use Faster Plugins and Optimized Themes :

If themes or plugins have too many dynamic elements such widget, sliders and huge page size then it will directly effect the speed of your webpage. Instead of that users must use light weighted themes and plugins that will not afest the speed of WordPress website

7. Regular Maintenance of Database :

Maintaining database is most important for keeping database clean and easy to access data. There are many plugins available to do so. While maintaining database user must sure that there should be a minimum number of post revisions and wp_options table should contain the minimum number of rows

8. Make Minimum Database & server request :

Whenever the browser requires some resources such as Javascript files, CSS files or images the server request is generated. More the server request more the browser takes time to load the website. In this case user should take care of the followings:

  • Show a minimum number of posts per pages.
  • Remove the unwanted plugins.
  • Use the minimum number of images and high weighted elements
  • Avoid the use of external resources such as fonts, external CSS, and Javascript.
  • Enable lazy load to load images.

Follow the above simple eight steps to boost your WordPress website speed. The above steps not only speed up your website but also help in maintaining the security of website

WordPress 5.2 Features And Bug Fixes

WordPress version 5.2 named as “Jaco” was officially released on 7th May 2019 available to download.

This version comes with lots of features such as site health check, new dashboard icons, several bug fixes and various accessibility updates.

Features included in WordPress 5.2 are listed below:

  1. Site Health Check
  2. PHP Error Protection
  3. New Emojis and Dash icons
  4. Updates For Developers

Site Health Check

Site Health Feature was introduced in WordPress version 5.1. WordPress 5.2 release includes two pages that help to debug configuration issues. It also adds space which includes debugging information for site maintainers.

PHP Error Protection

This feature will let you fix or manage fatal errors without requiring developers time. Most of the WordPress fatal errors stop users from accessing the wp-admin dashboard.

Users are then required to undo all the changes made to sites with the help of developers or FTP client.

WordPress 5.2 provides the recovery mode for administrator users in which whenever fatal error occurs you will see a message: ‘This site is experiencing technical difficulties ‘.

WordPress then send an email to the WordPress email address which includes login link. Using that link user can log into the admin dashboard. After that you can undo changes that triggered fatal error.

New Emojis and Dashicons

WordPress 5.2 has 13 new icons, including Instagram, a suite of icons for BuddyPress, and rotated Earth icons for global inclusion.

WordPress 5.2 includes following improvements for developers

Updates For Developers

Block Editor Improvements

In WordPress 5.0 the block editor( Gutenberg ) was introduced. WordPress 5.2 comes with some new features added to the block editor.

  • Image resizers are much better than before.
  • Performance improvement in terms of loading time.

PHP Version Bump

The minimum supported PHP version for WordPress installation is now 5.6.20. As of now WordPress 5.2 or greater version themes and plugins can safely take advantage of namespaces, anonymous functions, and much more.

Privacy Updates

WordPress 5.2 includes new page template that is privacy policy. Added following helpers that will make customizing the privacy policy easier.

  • Function: is_privacy_policy()
  • Template file: privacy-policy.php
  • Body class: .privacy-policy
  • Menu item class: .menu-item-privacy-policy

Improvements for Writing JavaScript

With the addition of webpack and Babel configurations in the WordPress 5.2 package, developers won’t have to worry about setting up the build tools to write modern JavaScript.

New Body Hook

WordPress 5.2 added new wp_body_open() hook, which lets themes support injecting code right at the beginning of the <body> element.

Plugin Compatibility Checks

WordPress will automatically detect if your website server’s PHP version is not compatible with the installed plugins. If installed plugins require higher version of PHP than your website is currently using, WordPress will not allow to activate your plugin.

These were all the features and bug fixes introduced in the version 5.2. Hope the article as knowledgeable.

If you need any assistance with the installation feel free to contact our support team at :
https://softaculous.deskuss.com/open.php

You may also email your query at support@wpcentral.co.

wpCentral Premium Launch

Softaculous team has successfully launched the premium version of
wpCentral. Go through the following article to know about the new features and bug fixes that are introduced in this version:

1) [Feature]: Added Remote Backup feature. Using Remote Backup users can manage their backups at remote locations like FTP, SFTP, FTPS and even on Google Drive and Dropbox. To know how to create the backups at these remote locations and how to add Backup Location go through the guide here.

2) [Feature]: Added Auto Backup feature which allows users to automate their website backups by scheduling them. Users can schedule backup for once a day, once a week, once a month or they can add their custom time. To Automate website Backups go through the guide here.

3) [Task]: If your website is disconnected from the wpCentral panel for some reason, you can reconnect the website using WordPress admin credentials as well. You can go through the documentation here to know how to reconnect website using WordPress admin Credentials.

4) [Bug Fix]: Install, Delete and Update of plugins and themes was not working for the websites hosted on non-suPHP servers. This is now resolved. FTP details for the websites hosted on non-suPHP servers are required to be added to proceed with the management of these websites. Follow the documentation here to configure your website domain in wpCentral panel.

Note: We have also launched wpCentral plugin version 1.4.3 in compatibility to wpCentral Premium launch. We recommend our users to update their plugins to explore the premium features without any errors.

Regards,
The wpCentral Team

What are WordPress widgets and how to use them?

WordPress widgets are independent components that offer particular functionality to your WordPress website. You can add these widgets in sidebars, footers or any widget-ready area of your theme. For example, WordPress Twenty Sixteen theme provides default widgets such as category, archives, recent post, recent comments, calendar, gallery, etc.

Initially, widgets were designed to give an elementary control over the WordPress theme’s designing. But now widgets are available on properly widgetized WordPress themes.

If your WordPress theme does not offer the widget you require or any widget at all, you can create a custom widget manually by writing some blocks of code. For the existing widget, you can simply drag and drop wherever you want to show it.

How to add a widget?

WordPress Widget option is available in the WordPress Admin Dashboard Appearance >> Widgets. WordPress widgets can be easily added just by following simple steps given below:

Step 1: Login to your WordPress Admin section and go to Appearance -> Widgets.

What is WordPress widget and how to use it?

Step 2: Choose a widget from the ‘Available Widgets‘ section present on the left side and add it to the available widget-ready section(sidebar, footer, etc) on the right side. There are following two ways to add

  • Simply drag the widget to the widget-ready section on the right side.
  • When you select a widget, a list of areas where you can add the widget will appear. Check the section where you want to add it and click the “Add Widget” button.
What is WordPress widget and how to use it ?

Step 3: After adding the widget to the respective section, when you click on the arrow present in the right corner of the widget, you get options to edit widget settings. For example, if you have selected Recent Posts widget, you will immediately get options to write title and select “number of post”. Click on save button to save the customization.

How to remove a widget from a particular section?

Removing widgets is as simple as adding them. Following are the steps:

Step 1: Navigate to Appearance>>Widgets in the WordPress Admin Section.

Step 2: Search for a particular widget and expand it by clicking on the arrow. At the end of the widget settings, you will find “delete” option. Click on it to remove the widget from that section. This will also delete the widget settings.

What is WordPress widget and how to use it ?

Note: If you want to remove the widget without losing your settings, just drag that widget to the inactive widget section on the left side. You can always add a widget again from the list of available widgets or inactive widgets.

Widgets are flexible tools in WordPress which developers can make use of in their own creative ways. If you are not comfortable with the code, you can also create you own custom widget and use it.

Widgets can make your website more interactive. They are also highly customizable, and you can achieve practically anything you want through a widget.

We hope this article helped you learn about widgets and how to add and use them in your WordPress websites.