INNOVATIVE AND STIRRING WORDPRESS 4.1

INNOVATIVE AND STIRRING WORDPRESS 4.1

The WordPress 4.1 is coming up with innovative and stirring features. Those features vary from the introduction of new UI elements, and modes in the dashboard, to  the query API and performance enhancements — sure you must be excited about these new features.

Let’s see what we can get excited about…

THEME RELATED NEWS

A new default theme for wordpress is being introduced: “Twenty Fifteen”. It is designed stunningly and turns well with the whole direction of WordPress internationalization. It uses Google’s Noto Serif and Sans fonts which support many languages, so that there is no need to adjust fonts for your language (a well-known problem for users who publish in languages with non-latin alphabets).

twenty fifteen

If we talk about features, the theme has options such as custom header and custom background, ability to set color schemes, and built-in support for popular social buttons. You just need to create a menu in the native WordPress interface to have these icons appear on your site.

Theme developers will find interesting new tools in 4.1: The Custom Customizer Controls API permits you to register and extract your own controls in Customizer sections for better theme option management. Now you can use JS templates to render custom controls on the client without any server-side calls.

Another new feature has been introduced in wordpress 4.1 i-e “Template Tags”. It is used to make working with navigation easier in templates. Many themes include support for plugins such as WP-Page-Navi to simplify the creation of paging, because native functions like paginate_links are sometimes tricky to use. You don’t need to do that anymore, there are new template tags in WP 4.1 to address the issue:

  • thepostnavigation – should be used in the single post template to create next and previous post links;
  • thepostsnavigation – should be used in archive templates to create links to next and previous archive pages;
  • the_pagination – numbered paging links for archives, the implementation of which can be seen in the Twenty Fifteen theme.

lang-pack-ui

Beginners who recently join wordpress community often experience difficulties to align images in the WordPress post editor. Since 4.1 users will have a floating panel in Visual mode to make things more natural.

img-edit

Login sessions were implemented in 4.0 and they are going to have management UI in settings. Users can review what sessions they have on different devices and log out if necessary.

session-ui

FOR DEVELOPERS

Developers may welcome the advances for _Query classes that permit nested questions to be built based on taxonomy, metadata and date. For example, let’s suppose that you have posts with ‘city’ and ‘state’ metadata, and you want to raise all items that match eithercity=Miami&state=Ohio or city=Augusta&state=Maine. The syntax should appear like this:

The same functionality exists for the taxonomy query and date query with additional bug fixes, a complete record of which can be seen here.

Another  ‘big’ and widely discussed change is the starter of shared terms — which means that you can have two terms with the same name and slug belonging to different taxonomies. The goal is to handle the case when alterations in one set of shared terms don’t affect other terms. Term splitting is still in beta versions but may be removed from the final release in the case of negative feedback. So theme and plugin developers are heavily fortified to test their products thoroughly.

The Kubric theme set the practice of outputting the content of <title> tag with the addition of some custom code. Because there is no consistency in such an approach it leads to problems for users when they would like to use SEO plugins or have complex structure in their titles. Now things are going to change with the introduction of the ‘theme support’ approach to output the <title> tag.

By declaring support like this, themes acknowledge that they are not defining titles on their own and WordPress (or a plugin) can add it safely without duplication. More details on backward compatibility can be found here.

In addition to all these prodigious things the recent beta contains all security fixes that were introduced in the 4.0.1 upgrade.

 

 

 

 

Share this post

Leave a comment

Your email address will not be published.