WordPress 4.5 Field Guide

Few more days! Can you feel the buzzing excitement already? Yes, the wait is over. WordPress is all set to release the next major version i.e, WordPress 4.5 by the second week of April 2016 (set to be released on 16th April 2016). Yes, we are excited too! We have been following the Beta Development … Continue reading WordPress 4.5 Field Guide

Tag Archives: wordpress

WordPress 4.5 Field Guide

Few more days! Can you feel the buzzing excitement already? Yes, the wait is over. WordPress is all set to release the next major version i.e, WordPress 4.5 by the second week of April 2016 (set to be released on 16th April 2016). Yes, we are excited too! We have been following the Beta Development and can’t wait to share with you the best highlights of WordPress 4.5 version. Go on, check out what you can expect from WordPress 4.5.

Inline Link Editing
Till now modal window was used to edit links within content. In WordPress 4.5, there’s a new feature inline link editing. Things to be aware of inline link editing.

You no longer have the “or link to existing content” section.
If you are linking to existing content on your site or an external URL, you have to do from within the same input box. You can use keywords to search for existing content or enter URL starting with http://.
Once you have entered your URL or clicked on your existing content, you can use ENTER or RETURN key to return to editing your content in inline link editor. There is a blue button with an arrow that will apply your link.

The WordPress 4.5 edit link modal (advanced options):

Inline Text Patterns Shortcuts
Inline text patterns are keyboard shortcuts used to add formatting to content. Few more text patterns for inline code blocks (<code>) and horizontal line (hr />) will be added in WordPress 4.5.

‘will surround the text with <code> element.

—3 or more hyphens or dashes will be converted into <hr /> element
Login with Email Address
Till now we could login into the WordPress Admin area only with username and password (unless you used a plugin). Username is different from email address. It’s easy to forget username (guilty as charged!). Usernames are publicly accessible thus vulnerable to hacking. WordPress 4.5 allows you to login using email address. It’s rare that we forget email address when attempting to login and email address is not easily accessible to a hacker. We think it’s a great step!
Comments Updates in WordPress 4.5
Comment Moderation
Now in WordPress 4.5, the permalink only shows for approved comments.
Check out the screenshots below to understand other changes that were made to the comment moderation screen.


Max Lengths for Comment Fields
The following maxlength attributes are used on the comment form fields in WordPress 4.5:
Comment: 65,525 characters
Name: 245 characters
Email: 100 characters
URL: 200 characters
You can override these lengths using the comment_form_default_fields filter for custom database schemas.

Comment Error Screen
To assist user navigation, a simple back link has been added to the comment error screen.


