fbpx

Get Current Page Slug WordPress

There are several ways to get the current page’s or post’s slug in WordPress. Most simply, a post’s or page’s slug can be retrieved by accessing the global post object’s post_name property. The first method shown below accesses that post_name property within the $post variable while the second option below uses the get_post_field method. Both…

Creating WordPress RSS Feeds for Custom Post Types

In addition to creating WordPress RSS feeds for categories and tags, RSS feeds for search results, RSS feeds for comments, and RSS feeds for authors, you can also create RSS feeds for custom post types. This is super simple. In order to do this, simply use the URL structure below: You need to replace custom_post_type…

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: 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 we…

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: But, if you only want comments associated with a certain WordPress post, you would use the URL structure below. All Post…

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: So, if I only want to show posts by Walt Whitman, I would use the RSS feed URL shown below: What can I do with WordPress RSS Feeds of authors? If you…

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…

Modal Madness Version 1.0

Modal Madness is a free WordPress plugin that allows you to add many different types of modals or popups to your WordPress website. Modal Madness Version 1.0 and 2.0 allow you to add an image, video, or a custom HTML popup to your Salient powered WordPress website. Specific Modal Madness Version 1 Documentation is provided below:…

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: Then, when…