<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Dagemawi Alemayehu</title>
    <description>The latest articles on DEV Community by Dagemawi Alemayehu (@dagemawi_alemayhu_3aa4fbb).</description>
    <link>https://dev.to/dagemawi_alemayhu_3aa4fbb</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4269801%2F37007398-acba-43f3-a1c7-154b678f6aa6.png</url>
      <title>DEV Community: Dagemawi Alemayehu</title>
      <link>https://dev.to/dagemawi_alemayhu_3aa4fbb</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/dagemawi_alemayhu_3aa4fbb"/>
    <language>en</language>
    <item>
      <title>How to Find Pages Using a Contact Form 7 Shortcode</title>
      <dc:creator>Dagemawi Alemayehu</dc:creator>
      <pubDate>Sat, 28 Nov 2026 00:06:41 +0000</pubDate>
      <link>https://dev.to/dagemawi_alemayhu_3aa4fbb/how-to-find-pages-using-a-contact-form-7-shortcode-2gjo</link>
      <guid>https://dev.to/dagemawi_alemayhu_3aa4fbb/how-to-find-pages-using-a-contact-form-7-shortcode-2gjo</guid>
      <description>&lt;p&gt;If you’re replacing or deleting a Contact Form 7 form, first find the WordPress pages where it’s embedded. &lt;strong&gt;Start by copying the form’s shortcode, then look for occurrences of &lt;code&gt;contact-form-7&lt;/code&gt; and verify the form ID in each result.&lt;/strong&gt; A shortcode match tells you where Contact Form 7 is referenced; the ID tells you whether it’s the specific form you plan to change.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Find the Contact Form 7 shortcode and form ID
&lt;/h2&gt;

&lt;p&gt;In WordPress, go to &lt;strong&gt;Contact → Contact Forms&lt;/strong&gt; and find the form you want to check. Copy the shortcode shown beside it. A shortcode looks like this:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;[contact-form-7 id="abc1234" title="Request a Quote"]&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;This is an example; use the &lt;strong&gt;actual ID&lt;/strong&gt; shown on your site. Don’t rely on the title alone: two forms can have similar names. The &lt;a href="https://contactform7.com/admin-screen/" rel="noopener noreferrer"&gt;Contact Form 7 admin screen guide&lt;/a&gt; shows where to find the shortcode.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Search WordPress pages for the shortcode
&lt;/h2&gt;

&lt;p&gt;Go to &lt;strong&gt;Pages → All Pages&lt;/strong&gt; and try searching for &lt;code&gt;contact-form-7&lt;/code&gt; as a first pass. Open any likely matches and inspect the &lt;strong&gt;Shortcode&lt;/strong&gt; block or page content. If the site uses a page builder, open the page in that builder and inspect any shortcode or form widgets. Compare the &lt;code&gt;id&lt;/code&gt; in each embed with the one you copied.&lt;/p&gt;

&lt;p&gt;A page search is a starting point, not a complete inventory. If a form is embedded with the &lt;a href="https://contactform7.com/faq/how-can-i-add-a-contact-form-into-my-post-content/" rel="noopener noreferrer"&gt;Contact Form 7 block&lt;/a&gt;, inspect the form selected in the block rather than looking for a literal shortcode. Also check shared templates, reusable patterns, or widgets if the form appears on multiple pages. Some builders or themes keep embeds outside the main page content.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Use UsageRay to find candidate pages faster
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;With &lt;a href="https://wordpress.org/plugins/usageray/" rel="noopener noreferrer"&gt;UsageRay&lt;/a&gt; active, open &lt;strong&gt;Plugins → Installed Plugins&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Find usage&lt;/strong&gt; beside &lt;strong&gt;Contact Form 7&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Look under &lt;strong&gt;Shortcodes&lt;/strong&gt; for &lt;code&gt;contact-form-7&lt;/code&gt;, then open the linked pages. Compare the form ID on each page if you’re looking for a specific form.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;In the demo, this scan found the Contact Form 7 shortcode on &lt;strong&gt;Request a Quote&lt;/strong&gt; and linked directly to the page editor. Scanning didn’t modify the page or deactivate the plugin.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fbcn6zblrz6jqqfbp3e6n.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fbcn6zblrz6jqqfbp3e6n.png" alt="UsageRay identifies one use of the Contact Form 7 shortcode and links to the Request a Quote page" width="512" height="173"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;For the full demo, see the &lt;a href="https://dev.to/dagemawi_alemayhu_3aa4fbb/how-to-check-where-a-wordpress-plugin-is-used-before-deactivating-it-7ll"&gt;UsageRay Contact Form 7 walkthrough&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Before you replace or remove the form
&lt;/h2&gt;

