Category: Snippets

WordPress How To Bulk Delete Users Using MySQL Query

In rare situations, you may find that you need to manually delete users from your WordPress website using phpMyAdmin.  We recommend that you first try… View More

WordPress Adding Pagination To Category Archive Page Listings

To display paging on the bottom of your category (taxonomy) listings which are displayed using the archive.php page, add the following code where you would… View More

Stop WordPress From Automatically Installing New Themes

When a major WordPress update is released and installed on your website, the update also installs the lastest version of a default theme (they’re always… View More

Amazon Native Ads Trigger Issues In Lighthouse

Here is a snippet to use if you are receiving warnings regarding Accessibility and Best Practices when running a Lighthouse test in Chrome Dev (F12)… View More

WordPress Modal Media Uploader Not Displaying Properly

In the event the modal window that displays WordPress media uploader stops working properly, displays at the bottom of your content, or is display CDATA… View More

Show A Different Theme For Admin Without A Plugin

Switching to a different theme as Admin is a convenient way to create a new theme or edit an existing theme without having to take… View More

Removing WordPress Attachment Image Width Size Attributes (Responsive Images)

If you are creating your own theme and notice that image attachments, specifically those with captions, are not responsive it is because the image width… View More

How To Display Conditional Login Or Logout Links In WordPress

  In this example, we’re adding custom conditional links to a mega menu depending on whether the user is logged in or not, and adding… View More

WordPress wp_link_pages Pagination Examples

1 2 3 4 5