Blog

Tips, tricks, and other valuable WordPress and web technology knowledge to save you time and make you money!

Blog

Creating WordPress RSS Feeds for Search Results

In order to create a WordPress RSS feed for search results, you need to simply use the URL format shown below: http://example.com/?s=searchterm&feed=rss2 This enables you to get all search results related to a certain search term. For example, some of our users may be particularly interested in a gutenberg related post but at the moment…

Create Automated Email Newsletters with MailChimp and WordPress’ RSS Feed

We wanted to create an automated email newsletter for our WPLauncher blog readers. We wanted this automated email newsletter to send emails to our subscribers on a weekly basis with all of the newly added post in a certain category. We put together this post to show you the 6 steps involved in the process…

Creating WordPress RSS Feeds for Comments

To find or create a WordPress RSS feed of all of a site’s comments or all of a post’s comments, you simply have to use RSS Feed URL structure shown below: All Site Comments: http://example.com/comments/feed/ But, if you only want comments associated with a certain WordPress post, you would use the URL structure below. All…

Creating WordPress RSS Feeds for Authors

To create a WordPress RSS feed of all posts associated with an author, you simply have to use RSS Feed URL format below: http://example.com/author/authorname/feed/ So, if I only want to show posts by Walt Whitman, I would use the RSS feed URL shown below: http://example.com/author/walt-whitman/feed/ What can I do with WordPress RSS Feeds of authors?…

Creating WordPress RSS Feeds for Categories and Tags

You can find or create a WordPress website’s RSS feed to do a number of things, including sending out automated email newsletters. Below, we show you how to find or create WordPress RSS feed URLs based on the category of posts on your website or the tags of posts on your website. However, you can…

Capitalize First Letter in a String with JavaScript

In creating a function for a client, I ran into an issue where I wanted to capitalize the first letter in a string with JavaScript, or in other words, uppercase the first letter in a string with JavaScript. The solution is quite simple, all you need to do is use the following function: function capitalize(word){…

Error Establishing a Database Connection

I ran into this error while working on a client site the other day. The steps that I took to solve the issue included the following: Step 1: Check if you can connect to the database in another way Sometimes you may be able to connect to the database via the command line using the…

Check if a String Contains a Specific Word PHP

If you would like to check if a string contains a specific word in PHP, you have a couple options, but, we tend to prefer PHP’s strpos function. If the needle is not found in the haystack, strpos returns false. If the needle is found in the haystack, strpos returns the position of the needle…

Show All Errors PHP

In order to show all errors in a PHP file, you simply need to add the following two lines to your PHP file. Then, PHP will start to throw the error messages back to you, making debugging infinitely easier. Make sure to remove these lines when you push your PHP file to production, as it…

JavaScript isset() Equivalent

If you are familiar with PHP’s isset() function, you know that it is used to determine if a variable has been set and is not NULL. If you do not use the isset function, you risk throwing a PHP error saying that the variable is undefined. The isset() equivalent in JavaScript is the following code:…

Want to use our API?

Sign up below and we'll let you know when it's available for you to start your own WordPress hosting company.