• Design
  • SEO
  • Portfolio
  • Why Choose Us
  • Blog
  • Contact
  • Facebook
  • Google+
Precise Online ManagementPrecise Online Management
  • Design
  • SEO
  • Portfolio
  • Why Choose Us
  • Blog
  • Contact
  • Facebook
  • Google+

Syntax Highlighting is Finally Here!

WordPress Syntax Highlighting in Editor

Syntax Highlighting is Finally Here!

November 17, 2017 News

WordPress 4.9, “Tipton”, has finally implemented a much sought after feature, syntax highlighting. What this does is to color code certain attributes in the PHP, Javascript and CSS files. For instance, a CSS id (such as #footer), has a highlight color of dark blue. A property of #footer, like margin-left, is solid black. The value of that property, let’s say 15px, is highlighted in another color, green. This makes it easy to distinguish the different parts of a CSS file so that you can locate the section you are wanting to edit.

Another feature of syntax highlighting is having line numbers in the editor. When using a tool such as Chrome’s element inspector to detect errors, you’ll notice it has its’ own syntax highlighting. This tool shows you the problem file and the line number in that file. This makes it very easy to go into the WordPress theme or plugin editor and pinpoint the exact location of the problem. Of course, if you are directly editing a theme or plugin file you run the risk of having any changes or fixes wiped out upon updating that theme or plugin. There is a warning indicating as much the first time you visit the editor after installing “Tipton”. You can either create a child theme, contact the author, or make note of the changes you have made in case of future updates.

Previous to version 4.9, plugins such as WP Editor and Advanced Code Editor provided similar features in regards to syntax highlighting of theme and plugin files. My preferred plugin was WP Editor for the longest time. However, it has not had any updates for over a year and there is a conflict with another plugin I frequently use, WP Bakery (formerly Visual Composer), which would not allow for saving of any changes when updating a post or page.

Comparing Before and After Syntax Highlighting

Check out the screenshots below to see the difference between WordPress’s basic editor versus the new and improved editor. While it is not a groundbreaking feature, as the aforementioned plugins provided a similar experience, it is a much-welcomed inclusion into the core WordPress package. While nothing can compare to what I find to be the ultimate code-editing / syntax highlighting program, Notepad++. The fact that you can now quickly edit code, without having to FTP or install additional plugins, saves an abundance of time when troubleshooting.

WordPress basic theme editor
Previous to WordPress 4.9, there was this basic no-frills editor

WordPress syntax highlighting editor
Behold the glorious new and improved theme & plugin editor!

Other Notable Features in WordPress 4.9

Aside from the editor update, there are a couple of other nifty features as we approach WordPress 5.0. Design workflow has received an overhaul. While we haven’t personally tested these new design features, they certainly look like they will make updating a website design a smooth process. Especially for firms that have a team working on design updates.

Design workflow changes include:

  • Design Scheduling – You know how you can schedule a post for a certain time and date? Well, now you can have design changes scheduled. No more needing to stay up until the wee hours of the morning to go live with your new design.
  • Design Preview – If you’re worried about feedback from customers or visitors, you can share a preview link of the new design before it goes live.
  • Design Locking – How frustrating is it after making multiple changes to a page, to have another team member make their own changes and wipe out everything you did prior? With design locking, you’re assured that when you’re editing, it is impossible for a colleague to overwrite your work.
  • Add Media to a Text Widget – With the click of a button you can add images and other media into a text widget. Sure, the good old-fashioned typing in embed codes still works but this certainly simplifies the process.

There are other features as well and if you wish to read about them you can do so here. Obviously, we’re most excited about the syntax highlighting, but overall not a bad update from the WordPress team. WordPress 5.0, scheduled for a 2018 release date, should bring along with it major improvements and features. Until then, happy code editing!

0 0 votes
Article Rating
Tags: CSSPHPSyntax Highlightingwordpress
Share
0

About Ryan Faucher

Owner-operator of Precise Online Management. I also manage Kettlebell Krusher, a website dedicated to all things kettlebell as well a blog for my weight loss progress.

Subscribe
Notify of
guest
guest
0 Comments
Inline Feedbacks
View all comments

Categories

  • News
  • Niche Dreams
  • Reviews
  • Security
  • SEO
  • Tips

Recent Posts

  • 9 Benefits of Social Media for Your Organization
  • Advantages of Having Marketing Research Samples
  • Link Building Services: How To Find A Trustworthy Provider
  • SAS Affiliate Review and Tips for Affiliate Marketers
  • Comparison Of The Best Link Indexing Service Features & Benefits

Archives

  • January 2022
  • January 2021
  • October 2020
  • September 2020
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020
  • February 2020
  • January 2020
  • December 2019
  • November 2019
  • September 2019
  • August 2019
  • July 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019
  • February 2019
  • January 2019
  • December 2018
  • November 2018
  • October 2018
  • September 2018
  • August 2018
  • July 2018
  • June 2018
  • May 2018
  • April 2018
  • March 2018
  • January 2018
  • December 2017
  • November 2017
  • October 2017
Ready to get started? Pick and choose your website and / or SEO services Order Services

© 2023 · Precise Online Management, LLC.
This site is owned and operated by Ryan Faucher

  • Visit Us on Facebook
  • Visit Us On Google+
Prev Next
wpDiscuz
X
WEB DESIGN SPECIAL PRICING - Over 60% off design packages through Fiverr
See Details