Key takeaways

  • A WordPress theme controls the HTML of every page, so a theme problem is repeated across the whole site, not on one page.
  • The usual issues are messy headings, content that only loads after a click, layout shifts, site-wide fonts and scripts, and duplicate or missing schema.
  • Under mobile-first indexing, a mobile template that drops text, headings or structured data drops them for search too.
  • Most fixes happen in a child theme or the theme settings, not in every post.
  • Check before and after any theme change with URL Inspection, the Rich Results Test and the Core Web Vitals report.

WordPress theme SEO is not about the theme being “SEO friendly” on its sales page. It is about what the theme prints into the HTML of every page: the headings, where your text sits, what loads first and what structured data comes with it. When I review a site as part of WordPress SEO consulting, the theme is one of the first things I check, because one template mistake is repeated on hundreds of pages.

Speed is only part of the story. If your main problem is slow pages, my guide on diagnosing a slow WordPress site covers it. This article stays on the theme and the SEO problems it creates beyond load time.

I first published this article in 2025 and rewrote it around what Google, web.dev and the WordPress handbook say.

Headings baked into the template

Many themes decide your heading tags for you. In audits I often find the logo wrapped in an H1 on every page, sidebar and footer widget titles marked up as H2 or H3, and the real page title demoted. Add an H1 typed in the editor and a page ends up with three “main” headings.

Two page wireframes. On the left the logo text, the sidebar title and two content headings are all drawn as large heading bars. On the right only the content area has one large heading, with smaller headings below and plain text for the logo and sidebar
Figure 1. One main heading per page, in the content area, with smaller headings below it. Logos and widget titles do not need heading tags.

To be fair to themes, Google is relaxed about heading markup. Its SEO Starter Guide says that “Having your headings in semantic order is fantastic for screen readers” but that “from Google Search perspective, it doesn’t matter if you’re using them out of order”. It still asks you to “provide headings to help users navigate your pages.”

So the fix is about clarity, not a rule. What I aim for:

  • One main heading per page, normally the post or page title.
  • Logo, sidebar, footer and widget titles as plain styled text, so the outline belongs to the content.
  • H2 and H3 used in the editor for real sections, as I describe in my guide to on-page SEO for WordPress.

To check, view the page source and search for “<h1”. If the result surprises you, the fix belongs in a child theme template, not in every post.

Content hidden in sliders, tabs and accordions

Themes like to fold content away in sliders, tabs and accordions. Whether this matters for search depends on one thing – is the text already in the HTML when the page loads, or does it only arrive after a click or swipe?

A page with accordion rows whose text is already inside the page, next to a slider whose next slides wait outside the page for a click
Figure 2. Tabs and accordions are fine when their text is already in the page. Content that loads only after a click or swipe may not be seen.

Google’s mobile-first indexing best practices are direct about this: “Google won’t load content that requires user interactions (for example, swiping, clicking, or typing) to load.” The same page says “Don’t lazy-load primary content upon user interaction”, and also suggests that “Instead of removing content, consider moving content into accordions or tabs to save space.”

So tabs and accordions are fine when their text is in the page source and only hidden with CSS. A slider or tab that fetches its content after a click is a problem if you want that content found. Sliders have a second cost: in my experience the first slide is often the largest image on the page, so a heavy slider slows Largest Contentful Paint. If your main selling points live only in slide three, move them into normal text.

Free tool · SEO ROI Calculator

Deciding whether a theme fix is worth the budget? Estimate what the keywords behind the affected pages could be worth.

Enter search volume, CPC and your current ranking to estimate traffic, revenue and value for a keyword. Free.

Calculate your SEO ROI →

Page builders, layout shifts and the main image

Heavy theme frameworks and page builders often wrap simple content in nested containers, load their own scripts and styles, and position elements only after scripts run. The result is text that jumps as images and banners appear, and a main image that arrives late.

Two phones. On the left a large image loads and red arrows show the text below being pushed down. On the right the image space is reserved with a dashed frame so the text stays in place
Figure 3. Reserve space for images, embeds and late content so the layout does not jump while the page loads.

Google’s Core Web Vitals page sets the targets: LCP “within the first 2.5 seconds of the page starting to load”, INP “of less than 200 milliseconds” and CLS “of less than 0.1”. It adds that good Core Web Vitals, “along with other page experience aspects, aligns with what our core ranking systems seek to reward.” INP replaced First Input Delay in March 2024, so ignore theme demos that still quote FID.

web.dev’s guide to optimising CLS lists the usual causes: “Images without dimensions”, “Ads, embeds, and iframes without dimensions”, “Dynamically injected content” and “Web fonts”. Its fixes map onto theme settings:

  • “Always include width and height size attributes on your images and video elements”, or reserve the space with CSS aspect-ratio.
  • Reserve space for cookie banners, announcement bars and embeds with a min-height.
  • Make the main image of each template a normal image in the HTML and do not lazy-load it (my practice, to help LCP).

Fonts and scripts loaded on every page

A theme that offers everything tends to load everything: icon sets, animation libraries, slider scripts, several font weights, map and social scripts. Most are needed on one or two templates and sent to every page anyway.

The WordPress theme handbook page on including CSS and JavaScript describes the right way: load styles and scripts with wp_enqueue_style and wp_enqueue_script rather than hard-coding them, which “ensures proper loading and caching” and lets you use conditional tags to target specific pages. Its own example loads the comment reply script only “If comments are enabled by the user, and we are on a post page”. Since WordPress 6.3 a script can also be given a “defer” or “async” loading strategy, so it does not block the page while it downloads.