&lt;p&gt;Write down each location you confirmed. On a staging copy, replace the form and check that it still renders and accepts a test submission using a safe test setup. If you found nothing, review &lt;strong&gt;Scan Coverage&lt;/strong&gt; and check any templates or integrations you couldn’t verify. &lt;strong&gt;No label or search result can prove a form is safe to delete.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;If this is part of a broader cleanup, use the &lt;a href="https://dev.to/dagemawi_alemayhu_3aa4fbb/wordpress-plugin-audit-checklist-for-an-inherited-site-3dd2"&gt;WordPress plugin audit checklist for an inherited site&lt;/a&gt; to record decisions and test one change at a time.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Disclosure: This guide was drafted with AI assistance. The screenshot is a real capture from the Contact Form 7 demo site.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>wordpress</category>
      <category>tutorial</category>
      <category>webdev</category>
    </item>
    <item>
      <title>WordPress Plugin Audit Checklist for an Inherited Site</title>
      <dc:creator>Dagemawi Alemayehu</dc:creator>
      <pubDate>Sat, 28 Nov 2026 00:03:50 +0000</pubDate>
      <link>https://dev.to/dagemawi_alemayhu_3aa4fbb/wordpress-plugin-audit-checklist-for-an-inherited-site-3dd2</link>
      <guid>https://dev.to/dagemawi_alemayhu_3aa4fbb/wordpress-plugin-audit-checklist-for-an-inherited-site-3dd2</guid>
      <description>&lt;p&gt;You’ve inherited a WordPress site with a long plugin list and little documentation. Some plugins look unnecessary. Others may be the only reason the contact form, checkout, or member login still works. The &lt;strong&gt;Installed Plugins&lt;/strong&gt; screen tells you what’s active, not what depends on it.&lt;/p&gt;

&lt;p&gt;Use this WordPress plugin audit checklist before you deactivate, replace, or delete anything. The goal is to know what to test and how to undo the change, not simply to end up with fewer plugins.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Make a safe place to test
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;[ ] Confirm you have a current backup of the site files and database, and know how you would restore it.&lt;/li&gt;
&lt;li&gt;[ ] Use a staging copy—a version of the site where you can test changes without affecting visitors. Check that it won’t send real emails, take live payments, or trigger production integrations during testing.&lt;/li&gt;
&lt;li&gt;[ ] List the workflows that can’t break: quote requests, checkout, member sign-in, or anything else the site owner relies on.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  2. Make a plugin inventory
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;[ ] Open &lt;strong&gt;Plugins → Installed Plugins&lt;/strong&gt;. Record each plugin’s name, version, active status, and what you think it does. Mark anything you can’t explain as &lt;strong&gt;Investigate&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;[ ] Identify dependencies between plugins. For example, a payment add-on may rely on WooCommerce. Don’t treat the main plugin and the add-on as unrelated cleanup decisions.&lt;/li&gt;
&lt;li&gt;[ ] Separate visible features from background jobs. A form usually appears on a page. A backup tool, redirects plugin, or mail service may be essential even if you never see it on a page.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  3. Check where each removal candidate is used
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;[ ] Look for matching blocks, shortcodes, widgets, and templates. Open the actual pages or templates you find instead of relying on a count alone.&lt;/li&gt;
&lt;li&gt;[ ] Review background features separately: scheduled backups, redirects, outgoing mail, and external integrations. Ask the site owner about anything you can’t verify.&lt;/li&gt;
&lt;li&gt;[ ] If you use a scanner, read its coverage notes. &lt;strong&gt;No usage found is not the same as safe to delete.&lt;/strong&gt; Document what you couldn’t check.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Here’s a concrete example. In my &lt;a href="https://dev.to/dagemawi_alemayhu_3aa4fbb/how-to-check-where-a-wordpress-plugin-is-used-before-deactivating-it-7ll"&gt;Contact Form 7 walkthrough with screenshots&lt;/a&gt;, I click &lt;strong&gt;Find usage&lt;/strong&gt; beside Contact Form 7 in a demo site. &lt;a href="https://wordpress.org/plugins/usageray/" rel="noopener noreferrer"&gt;UsageRay&lt;/a&gt;, the free plugin I built, finds its shortcode on &lt;strong&gt;Request a Quote&lt;/strong&gt; and links to the page editor. That changes the cleanup decision: leave the plugin active until the form is replaced and tested, or the site owner confirms the page can be retired. The scan itself doesn’t change the page or deactivate the plugin.&lt;/p&gt;

