Plugin Directory

Changeset 3422710


Ignore:
Timestamp:
12/18/2025 10:08:07 AM (2 months ago)
Author:
creatorseo
Message:

1.4.2

  • Message improvements
Location:
faq-magic/trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • faq-magic/trunk/class.faq-magic.php

    r3418330 r3422710  
    278278            'copy_schema_btn'    => 'Display a button for copying the schema to the clipboard',
    279279            'inc_ai_suggest'     => 'Show an AI suggestions button for the title and description',
    280             'unset_schema_dups'  => 'Remove existing WebPage schema (if found)',
     280            'unset_schema_dups'  => 'Remove any existing WebPage schema (if found)',
    281281            'uninstall_del_meta' => 'Remove faq-magic metadata from every post on uninstall'
    282282        ];
  • faq-magic/trunk/css/faq-magic-admin.css

    r3418302 r3422710  
    1515
    1616.faqm-logo:hover {
    17     transform: scale(1.05);
     17    transform: scale(1.1);
    1818    opacity: 1;
    1919}
     
    397397}
    398398
    399 /* ----- Upsell / Premium Content Area ----- */
    400 .faqm_qandas {
    401     background: #fff;
    402     border: 1px dashed #b0c8e8;
    403     border-radius: 8px;
    404     padding: 16px 20px 30px 20px;
    405     margin: 10px;
    406 }
    407 
    408 #faqm-return .faqm_qandas h3, .faqm_json_ld h3 {
    409     color: #333;
    410     font-size: 22px;
    411     margin-bottom: 8px;
    412 }
    413 
    414 #faqm-return .faqm_qandas h4, .faqm_json_ld h4 {
    415     color: #1F95DE;
    416     font-size: 18px;
    417     margin-bottom: 8px;
    418 }
    419 
    420 #faqm-return .faqm_qandas p {
    421     color: #333;
    422     font-size: 14px;
    423     line-height: 1.6;
    424 }
    425 
    426 #faqm-return .faqm_qandas ul {
    427     list-style: none;
    428     padding: 0;
    429     margin: 0;
    430 }
    431 
    432 #faqm-return .faqm_qandas ul li {
    433     font-size: 14px;
    434     margin: 4px 0;
    435 }
    436 
    437399/* ----- AI Suggestions formatted ----- */
    438400.faqm_ai_suggestions h5 {
     
    510472/* ---------- Shared button base ---------- */
    511473#faqm-meta-box .button {
    512     border-radius: 6px;
     474    border-radius: 7px;
     475    margin: 5px 3px;
    513476    padding: 6px 14px;
    514477    font-size: 13px;
    515478    font-weight: 600;
    516     line-height: 1.3;
     479    line-height: 1.5;
    517480    cursor: pointer;
    518481    transition: all 0.25s ease-in-out;
     
    567530/* ---------- Premium Join button ---------- */
    568531#faqm-return button.button {
    569     background: #1F95DE !important;
     532    background: #2271b1 !important;
    570533    border: none !important;
    571534    color: #fff !important;
     
    614577}
    615578
     579/* ---------- FAQ Magic – Premium Upsell ---------- */
     580
    616581#faqm-upsell {
    617582    text-align: center;
    618583}
     584
     585#faqm-return .faqm_qandas h3, .faqm_json_ld h3 {
     586    color: #333;
     587    font-size: 22px;
     588    margin-bottom: 8px;
     589}
     590
     591#faqm-return .faqm_qandas h4, .faqm_json_ld h4 {
     592    color: #1F95DE;
     593    font-size: 18px;
     594    margin-bottom: 8px;
     595}
     596
     597#faqm-return .faqm_qandas p {
     598    color: #333;
     599    font-size: 14px;
     600    line-height: 1.6;
     601}
     602
     603#faqm-return .faqm_qandas ul {
     604    list-style: none;
     605    padding: 0;
     606    margin: 0;
     607}
     608
     609#faqm-return .faqm_qandas ul li {
     610    font-size: 14px;
     611    margin: 4px 0;
     612}
     613
     614
     615.faqm_qandas {
     616    background: #fff;
     617    margin: 10px;
     618    padding: 16px 20px 30px 20px;
     619    border: 1px dashed #b0c8e8;
     620    border-radius: 8px;
     621}
     622
     623.faqm_qandas.faqm_upsell {
     624    padding: 22px 24px;
     625    margin: 20px 0;
     626    border: 3px solid #a1a1a1;
     627    border-radius: 11px;
     628}
     629
     630.faqm_qandas .faqm-list {
     631    margin: 14px 0 18px;
     632    padding-left: 0;
     633}
     634
     635.faqm_qandas .faqm-list li {
     636    list-style: none;
     637    margin-bottom: 8px;
     638    line-height: 1.5;
     639}
     640
     641.faqm_qandas .button-primary {
     642    margin-top: 7px;
     643    padding: 6px 14px !important;
     644    font-weight: 600;
     645    border-radius: 11px;
     646    line-height: 2.15 !important;
     647    transition:
     648            background-color 0.3s ease,
     649            transform 0.3s ease,
     650            box-shadow 0.3s ease;
     651    filter: brightness(1.08); /* slightly lighter by default */
     652}
     653
     654.faqm_qandas .button-primary:hover,
     655.faqm_qandas .button-primary:focus {
     656    filter: brightness(1); /* back to native WP colour */
     657    transform: scale(1.07);
     658    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
     659}
  • faq-magic/trunk/css/faq-magic.css

    r3418302 r3422710  
    8585    content: "»";               /* double arrow glyph */
    8686    font-size: 18px;
    87     color: red;
     87    color: #515151;
    8888    transition: transform 0.3s ease;
    8989    margin-left: 10px;
     
    116116    flex-flow: row wrap;
    117117    justify-content: left;
    118     padding: 0px 0;
     118    padding: 0 0;
    119119    /*justify-content: space-around;*/
    120120    /*justify-content: space-between;*/
  • faq-magic/trunk/faq-magic.php

    r3418302 r3422710  
    55 * Plugin URI:  http://www.hub5050.com/faq-magic/
    66 * Description: Webpage JSON-LD and FAQ plugin for AI bot compatibility
    7  * Version:     1.4.1
     7 * Version:     1.4.2
    88 * Author:      Clinton [Hub5050.com]
    99 * Author URI:  http://www.hub5050.com
    1010 * License:     GPLv2
    11  * Last change: 2025-12-12
     11 * Last change: 2025-12-18
    1212 *
    1313 * Copyright 2025 CreatorSEO (email : [email protected])
  • faq-magic/trunk/inc/faq-magic-metabox.php

    r3418325 r3422710  
    209209    $member = (int) get_transient('faqm_member_status');
    210210    $img_url = plugin_dir_url(FAQM_ROOT) . 'img/Ribbon-Logo-64.png';
    211     $out = '<div class="faqm_qandas">';
     211    $out = '<div class="faqm_qandas faqm_upsell">';
    212212    $out .= '<div class="faqm-logo-wrap"><img src="' . esc_url($img_url) . '" alt="FAQ Magic Logo" class="faqm-logo"></div>';
    213213    // === if not a member ===>
     
    242242        }
    243243    } else {
    244         $out .= '<h3>Generate Smart FAQs in Seconds</h3>';
    245         $out .= '<h4>Need AI to create relevant questions and answers for your pages, posts, or products?</h4>';
    246         $out .= '<p>Let our <b>smart FAQ generator</b> do the heavy lifting for you. Automatically generate <b>AI-optimised Q&amp;As</b> formatted for Google and AI search.</p>';
    247         $out .= '<ul class="faqm-list">';
    248         $out .= '<li>✅ Save time — Instantly generate FAQs relevant to your content</li>';
    249         $out .= '<li>✅ Boost visibility — Use SEO and AI Search friendly schema that ranks</li>';
    250         $out .= '<li>✅ See what AI finds relevant — Discover how AI and search engines interpret your content</li>';
    251         $out .= '</ul>';
    252         $out .= '<p><button type="button" class="button" id="faqm_join_premium">Join Premium</button></p>';
     244        $out .= '<h3>Save Hours of Manual FAQ Writing — Instantly</h3>';
     245        if ($post_edit){
     246            //Intent: Convert while the user is editing content (fast win, low friction).
     247            $out .= '<p>You already use accordions — <b>Premium adds instant AI-generated content</b> for them.</p>';
     248            $out .= '<p>Generate relevant questions and answers for <b>this page</b> in seconds. '.
     249                    'Review, tweak if needed, and publish — no research, no copywriting.</p>';
     250            $out .= '<ul class="faqm-list">';
     251            $out .= '<li>⚡ One click → FAQs generated for this page</li>';
     252            $out .= '<li>⏱ Saves hours of manual writing</li>';
     253            $out .= '<li>🔍 Automatically formatted for AI &amp; Google search</li>';
     254            $out .= '</ul>';
     255        } else {
     256            //Intent: Convince site owners/admins at a global level (features + ROI).
     257            $out .= '<h4>Create accurate, AI-generated FAQs for your site in under a minute.</h4>';
     258            $out .= '<p>FAQ Magic Premium uses AI to generate <b>relevant, page-specific questions and answers</b> '.
     259                    'automatically. The result is high-quality FAQs that are ready for both <b>Google and AI search</b>, '.
     260                    'without manual research or writing.</p>';
     261            $out .= '<ul class="faqm-list">';
     262            $out .= '<li>⏱ Typically pays for itself within ~2 hours of use</li>';
     263            $out .= '<li>⚡ Immediate, accurate results — no prompts or setup required</li>';
     264            $out .= '<li>🔍 AI &amp; SEO-ready schema — built for modern search and discovery</li>';
     265            $out .= '</ul>';
     266        }
     267        $out .= '<p><button type="button" class="button button-primary" id="faqm_join_premium">Unlock AI-Generated FAQs</button></p>';
     268        //$out .='<p style="margin-top:8px;color:#666;font-size:12px;">Annual licence • Built for WordPress • Schema compliant</p>';
     269        $out .='<p style="margin-top:8px;color:#666;font-size:12px;">Annual licence • No setup required • Immediate access</p>';
    253270    }
    254271    $out .= '</div> <!-- .faqm_qandas -->';
    255272    return $out;
    256273}
    257 
    258 
    259 function zzfaqm_premium_faqs($post_edit=true){
    260     $member = (int) get_transient('faqm_member_status');
    261     $img_url = plugin_dir_url(FAQM_ROOT) . 'img/Ribbon-Logo-64.png';
    262     $out = '<div class="faqm_qandas">';
    263     $out .= '<div class="faqm-logo-wrap"><img src="' . esc_url($img_url) . '" alt="FAQ Magic Logo" class="faqm-logo"></div>';
    264     // === if not a member ===>
    265     if ($member){
    266         if ($post_edit){
    267             $out .= '<h3>Proposed FAQs [AI Generated]</h3>';
    268             $out .= '<h4>Generate a list of FAQs using AI</h4>';
    269             $out .= '<p>Press the AI Suggest button to generate a list of AI generated Questions and Answers.</p>';
    270             $out .= '<ul class="faqm-list">';
    271             $out .= '<li>✅ Smart Q&A generation from your content</li>';
    272             $out .= '<li>✅ Smart Q&A generation for your topic</li>';
    273             $out .= '<li>✅ Select and copy to the form</li>';
    274             $out .= '<li>✅ Add to your content</li>';
    275             $out .= '</ul>';
    276             $out .= '<p><button type="button" class="button" id="faqm_ai_qanda_2">Generate FAQs</button></p>';
    277         } else {
    278             $out .= '<h3>Proposed FAQs [AI Generated]</h3>';
    279             $out .= '<h4>Premium Member</h4>';
    280             $out .= '<p>Generate a list of FAQs using AI</p>';
    281             $out .= '<ul class="faqm-list">';
    282             $out .= '<li>✅ Select a Page, Post, or Product in edit.</li>';
    283             $out .= '<li>✅ Open the FAQs tab.</li>';
    284             $out .= '<li>✅ Use AI to suggest a list of potential FAQs.</li>';
    285             $out .= '<li>✅ Select the FAQ you want to use by clicking \'Move to Review\' button.</li>';
    286             $out .= '<li>✅ Refine / Edit the content</li>';
    287             $out .= '<li>✅ Press \'Add to FAQ List\'</li>';
    288             $out .= '</ul>';
    289         }
    290     } else {
    291         $out .= '<h3>Proposed FAQs [AI Generated]</h3>';
    292         $out .= '<h4>Upgrade for AI-Powered Insights</h4>';
    293         $out .= '<p>Generate intelligent FAQ suggestions automatically using advanced AI — save time, boost visibility, and improve your site’s performance.</p>';
    294         $out .= '<ul class="faqm-list">';
    295         $out .= '<li>✅ Smart Q&A generation from your content</li>';
    296         $out .= '<li>✅ Auto-formatted schema for SEO</li>';
    297         $out .= '<li>✅ Instant “copy to clipboard” schema button</li>';
    298         $out .= '<li>✅ Priority updates and AI credits</li>';
    299         $out .= '</ul>';
    300         $out .= '<p><button type="button" class="button" id="faqm_join_premium">Join Premium</button></p>';
    301     }
    302     $out .= '</div> <!-- .faqm_qandas -->';
    303     return $out;
    304 }
  • faq-magic/trunk/js/faq-magic-admin.js

    r3418302 r3422710  
    538538                    } else {
    539539                        faqmShowStatus('AI Suggest: no FAQs returned.', 'error');
    540                         alert('AI Suggest: No FAQ data returned.');
     540                        alert('AI Suggest: No FAQ data returned. Please try again.');
    541541                    }
    542542                } else {
  • faq-magic/trunk/readme.txt

    r3418305 r3422710  
    44Requires at least: 5.1
    55Tested up to: 6.9
    6 Stable tag: 1.4.1
     6Stable tag: 1.4.2
    77Requires PHP: 7.4
    88License: GPLv2 or later
     
    140140
    141141== Changelog ==
     142= 1.4.2 =
     143* Message improvements
     144
    142145= 1.4.1 =
    143146* Improved linking between nodes
Note: See TracChangeset for help on using the changeset viewer.