Functions.php
Articles Tagged functions.php:
-
Content Marketing
How to Add Featured Images to Your WordPress RSS Feed Using Functions.php
RSS feeds are a crucial tool for content distribution, especially for marketers looking to syndicate their blog posts, improve discoverability, or automate email newsletters. However, by default, WordPress does not include the featured image in RSS feeds, which can make your content less visually appealing when it appears in RSS readers or third-party platforms. In this article, we’ll show you…
-
Content Marketing
WordPress: Add Featured Image and a Sortable Last Edit Date To WordPress Admin
We’re launching a new WordPress site I designed and developed at my company. Having developed and deployed hundreds of WordPress sites, I always install some essential plugins and make customizations to manage the site more effectively. One example is the admin panel’s page, posts, and custom post type (CPT) lists. I like ensuring each entry has a featured image, and…
-
Analytics & Testing
WordPress: How To Append A UTM Campaign Querystring To External Redirects
Martech Zone is often a pass-through site where we connect our visitors with products, solutions, and services available through other sites. We don’t ever want our site utilized as a backlink farm by SEO consultants, so we’re pretty careful in the content we accept and how we redirect our visitors. Where we can’t monetize an external referring link, we avoid…
-
Content Marketing
WordPress: How To Redirect All RSS Feeds To One Destination
While reviewing Google Search Console, one issue that I kept encountering was URLs ending in /feed/ causing issues. While it’s pretty ingenious of the WordPress CMS to add RSS feeds to every bit of content – posts, tags, categories, comments, etc. – the feature is unnecessary. It produces a ton of internal paths for Google to crawl that have no…
-
Content Marketing
WordPress: How to Remove and Prevent Line Feeds and Carriage Returns in Titles
You may have encountered line feeds or carriage returns inserted into the post titles when creating or editing in WordPress. These extra characters can cause formatting issues and make your titles appear inconsistent. In this article, I’ll provide two methods to remove line feeds and carriage returns from your WordPress post titles: a MySQL solution to fix previously written titles…