&lt;p&gt;If you’re replacing one specific form, see &lt;a href="https://dev.to/dagemawi_alemayhu_3aa4fbb/how-to-find-pages-using-a-contact-form-7-shortcode-2gjo"&gt;how to find pages using a Contact Form 7 shortcode&lt;/a&gt; and verify the exact form ID before changing anything.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Test one plugin change at a time
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;[ ] On staging, deactivate one candidate. Recheck the affected page and the full workflow, not just the homepage. For a form, confirm it renders, accepts a test submission, and shows the expected result using a safe test setup.&lt;/li&gt;
&lt;li&gt;[ ] If something breaks or you can’t explain the impact, roll back the staging change and mark the plugin &lt;strong&gt;Keep&lt;/strong&gt; or &lt;strong&gt;Investigate&lt;/strong&gt;. Don’t let an empty scan result make the decision for you.&lt;/li&gt;
&lt;li&gt;[ ] If the staging checks pass, record what you tested and agree on the production change with whoever owns the site. Keeping a plugin inactive while you verify is a separate decision from deleting it and any data it may manage.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  5. Leave notes for the next maintainer
&lt;/h2&gt;

&lt;p&gt;For each candidate, write down &lt;strong&gt;the decision, the evidence, the checks you ran, and the rollback plan&lt;/strong&gt;. For example: “Contact Form 7 — Keep for now. Request a Quote embeds its shortcode. Replace and test the form on staging before deactivation.”&lt;/p&gt;

&lt;p&gt;Start with one plugin you’re already thinking about removing. A documented decision for that plugin is more valuable than a shorter plugin list you can’t explain.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Disclosure: This checklist was drafted with AI assistance. The linked Contact Form 7 walkthrough shows a real demo-site scan.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>wordpress</category>
      <category>tutorial</category>
      <category>webdev</category>
    </item>
    <item>
      <title>How to Check Where a WordPress Plugin Is Used Before Deactivating It</title>
      <dc:creator>Dagemawi Alemayehu</dc:creator>
      <pubDate>Fri, 27 Nov 2026 23:34:29 +0000</pubDate>
      <link>https://dev.to/dagemawi_alemayhu_3aa4fbb/how-to-check-where-a-wordpress-plugin-is-used-before-deactivating-it-7ll</link>
      <guid>https://dev.to/dagemawi_alemayhu_3aa4fbb/how-to-check-where-a-wordpress-plugin-is-used-before-deactivating-it-7ll</guid>
      <description>&lt;p&gt;You’re cleaning up a WordPress site and spot Contact Form 7 in the plugin list. Maybe it’s left over from an old design. Or maybe it’s still powering the page people use to request a quote.&lt;/p&gt;

