Changeset 3363351
- Timestamp:
- 09/17/2025 04:00:40 PM (7 months ago)
- Location:
- faq-accordion-schema/trunk
- Files:
-
- 4 edited
-
app/Accordion.php (modified) (2 diffs)
-
app/Settings.php (modified) (1 diff)
-
faq-accordion-schema.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
faq-accordion-schema/trunk/app/Accordion.php
r3362323 r3363351 9 9 public function __construct() { 10 10 add_shortcode('fqaas_faq_accordion', [$this, 'faqasc_render_accordion'] ); 11 add_shortcode('fqaas-faq-accordion', [$this, 'faqasc_render_accordion'] ); 11 12 add_shortcode('fqaas_faq', [$this, 'faqasc_render_accordion']); 13 add_shortcode('fqaas-faq', [$this, 'faqasc_render_accordion']); 12 14 $enable_faq_alias = (bool) get_option('fqaas_enable_faq_alias', false); 13 15 if ( $enable_faq_alias ) { … … 15 17 } 16 18 add_shortcode('faq_accordion', [$this, 'faqasc_render_accordion'] ); 19 add_shortcode('faq-accordion', [$this, 'faqasc_render_accordion'] ); 17 20 } 18 21 -
faq-accordion-schema/trunk/app/Settings.php
r3362323 r3363351 116 116 <?php checked( $enable_faq, true ); ?> /> 117 117 <p class="description"> 118 <?php esc_html_e('If enabled, the [faq] shortcode will be registered as an alias of [faq -accordion]. Leave disabled to avoid collisions with other plugins/themes.', 'faq-accordion-schema'); ?>118 <?php esc_html_e('If enabled, the [faq] shortcode will be registered as an alias of [faq_accordion]. Leave disabled to avoid collisions with other plugins/themes.', 'faq-accordion-schema'); ?> 119 119 </p> 120 120 </td> -
faq-accordion-schema/trunk/faq-accordion-schema.php
r3362686 r3363351 7 7 * Automatically builds the accordion by simply including headings and text withing the shortcode. 8 8 * Includes options to enable/disable schema markup, add custom styles, and choose whether to override or respect theme styles. 9 * Version: 1.0. 59 * Version: 1.0.6 10 10 * Author: Ryan Howard 11 11 * Author URI: https://www.ryanhoward.dev -
faq-accordion-schema/trunk/readme.txt
r3362686 r3363351 5 5 Tested up to: 6.8 6 6 Requires PHP: 7.2 7 Stable tag: 1.0. 57 Stable tag: 1.0.6 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 60 60 3. Rich results in Google SERP with FAQ schema 61 61 62 == Does the FAQ Accordion & Schema plugin automatically add FAQ schema? == 63 64 Yes. Every accordion you create with the plugin includes valid FAQPage JSON-LD markup by default. This helps Google and AI systems understand your questions and answers without requiring manual coding. 65 66 == How does this plugin help with AI and LLM visibility? == 67 68 Large language models look for clearly labeled question-and-answer pairs when assembling responses. The plugin outputs structured data that makes it easier for LLMs to interpret your content and include it in generated answers. 69 70 == Can I use this plugin to add more content without cluttering the page? == 71 72 Absolutely. The accordion format lets you publish additional questions and answers in a compact way. This gives you more coverage for SEO and answer engines while keeping your pages clean and readable for visitors. 73 74 == Why should I use this plugin instead of coding schema manually? == 75 76 Manually writing JSON-LD is error-prone and time-consuming. The plugin handles schema automatically and ensures it stays valid as you edit or expand your FAQs. You focus on writing good content, and the markup is handled for you. 77 78 == Where can I validate my structured data? == 79 80 You can test any page that includes FAQ schema using Google’s Schema Markup Validator. Enter your URL to confirm if your structured data is valid. 81 62 82 == Changelog == 83 84 = 1.0.6 = 85 * Updated readme.txt 86 * Extended shortcode support – now the following shortcodes work correctly: 87 - [fqaas_faq_accordion] 88 - [fqaas-faq-accordion] 89 - [fqaas_faq] 90 - [fqaas-faq] 91 - [faq] (if alias option is enabled) 92 - [faq_accordion] 93 - [faq-accordion] 63 94 64 95 = 1.0.5 =
Note: See TracChangeset
for help on using the changeset viewer.