Wordpress Api
Martech Zone articles tagged wordpress api:
-
Search Marketing
WordPress: Dynamically Redirect an AMP Page To Non-AMP When Unsupported
I have AMP loaded on my site and have seen a nice stream of AMP visits from Google. While I’m not a huge fan of AMP, it does seem to garner quite a bit of attention from search engines. My theme supports AMP in posts (or custom post types that are a post type) but doesn’t support AMP on a…
-
Content Marketing
WordPress: How to 301 Redirect Pagination Pages to the Parent URL
It may be anecdotal, but I’m finding that Google Search Console is becoming more comprehensive in its reporting. So much so that I’ve begun to lean on it more and more… especially to identify pages not found on the site that might negatively impact search rankings. My site’s theme incorporates an approach where visitors can click load more if they’d…
-
Analytics & Testing
How To Use Google Analytics 4 Events to Track Category Popularity in WordPress
Category popularity can help you understand what content your audience finds most engaging. Tracking this data can help you tailor your content strategy and enhance user experiences. Google Analytics 4 (GA4) offers powerful event tracking capabilities, enabling you to monitor your WordPress website’s category views. In this article, we’ll explore how to implement event tracking to measure the popularity of…
-
Content Marketing
WordPress: How To Add A Modified Date Column To Your Posts View And Make It Sortable
If you’ve been a long-time reader of Martech Zone, you have likely noticed the work I’ve been doing to remove outdated articles and update articles that are popular but outdated. When working within my posts page in WordPress admin, I filter the view significantly to identify articles to delete or update. One of the fields that I needed was the…
-
Content Marketing
Customize Your WordPress Feed With A Featured Image and Copyright Statement (Pre and Post Content)
One interesting thing about WordPress is that the featured image has never been incorporated into the RSS feed. This is a bit unfortunate, as selecting or designing the featured image can draw much attention to an article. Prepend Content To The Posts In Your RSS Feed To prepend the featured image to your content isn’t too difficult. Here’s the code…
-
Content Marketing
WordPress: How To Sort Your Custom Post Type Posts Alphabetically
With the new theme (and child theme) I’ve implemented on Martech Zone, I had to rebuild and recode the custom post type I built for Acronyms. I optimized the code to insert some additional custom fields and I’m having to redesign the archive and taxonomy templates to better display the acronyms listed. In my last theme (whose developers discontinued support),…
-
Content Marketing
WordPress: Dynamically Include JavaScript or PHP Using the Post ID
One of the efforts that I’ve really been working on this year on Martech Zone is providing some simple web applications that are helpful to our visitors. There’s some basic development behind these that include both PHP and JavaScript (mostly jQuery). With WordPress, there’s not a really convenient way to write pages or posts with the specific code that you…