&lt;p&gt;Both look the same on the &lt;strong&gt;Installed Plugins&lt;/strong&gt; screen. So how do you find out which one you’re dealing with before you click &lt;strong&gt;Deactivate&lt;/strong&gt;?&lt;/p&gt;

&lt;p&gt;That’s why I built &lt;a href="https://wordpress.org/plugins/usageray/" rel="noopener noreferrer"&gt;UsageRay&lt;/a&gt;. It helps you find evidence of what a plugin still supports and shows you where to check it.&lt;/p&gt;

&lt;h2&gt;
  
  
  A quick demo: Find the page that still uses Contact Form 7
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F80oq1azihvmyb8g4gxfh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F80oq1azihvmyb8g4gxfh.png" alt="Illustrated walkthrough: start with Contact Form 7, click Find Usage, and find the Request a Quote page" width="800" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;The workflow at a glance. The screenshots below show the actual demo.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;On a demo site, I made a page called &lt;strong&gt;Request a Quote&lt;/strong&gt; and embedded a Contact Form 7 form with a shortcode—the small snippet WordPress uses to display the form.&lt;/p&gt;

&lt;p&gt;In the WordPress dashboard, go to &lt;strong&gt;Plugins → Installed Plugins&lt;/strong&gt;. Find &lt;strong&gt;Contact Form 7&lt;/strong&gt; and click &lt;strong&gt;Find usage&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F76g37nrnj37ekileyr6q.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F76g37nrnj37ekileyr6q.png" alt="The WordPress Installed Plugins screen showing Find usage beside Contact Form 7" width="800" height="291"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Start the scan from the same screen where you manage your plugins.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;In the scan results, UsageRay found &lt;strong&gt;one use&lt;/strong&gt; of the &lt;code&gt;contact-form-7&lt;/code&gt; shortcode on &lt;strong&gt;Request a Quote&lt;/strong&gt;. Click the page title to open its editor and see where the form is embedded.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fbcn6zblrz6jqqfbp3e6n.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fbcn6zblrz6jqqfbp3e6n.png" alt="UsageRay reports one use of the Contact Form 7 shortcode and links to the Request a Quote page" width="512" height="173"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now you have something concrete to act on. If &lt;strong&gt;Request a Quote&lt;/strong&gt; still matters, leave Contact Form 7 active until you’ve replaced the form and tested the replacement on a staging copy of the site. If the page is no longer needed, confirm that before deciding what to remove.&lt;/p&gt;

&lt;p&gt;Running the scan doesn’t change the page or deactivate the plugin. It gives you a chance to look before you act.&lt;/p&gt;

&lt;p&gt;Looking for one particular form? See &lt;a href="https://dev.to/dagemawi_alemayhu_3aa4fbb/how-to-find-pages-using-a-contact-form-7-shortcode-2gjo"&gt;how to find pages using a Contact Form 7 shortcode&lt;/a&gt; and confirm the form ID in each match.&lt;/p&gt;

&lt;h2&gt;
  
  
  What if UsageRay finds nothing?
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;“No usage found” doesn’t mean “safe to delete.”&lt;/strong&gt; Some plugins do their work in the background or through connections a scan can’t see. Check &lt;strong&gt;Scan Coverage&lt;/strong&gt; to see what UsageRay inspected and where it had limits. Then test the workflows that matter to your site before making a change on the live version.&lt;/p&gt;

&lt;p&gt;That’s the habit I’d recommend, especially when you’re taking over a site you didn’t build: &lt;strong&gt;check the plugin before turning it off, look at the evidence, and verify what could be affected.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://wordpress.org/plugins/usageray/" rel="noopener noreferrer"&gt;Install UsageRay from WordPress.org&lt;/a&gt; and try &lt;strong&gt;Find usage&lt;/strong&gt; on one plugin you’re already considering removing.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Disclosure: This article and its cover and walkthrough illustrations were created with AI. The two WordPress screenshots are real captures from a demo site.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>showdev</category>
      <category>tools</category>
      <category>webdev</category>
      <category>wordpress</category>
    </item>
  </channel>
</rss>