What I do with a heavy theme:

  1. List the files each template loads in the browser’s network panel.
  2. Switch off theme modules the site does not use.
  3. In a child theme, dequeue assets on templates that do not need them and defer the rest where possible.
  4. Keep only the font families and weights the design uses.

Missing or duplicate schema from the theme

Some themes print their own structured data, such as Article or breadcrumb markup. Then an SEO plugin adds its own, and a reviews or local business plugin adds a third. The result can be two Organization entities with different names, two sets of breadcrumbs, or Article markup on service pages. Other themes hide the author or date that a plugin’s schema refers to.

Google’s structured data guidelines give the two rules that matter here: “Your structured data must be a true representation of the page content” and “Don’t mark up content that is not visible to readers of the page.” They also say you “can test compliance with technical guidelines using the Rich Results Test and the URL Inspection tool”, and that “Google does not guarantee that your structured data will show up in search results.”

My fix is to choose one source of schema, usually the SEO plugin, switch off the theme’s own markup (or remove it in a child theme), and test one URL per template. Every value in the markup, such as author, date or address, should be visible on the page.

Free tool · Ping My URL

Fixed the headings, schema or mobile template on key pages? Let search engines know the pages changed.

Notify Google and other search engines about up to 5 new or updated URLs at once. Free, no sign-up.

Ping your URLs →

Mobile layout differences under mobile-first indexing

Responsive themes often show a different layout on phones. That is allowed – Google’s mobile-first page says “You can have a different design on mobile to maximize user experience” – but the content has to survive the change.

The same page asks you to:

  • “Make sure that your mobile site contains the same content as your desktop site.”
  • “Use the same clear and meaningful headings on the mobile site as you do on the desktop site.”
  • Make sure structured data is “present on both versions of your site.”
  • “Use the same robots meta tags on the mobile and desktop site.”
  • Keep “the same alt text for images as the desktop site.”

Trouble comes from “hide on mobile” settings that remove blocks, or a lighter mobile template without the text and internal links of the desktop page. Check key pages in a phone-sized window and with URL Inspection in Search Console.

How I check a theme before and after a change

I run these checks on one URL per template type.

Check Where What good looks like
Headings Page source or developer tools One clear main heading, logical sections below it
Hidden content Page source, URL Inspection Tab, accordion and slide text present in the HTML
Core Web Vitals Search Console Core Web Vitals report, PageSpeed Insights LCP, INP and CLS in the good range for real visitors
Scripts and fonts Browser network panel Only what the template uses, non-critical scripts deferred
Schema Rich Results Test, URL Inspection One source, no duplicates, values visible on the page
Mobile parity Phone-sized window, URL Inspection Same text, headings, links and structured data as desktop

Before switching themes, record these results so you can compare after launch: a theme change touches every page at once, like a migration. For wider issues such as indexing, redirects or sitemaps, see my article on hidden technical SEO mistakes in WordPress.

Rank Check Reports

Changing or fixing your theme? Record where your key pages rank before and after the switch.

A live Google check of your keywords on desktop and mobile · from $14.99 per check · no subscription · report within one working day

Order a rank check report →

FAQ

Can a WordPress theme hurt SEO?

Yes, because the theme writes the HTML of every page, so heading, content, layout, script and schema problems repeat across the site. Most can be fixed without changing themes.

Are multiple H1 tags bad for SEO?

Google’s SEO Starter Guide says heading order does not matter from Google Search’s perspective. I still recommend one clear main heading per page, for readers and screen readers.

Should I change my theme to improve SEO?

Not by default. Many issues are fixed in a child theme or the theme settings. Change themes when the problems cannot be fixed without fighting the theme, and treat the switch like a migration.

Eugen Platon

Eugen Platon

Director of SEO & Web Analytics at onwardSEO
Eugen Platon is a highly experienced SEO expert with 16+ years of experience propelling organizations to the summit of digital popularity. Eugen, who holds a Master's Certification in SEO and is well-known as a digital marketing expert, has a track record of using analytical skills to maximize return on investment through smart SEO operations. His passion is not simply increasing visibility, but also creating meaningful interaction, leads, and conversions via organic search channels. Eugen's knowledge goes far beyond traditional limits, embracing a wide range of businesses where competition is severe and the stakes are great. He has shown remarkable talent in achieving top keyword ranks in the highly competitive industries of gambling, car insurance, and events, demonstrating his ability to traverse the complexities of SEO in markets where every click matters. In addition to his success in these areas, Eugen improved rankings and dominated organic search in competitive niches like "event hire" and "tool hire" industries in the UK market, confirming his status as an SEO expert. His strategic approach and innovative strategies have been successful in these many domains, demonstrating his versatility and adaptability. Eugen's path through the digital marketing landscape has been distinguished by an unwavering pursuit of excellence in some of the most competitive businesses, such as antivirus and internet protection, dating, travel, R&D credits, and stock images. His SEO expertise goes beyond merely obtaining top keyword rankings; it also includes building long-term growth and optimizing visibility in markets where being noticed is key. Eugen's extensive SEO knowledge and experience make him an ideal asset to any project, whether navigating the complexity of the event hiring sector, revolutionizing tool hire business methods, or managing campaigns in online gambling and car insurance. With Eugen in charge of your SEO strategy, expect to see dramatic growth and unprecedented digital success.
Eugen Platon
Check my Online CV page here: Eugen Platon SEO Expert - Online CV.