Php
Martech Zone articles tagged php:
-
Email Marketing & Automation
Mailchimp: Streamlining Customer Communication with Transactional Emails (Formerly Mandrill)
Transactional emails are automated, one-to-one messages triggered by user actions or behaviors. Examples include welcome emails, password reset requests, order confirmations, order status updates, and shipping notifications. These emails are essential for maintaining customer communication and providing timely updates related to their interactions with a service or product. To comply with CAN-SPAM laws and best practices, transactional emails must: Not…
-
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…
-
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…
-
Content Marketing
WordPress: Build a Modal To Dynamically Populate From A Custom Post Type Using Ajax
One of the major projects that I’ve worked on in the last year is building out an acronym library using a custom post type (CPT) on Martech Zone. I’ve defined over 1,000 marketing, sales, and technology-related acronyms on the site! It’s been quite popular and drives much engagement with readers and search engine referrals. While I’m happy with the engagement,…
-
Content Marketing
WordPress: Add a Shortcode To Display Today With Optional Formatting and Calculations
The power to dynamically display content allows WordPress users to create more engaging, up-to-date, and relevant user experiences. One handy application of this dynamic capability is using shortcodes to insert custom content into posts, pages, and widgets. This article introduces a custom shortcode to display the current date and time and even calculate date adjustments, all formatted according to your…
-
Content Marketing
WordPress: Stop Updating Years On Your With This Shortcode To Calculate Years Since
One of the best features of WordPress as a content management system (CMS) is Shortcodes. The flexibility to program dynamic content using shortcodes can help you deploy robust and incredible sites. Shortcodes are substitution strings you can insert into your content that renders dynamic content. I’m helping a client this week where they’re taking one of their products and rolling…