How to Use AJAX in WordPress to Load Search Results

AJAX is a very powerful and flexible tool that allows developers to create more streamlined applications. It can be used for a wide range of purposes such as verifying login credentials or loading content. The main benefit of AJAX is that it is asynchronous; the whole page does not need to be reloaded in order for it to receive new data.

WordPress is well-equipped for AJAX, it has a great mechanism for working with it allowing you to implement AJAX functionality with little fuss. In this article I’ll take you through the basics of AJAX and create a very simple extension that pulls in search results using AJAX in Twenty Fourteen.

AJAX

Read more »

Boost Engagement By Prioritizing Comments On Your WordPress Site

WordPress authors crave comments. They tells us that someone felt strongly enough to take time out to share their thoughts – complimentary or otherwise.

The problem is that a single comment in the wrong place can undermine all your good work. Wouldn’t it be good to be able to put those comments that enhance your post front and center and hide those that don’t?

In this post I’ll show you how to take control of your comment lists so that they work for your WordPress site and not against it and make engagement easier by moving that comment form to the top of the comment list.

Featured image

Read more »

Slideout Your WordPress Comments Just Like The New York Times

Sitting comfortably in the top 50 visited US sites, The New York Times probably knows a thing or two about delivering a decent user experience to its millions of visitors.

Their handling of comments is one example. Removing them from the page flow and placing them in a slideout sidebar is certainly not conventional, but it works. Brilliantly. And solves plenty of comment-related issues.

So, let’s engage in the sincerest form of flattery and bring slideout, New York Times-style commenting to your WordPress site.

Screengrab of the slideout comments

Read more »

Turn Your WordPress Comments into Forum Posts for More Engagement

Unless a site is massively popular with lots of comments on nearly every post, leaving a comment on a post can feel a little lonely.

Single posts tend to feel a little walled off from everything else. Once you leave a comment on a post, you may feel like browsing around and finding another post to read, but you don’t typically get the impression that you’re in the middle of thriving discussion.

That’s where forums can excel.

Although a forum thread is also walled off to degree, you’re always only one click away from lots more discussion.

featured-forum

Read more »

How To Have Paragraph Commenting Just Like Medium

Paragraph commenting, or annotations is not exactly new. Readers have been scribbling in the margins of books, magazines and uni assignments for years.

The online world has been slow to adopt this approach which is perhaps why Medium caused a stir and no shortage of admiring looks when it went the annotation route.

Well, admire forlornly no more because I’m going to show you how to add paragraph commenting to your WordPress site.

Photo of a manuscript with a note in the margin

Read more »

How to Make New Comments Appear First in WordPress

On this the first day of a new year, it only seems appropriate that we talk about things that are new and first, and not only that, but new things that are first.

What we’re talking about, of course, is making new comments first on your WordPress site.

By default, the oldest comments on a post are placed at the top (i.e. first).

If you would like to reverse that, it’s easy to do (even though you might not know that by searching in Google – which seems to mostly return old, difficult, and messy solutions).
Now Built In!

in-line-800px

Read more »

How To Add Flexibility To WordPress Comments Options

When it comes to managing comments in WordPress, the only option at a site level is a big on/off switch which, of course, only works for new posts and pages.

More likely you want more granular control than that. Perhaps you want to switch off comments for pages or but leave them on for standard posts. Or maybe, you’ve spent a great deal of time and effort seeding your site with content only to discover that you forgot to turn off comments and now you’re faced with going through each page and switching them off manually.

In this week’s Weekend Project, we’ll look at how, with minimal effort, you can take control over comments not just for future content but also for existing content.

The built-in WordPress comment settings are little more than a global on off switch

Read more »