WordPress Customizer
WordPress Customizer has got several notable improvements and a few bug fixes. Let’s take a look at them.
Custom Logo Support
Themes can now declare support for custom logos with WordPress 4.5,
Themes should include the following code in their functions.php file (replace “theme_prefix” with your actual theme’s prefix) to register support.
function theme_prefix_setup() {
add_theme_support( ‘custom-logo’ );
add_action( ‘after_setup_theme’, ‘theme_prefix_setup’ );
Making it easier for theme developers to add styles, aclass of .wp-custom-logo would be added with this feature.
Selective Refresh
Only the specific part of the site that you’re editing will update, instead of the entire page getting refreshed with every single update. This means when editing your site in Customizer, live preview will be faster.
You can now use SHIFT + click elements in the preview pane to open up their options in the Customizer’s sidebar.
Customizer Device Preview
You’ll find 3 icons in the bottom left corner: desktop, laptop, and mobile. You can now easily preview your site to understand how it will look on different devices.


Embed Changes in 4.5
Support for Twitter Moments & Timelines
You can now embed Twitter Moments and Timelines onto your posts and pages with WordPress 4.5.
Dailymotion (dai.ly) Embeds over https
Embed Dailymotion videos over https securely.
Script Loader in WordPress 4.5
Individual Stylesheets for /wp-admin/
The admin can now use the load-styles.php file to serve up 4 dashboard.css files (weighing 72kb) instead of using 235kb wp-admin.min.css file.
For more information on Enhanced Script Loader in WordPress 4.5 please click below link https://make.wordpress.org/core/2016/03/08/enhanced-script-loader-in-wordpress-4-5/

HTTP ETag Header
Now both the load-scripts and load-styles.php can send an ETag header which includes the WordPress version. Browser won’t re-download styles and scripts which will help improve performance.
Inline Scripts
You can now use the new wp_add_inline_script() function to add inline Javascript.
Enhanced Script Loader in WordPress 4.5
Check out full post on “Enhanced Script Loader in WordPress 4.5”.
Link: https://make.wordpress.org/core/2016/03/08/enhanced-script-loader-in-wordpress-4-5/

Embed Changes in 4.5 For Developers
Embed Template
Small changes such as minor bug fixes, accessibility enhancements, and a new way of template loading were made to Embed Template.
Small Changes
The <iframe> comes with a hidden new technique to resolve Firefox bug and for better accessibility <iframe>‘s title attribute is updating. When a WordPress site is set to a static page, you can embed the front page.

Template Changes
There are now 5 template parts that load the embed template and they are located in /wp-includes/theme-compat/ and can be overridden by themes.


Image courtesy: wordpress.org

Template Hierarchy
Theme authors can customize embed for different types of content using the same, familiar template hierarchy.
1. embed-{post-type}-{post_format}.php
2. embed-{post-type}.php
3. embed.php
4. wp-includes/theme-compat/embed.php
Complete list of embed changes is explained clearly in WordPress post. Checkout below link
Link: https://make.wordpress.org/core/2016/03/11/embeds-changes-in-wordpress-4-5/

JQuery Updates
JQuery and jQuery Migrate are updated from version 1.11.3 to 1.12.2 and 1.2.1 to 1.4.0 respectively. Test your themes and plugins which uses these libraries. Along with this, the Backbone & Underscore libraries are also updated. Test completely if you use these libraries in themes /plugins.
Customizer Changes for Developers
Below are few things that developers should be aware of.
Setting-less Controls
Take note in ticket #35926 for the theme options in Customizer.
Selective Refresh for Widgets
Enable theme support to use the new selective refresh feature for sidebars/widgets.
add_theme_support( ‘customize-selective-refresh-widgets’ );

Term Edit Page
A new /wp-admin/term.php is now available for editing single terms. Read about few other notes here.
Multisite in WordPress 4.5
Few improvements are made to Multisite.
Introduction of new global object, WP_Site replaces $current_blog. Ticket #32450
New hooks & filters are introduced:
network_user_new_form fires at the end of the network’s Add New User form. #15389
network_site_new_form fires at the end of the network’s Add New Site form. #34739
network_allowed_themes and site_allowed_themes allow for more granular filtering of the themes allowed for a site. The legacy allowed_themes will continue to do its job. #28436
pre_network_site_pre_created_user fires right before a new user is created during the Add New Site process if one does not already exist. #33631
When a user tries to logging into a network to which they don’t have permission, a redirection for subdomain installs.
After you add a new user to a site, an “Edit User” link will be added to the screen.
Read this post for a complete list of Multisite updates in WordPress 4.5.

For WP-CLI to work with WordPress 4.5, you need to upgrade it to WP-CLI version 0.23.0. Please refer this link “official release post ” for more details.

Other WordPress 4.5 Features
Google+ con was updated and 3 new Dashicons added (move, paperclip, and laptop). Refer Ticket#34221
Image quality changed from 90 to 82.
This doesn’t implies to the original upload, it applies only to the WordPress-created image sizes.
Please refer below link for other Performance improvements for images in WordPress 4.5
Link: https://make.wordpress.org/core/2016/03/12/performance-improvements-for-images-in-wordpress-4-5/
Please refer 4.5 Field Guide for any missing feature.

Source : wpsmackdown
Are you eagerly waiting for the WordPress 4.5 release like us? Share your thoughts with us in the comments section below. Keep in touch with us on our social media channels for all the latest scoops!
If you are looking for a WordPress hosting provider, your search ends here! Netrouting is committed to fulfil the mission critical IT demands for Web Hosting platform using the best hardware available, spread over multiple data centers to ensure the quality and availability of your blog and website. Netrouting utilizes a Cloud based infrastructure for offering its Web Hosting service. Redundant storage, daily backups and automated fail over is included with its packages. Get in touch with us now!


Getting Started with Theme Development in WordPress

On the pretext of sounding like broken record, we say it again – WordPress is huge! Over 74,652,825 and counting user base is a reigning proof of WordPress popularity. So what makes WordPress so popular? Among other reasons, themes are one of the major reasons of its popularity. And if you are looking into ways to get a complete and functioning WordPress theme, this post is right up your alley.
Check out below to understand how you can get started with theme development in WordPress.
Themes in WordPress
You can get all the front end styling for your website from WordPress themes.
These themes provide:
1. Style of the site
2. Colours
3. Font Styling
4. Widget locations
5. Page layouts
6. Styles for blog posts and blog archives
Naming a WordPress theme
You should be aware of WordPress’s directory structure to build a theme in WP. You have to create a sub folder in the wp-content/themes directory in WordPress folder. The name of the sub folder created should match with the name of the theme you need to create and that name should be unique in the theme folder.
Keep a HTML document ready with you to develop a theme in WordPress and place the HTML file with its assets (CSS and JS) in the theme directory.
Breaking up the HTML template into PHP files.
This step involves creating four PHP files. We have to create index.php, header.php, sidebar.php and footer.php by breaking the HTML file into four parts using the HTML file and save them in the same theme folder. Create another file in the same directory style.css for styling purposes.
How these files work is shown below :
header.php : It contains the code for the header section of the theme.
Index.php : It is the main file and it contains the code for the “Main Area” and it will specify where the other files will be included.
Sidebar.php : It contains the information about the sidebar.
Footer.php : It handles your footer.
Style.css : It will handle the styling of new theme.


<title>My Theme</title>
<link href=”<?php echo get_template_directory_uri(); ?>/css/header .css” rel+”stylesheet” type=”text/css”/>
<script language=”javascript” type=”text/javascript”src=”<?php echo get_template_directory_uri(); ?>/jquery-1.8.3.js”></script>
<div id=”wrapper”>
<div id=”header”>


<?php get_header(); ?>
<div id =”main”>
<div id=”content”>
<h1>Main Area</h1>
<?php get_sidebar(); ?>
<?php get_footer(); ?>


<div id=”sidebar”>
<h2 >Sidebar Area</h2>


<div id=”footer”>

Now let us see what each of these files contains.
By calling a few below functions, you can fetch HTML template into index.php
1. To call header.php, use get_header()
2. To call footer.php, use get_footer()
3. To call sidebar.php, use get_sidebar()
4. To provide the full path of the theme directory to access the style sheet and scripts use function : get_template_directory_uri()
5. To show the title of the post use function : the_title()
Below WordPress predefined function is used to fetch the post in HTML theme.
This function is used to fetch all the contents and the titles of the posts, along with the time when these were posted. You then need to place the above code in HTML template accordingly and you are done!
Netrouting is committed to fulfil the mission critical IT demands for Web Hosting platform using the best hardware available, spread over multiple data centers to ensure the quality and availability of your blog and website. Netrouting utilizes a Cloud based infrastructure for offering its Web Hosting service. Redundant storage, daily backups and automated fail over is included with its packages. Get in touch with us now!

Set Up WordPress Blog in 30 Minutes

Nothing gives you as much freedom to express yourself as a blog, over the internet. Not much can be expressed through social media with character limitation and not everything can be added on to the website. So, if you have decided to go for a blog, the first thing you need to determine is the platform to choose! When in doubt, go where the pros go! The New York Times, NFL, Mashable, CNN, TechCrunch, TED and eBay all run their sites and blogs on WordPress.

WordPress is also an excellent choice as it is free and easy to use, simple to update and mobile-friendly. One of the main reasons of the popularity that WordPress enjoys is that it can be managed even with very little understanding of technology. WordPress is loaded with themes, plugins and features and it is very easy to set up a WordPress blog! In fact, you can set up a blog in 30 minutes flat! Don’t believe us? Scroll through the next steps to learn how to set up your WordPress blog in 30 minutes.

  • Before you can set up a blog, you would need two things in order to run a blog on WordPress:
    ( i ) Domain Name
    ( ii ) Server Hosting
  • Domain names can be purchased from a domain seller. A huge number of domain names with different extensions are available. Get the one which suits your need or if you need multiple domain names, you can even redirect them to one which you want.

After the names are purchased, you need to decide on your hosting service providers. Depending on your need you can select the hosting service packages. If it’s a new blog with zero traffic, then you could go for shared hosting which is a cheaper option. With time, once your traffic improves, you could move to virtual private server hosting or dedicated server hosting. You could even go for WordPress dedicated hosting which comes with pre-installed WordPress.


  1. 1. Go to https://www.netrouting.com/ and click on webhosting.

2. Select your domain name from here.

3. Now select the plan.


4. Suppose you selected the Starter Package. Click on Sign Up.


5. Select the domain name and fill the necessary information.


6. Click to Continue.

7. Complete the order to move to payment.


Once the WordPress is installed, now it’s time to install the themes which serves your purpose. You can find a huge collection of free themes on WordPress Themes Directory. If free themes don’t work for you, you could always go for paid themes. Once the theme is installed, you need to install plugins to make your blog function the way you want to.

Some of the popular and most widely used plugins are:

Aksimet : Removes spam comments

WordPress SEO by Yoast: Plugin used for the SEO process.

BackupBuddy : This plugin is used to take the backup of the site.

Gravity Forms : This is a very easy to use plugin and is used to create forms.

OptinMonster : It is a lead generation plugin.

Sucuri: WordPress security plugin : It is used to manage the security of a blog.

Floating Social Bar : Used to integrate social media sharing icons.

Disqus : It is a third party commenting system. Saves load on your blog and keeps it fast.

This setup is sufficient to start and run a successful blog on WordPress in less than 30 minutes.
Voila, now you have your blog ready to use! Connect with us on our social media channels to know more such stuff! Besides all this, if you want your blog to perform well, our suggestion is go with a reliable hosting partner. Netrouting is committed to fulfil the mission critical IT demands for Web Hosting platform using the best hardware available, spread over multiple data centers to ensure the quality and availability of your blog and website. Netrouting utilizes a Cloud based infrastructure for offering its Web Hosting service. Redundant storage, daily backups and automated fail over is included with its packages. Get in touch with us now!

How to Keep your WordPress Blog Safe from Spam and Malware?

The brainchild of Mike Little and Matt Mullenweg, WordPress is probably an undisputed superstar of the blogosphere. One of the easiest and simplest content management systems, WordPress is perfect for running a blog or a website or a combination of the two. As WordPress is browser-based, the site or the blog can be managed from anywhere. Adding content is also a piece of cake for WordPress users. No technical knowledge of HTML or FTP is required and anyone with an idea and an internet connection can create a blog.

With the rise to superstardom, security risks and loss of privacy come with the territory. Hackers and plagiarists flood the internet everyday looking for security vulnerabilities. If your blog is found vulnerable, anything from a virus injection to redirecting traffic to another site can be done. Although your blog may look like secured from outside, a small breach can have a domino effect and all your work may go down the drain. There are ways through which you can improve the security of your blog to make it less vulnerable to hackers’ attacks. Read on to know more:

Keep your WordPress site and plugins up-to-date

The best practice is to keep your WordPress themes, plugins and versions updated. It will not only keep your website secure from hackers and free from outdated software, the improved features, functionality and tools will allow your users to get more and ensure a high performing website with quicker functions and easier navigation.

Use strong passwords

There are some hackers’ software which can attempt up to 350 billion guesses per second for your passwords. This mind-boggling number is only believed to increase in future. Therefore it is critical to keep your passwords strong. Never use the same password twice and never share your passwords or share it through email or write it down. While handling your website on a public site, never save password or use ‘remember me’ option.

Keep your computer free of viruses and malware

If your personal computer is infected with virus or malware, chances of a hacker gaining access to your login details increases. Always keep your PC and laptops free of virus and malware with a good anti-virus program.

Limit access to WordPress Admin Area

It is essential to limit the access to WordPress to only a few people and even few IP addresses that way WordPress can limit the number of wrong log-in attempt to your website.

Consider multi factor authentication

Multifactor authentication blends two or more independent credentials creating a defensive layer and making it more difficult for an unauthorized person to log in. Even if one factor gets compromised, the attacker has one more barrier to cross before the website’s security is hacked. Enabling multi-factor authentication can considerably improve the website security.


While connecting FTP to FTP server, it is the best practice to use SFTP as using secured version of FTP can give another layer of protection to the website.

Ensure that your site is hosted on a reputed hosting Provider

Your WordPress website or blog is as secured as your hosting account. If your hosting platform can be compromised so can your blog or website. Choose a reputed Hosting provider with SSL certificate. Look for support for latest PHP and MySQL versions, firewalls, intrusion detection services among others.

Netrouting is committed to fulfil the mission critical IT demands for our Web Hosting platform using the best hardware available, spread over multiple data centers to ensure the quality and availability of your blog and website. Netrouting utilizes a Cloud based infrastructure for offering its Web Hosting service. Redundant storage, daily backups and automated fail over is included with all of our packages.


Advantages of Using a CMS to Run Your Site

Do you have state-of the-art computers, with best servers and cutting-edge tools, but still use the plain HTML to update the text of your website? You might be doing yourself a disservice. One of the best investments which you could make for your website and your business is investment in a content management system. Your website is the cornerstone and forefront of your business and you cannot take chances with it. Imagine a scenario where you need to update many things simultaneously on your website, it will be a difficult feat through traditional medium but a piece of cake for content management system.

In simple terms, Content Management System is a web-development tool within framework that lets you create, edit and update content with minimum or no programming skills. With a little bit of computer skills, like the knowledge of word processing programmes, a person can easily operate a content management system

The website is your main medium of communication with your customers and you need to ensure that the communication is timely and relevant. If you are bogged down by the technical details, you will not be able to put your best foot forward. A content management system combines power with simplicity, so you have the best of both world. Here’s a little smattering on the importance of content management system:

Easy for non-technical person – As stated earlier, a person with minimum computer knowledge of word processing programmes can easily learn and operate most Content Management Systems. It is especially important when it comes to adding new content as any writer without technical skills could handle CMS with no trouble.  Since, all users don’t have the same kind of comfort level with technology, it is difficult for people to grasp complicated programmes. With CMS, businesses don’t have to spend time training the new users as most CMS can be learnt in minutes, if not seconds, saving the businesses time and money which would otherwise would have been wasted training the new users.

It allows multiple users and simultaneous update – A Content Management System allows multiple users and simultaneous updates which is important if you have a content based website. A CMS allows managing and publishing authorisations thus allowing multiple people to work on the website without worrying about the overrides. Many CMS also allow content to go live on a stipulated time period set by you.

Easy site maintenance –The site management and maintenance is truly easy with CMS. Before CMS, if you needed to change any page or sitemap, you would have to trawl through all the pages, making changes on each to ensure that it appears fine on the website. But with CMS, all you need to do is go through components of the CMS and with a click of mouse, you can make the changes, without breaking the architecture of the website. With CMS, you can changes pages, designs, site-map, etc, without worrying about the adverse effect on the website.

Easier to Update – Before CMS, you would have to remember to update the website, but most CMS of today, provide alert facility wherein, alerts could be sent to editors when content needs to be updated, removed or reviewed. This keeps the website current and in good shape and prevent old data from presenting to the website viewers. CMS also reduces the publishing time, letting you broadcast content faster. One more advantage of easy usage of CMS is that you are most likely to publish more content simply because it is so easy to update.

Easy to manage content and workflow management – A decent CMS provides a workflow management system wherein content have glance view with the status of pages, whether it is live, being reviewed or kept in a draft. With this facility, it is easier to integrate a system with different authority to various people. For instance, you may want to review the content edited by a new-employee for a month. With CMS, you could provide edit-only authority to the person and live it yourself after reviewing the content. It is also easy to integrate content with the overall plan so that all your integrated efforts like marketing, content, etc. come together to create a brand presence.

Search engine-friendly – A content management system helps to optimize a website making it easier for search engine to crawl to your pages so that users can find the information effortlessly. Most CMS also allows the insertion of keywords and incorporation of other SEO practices like page titles, proper metadata, correct URLs, etc. into the website. With CMS, the website also loads faster.

Consistency in Design and Content – Since, CMS provides a suite of templates for editors, which can be used for different pages of the website, there is a consistency in design and content. When a template is edited for colour, designs and structure, it can be reflected to the whole website with a click of the mouse. With so many different options, it is easy to give a unique identity to each page while keeping the same structure and ‘voice’ of the website.

Archive capabilities – One of the most important functionalities which a CMS provides is archive capabilities. You can archive old content and may re-use it later if required. Unlike the old times, where you had to delete or remove the old content to add in the new content, CMS allows you to archive the non-relevant content..

More power to you! – CMS saves you two most previous things – time and money! It also gives you independence to update, edit, and delete content on your own. What more, it helps in accelerating development time, reducing build time as well as reducing the cost of keeping the website updated.

The importance of having a content management system for a website can never be stressed enough especially when it comes to commercial websites. From bespoke designs, easy to add content features, extensive functionality and affordability, a CMS is an ideal solution for most corporations. Invest in a content management system now, if you haven’t already done so!

Netrouting’s hosting solutions caters to webmasters who wants to use the full benefits of a content management system without any need to invest time in setting up the environment. We make this easy for you by providing one-click scripts that can spin up popular CMS like wordpress, joomla and magento in a matter of minutes.

How to Optimize Web performance for Best User Experience

The idiom ‘Variety is the spice of life’ has taken a literal meaning in today’s turbo-charged world. The wealth of choices we are faced with in current consumer world has made users fickle and impatient. Today’s users are constantly connected to internet and this continuous connection has only added to the impatience of a user. In the Internet era, there is no such thing as brand loyalty.  Or to put it more aptly, the loyalty is to the quality now. Users are increasingly demanding high quality experience and the only way a business can capture a user’s attention is by delivering a seamless, consistent experience to its users.

A fast and better performing websites invariably translate to better user engagement, frequent site visits and improved revenues.  Another reason why you should strive for a high performing fast website is that these websites are indexed faster by search engines and may appear higher in rank, giving you a competitive edge over others.  Learn more on how to improve your website’s performance and optimize it for best usage:


blog_in1 Caching in simple terms can be defined as the temporary local storage place for online content, including text, images and videos. It is one of the best ways to improve a page performance. Make use of browser caching by leveraging headers like “cache-control” for dynamic components and “never expire policy” for static assets.


Rendering Performance

blog_in2b It is very noticeable if the applications and sites do not run properly, therefore optimizing the rendering performance is very important. Optimizing the critical rendering path ensures that there is a significant improvement in the time to render pages. Understanding the critical rendering path better also helps in creating interactive applications for users.  Some ways through which you can ensure optimization is by avoiding complex layout and outline thrashing and streamlining paint complexity.


Optimizing Content Efficiency

blog_in3a In order to optimize the website, it is very important to leverage and optimize each byte including the content. Ensure that your content is optimized to improve the efficiency of your website.

Optimizing Images

blog_in4a Images occupy a substantial volume of optical space and account for most of the downloads from the websites. Optimizing images can result in drastic performance improvements. It can even reduce operational costs by decreasing storage space requirement and reduced hosting costs. Do a careful analysis of the requirement of optimal settings for your images and optimize them for best performance. 

Compress Images and Texts

blog_in5 The website is made up of so many components and many of them like images and content can be compressed to optimize a website. It helps in saving storage space and decreasing load time. There are many websites which specialize in providing page tests letting you know the best objects from your site which can be compressed and also optimize the website for you.


Netrouting is a forerunner in providing CDN based solutions. It offers CDN based solution for multi-location content serving as well as bespoke E-commerce environments such as Magento with Nginx/Varnish Driven setups. Backed by a team of specialists, Netrouting enables a seamless internet experience by distributing content to end users with low internet latency, reducing processing overhead, optimized and secure content, improved performance and maximized return on investment. Providing high quality web, virtual, colocated and dedicated hosting services with a efficient, seamless 24/7 customer support, Netrouting acts as your global internet backbone.

Similar to how a relatively clean home requires less time in cleaning, a clean and organized website needs less time in loading. Optimizing a website in today’s world is fundamental as a web performance is an essential part of a user experience, avoiding which can be detrimental to one’s business.

Our valued customers

What customers say about Netrouting

Read more about what our customers have to say about Netrouting on TrustPilot.

Netrouting Miami Data Center

Take a virtual tour of our Miami Florida category 5 hurricane protected facility.

Do you have any questions?