SEO Accordion Fix

外掛說明

This plugin ensures that content inside Elementor accordions (or any elements) is visible to users loading your content without JavaScript. Sometimes, Search engines like Google read your pages without JavaScript so we make sure the content in accordions is visible.

It works by adding the open attribute to all HTML tags server-side, making the content appear visible on initial page load.
Then, using a small JavaScript snippet, the plugin closes those accordions again after the page has finished loading – keeping a clean interface for users.

安裝方式

  1. Upload the plugin to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. No configuration needed. It works automatically.

常見問題集

Does this only work with Elementor accordions?

It works with any HTML element. Elementor’s accordion uses this tag structure by default.

Will this hurt my Core Web Vitals score?

It may slightly increase layout shift (CLS), but your SEO content visibility will drastically improve.

How can I test if the plugin is working?

You can simulate what Googlebot sees by disabling JavaScript in Chrome:
1. Open Chrome DevTools (F12 or right-click Inspect)
2. Press Ctrl+Shift+P (or Cmd+Shift+P on Mac) to open the Command Palette
3. Type “Disable JavaScript” and activate it
4. Reload the page — all FAQ accordions should appear open

If the content is visible with JS disabled, that means Google can see it too.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈SEO Accordion Fix〉的開發相關工作。

參與者

將〈SEO Accordion Fix〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0.0

  • Initial release: automatically opens for SEO and closes them after load for users.