WordPress REST API now in core WordPress 4.4

David Nash wordpress Leave a Comment

Oh no, Acronyms! Or as I like to say, ON,A! What is REST? It’s a contract of REpresentational State Transfer. What is an API? An Application Programming Interface. So what does all this mean? It means that you can use HTTP to send and receive data to web servers. HTTP is HyperText Transfer Protocol, but let’s keep this simple. Usually when you access websites, your browser sends GET requests to the web server. If you fill out a form it will often be a POST requst (because you’re posting data to it). “But WordPress is has always been a web-based system” I …

WordPress powers a quarter of all websites

David Nash wordpress Leave a Comment

W3Techs collect statistics on web servers, and recently reported that WordPress now runs on 25% of all web servers. On hearing this news, Matt Mullenweg said “Only 75% to go”. And that’s not all. They say “We have indicators that show that WordPress is likely to grow even further. In October, 29.5% of new sites used WordPress. New sites usually show the way where the whole market is heading to.” Why is this important? With so many people using WordPress, it’s likely that whatever unique thing you’d like to do has already been done before. There’s a good chance that …

Tracking Contact Form 7 events with Yoast and Google Analytics

David Nash wordpress 1 Comment

I discovered this while setting up Google Analytics when I recently re-launched my site. I’m using the very popular WordPress plugin Contact Form 7 for a nice AJAX contact form. I’m also using the equally popular Google Analytics by Yoast (GAbY) WordPress plugin. Google Analytics shows which pages users are viewing. I want to drive users to contact me, and I’d like to get information on how many people are doing that. But because it’s an AJAX form (ie, submits the data via Javascript), Google Analytics doesn’t register an additional page view. You have to “tell” it to do that. At first I …

Finding beautiful images for your WordPress posts

David Nash content generation, wordpress Leave a Comment

Humans are visual creatures. If there’s a nice image to go along with your words, people are more likely to read them. We can look at an image and very quickly judge whether the article is worth reading. However there’s a problem – copyright. Photographers work hard to create their images and most would like income for them, and get understandably upset when you download them and use them on your post without crediting them. Fortunately there are some photographers who aren’t in it purely for the money. They’ll allow you to use their images as a way of getting publicity. …

Distraction free writing mode and proof reading in WordPress

David Nash General Leave a Comment

These are two features that I love, and I think WordPress is much better because of them. Distraction free writing This hides everything except the title field and the content box. It really makes a difference – WordPress feels much more like a word processor. When you move your mouse out of the content box, all the options appear again. To enable it, click screen options in the top left: Then click this button at the top left of the content editor: The menus and other items fade out, and you’re left with a clean, open environment ready to be …

Why WordPress sucks

David Nash wordpress 33 Comments

Why would I say such a thing? I’m a WordPress developer! Here’s the thing: I’m a realistic WordPress developer. I think it’s more important to know the things that are wrong with something you love so that you can work around with them. When I say WordPress sucks, what I really mean is that it’s the best, but nothing is perfect. It’s not a real CMS It’s really good for creating post and page content. But if the site you’re creating needs a gallery of team members, each with a bio, and displayed in various ways around the site, it’s a pain. You’d need …

Five confusing things about WordPress terminology

David Nash wordpress Leave a Comment

1. WordPress Designer vs WordPress Developer A designer generally creates how the site looks, a developer takes the design and turns it into the final website. There’s overlap – many designers can write code, and many developers can design. It’s very rare to find someone who’s good at both. I’m good at taking an existing design and extending it, but it takes me a lot of time to come up with an original design from scratch. 2. Pages vs Posts Pages are what make up the core of your site – the front page, the about page, the contact page for …

Why you should use WordPress for your business (or your Justin Bieber blog)

David Nash wordpress Leave a Comment

The answer to this is also the answer to why I am a WordPress developer. And the most important answer is either genius or idiotic: market share. W3Tech collects statistics on CMS market share. According to W3Tech WordPress currently has 58.6% of the market share of CMSs. The next most popular CMS is Joomla, at 6.6%. It only goes lower from there. WordPress.com also has some nice graphs. And some astounding figures – 409 million people view more than 20.4 billion pages… EACH MONTH. Why is market share important? Because WordPress is an open-source technology, anyone can view the code and anyone can contribute. …

Website refresh

David Nash wordpress Leave a Comment

Yes, it was well overdue. I got so busy with work that I started to forget about my own site, which I put together pretty quickly in the first place. I finally found the time and energy to revamp it. Now that it’s here, I wonder why I didn’t do it earlier. I couldn’t be more pleased. I feel like I finally have a site that not only presents me well, but is also a good demonstration of how my skills as a humble Sydney WordPress developer have progressed. One thing is missing though – updated content for my badly neglected …

Generate WordPress Shortcodes

David Nash wordpress Leave a Comment

I just discovered this and will definitely be using it as a way to make content editing a little easier for clients: Generate WordPress Shortcode Fill out the fields and it generates PHP that you can paste into your theme’s functions.php file. It then gives a WordPress author an easy way to add special code to the content – on the current project I’m using it to make it easy to insert a variety of download links with different icons into the content using just a shortcode.