• Resolved cnmcomunicazione

    (@cnmcomunicazione)


    Hi guys, I’d like to open the Privacy Policy text link into a popup inside the Contact Form 7 module, but if I insert the shortcode the form show me the shortcode text instead of the link text.
    Is there any way to open a popup with textual link from the form?
    Thanks,
    Luca

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Rafik

    (@rafikwp)

    Hello,

    please confirm you want here https://prnt.sc/rhl4ma popup?

    Thanks

    Thread Starter cnmcomunicazione

    (@cnmcomunicazione)

    Yes.
    Shortcode embed: https://prnt.sc/rhl9s7
    Problem: https://prnt.sc/rhlabd

    Plugin Support Rafik

    (@rafikwp)

    Hello,

    You need to add filter code inside your active theme >> functions.php at the end

    add_filter( 'wpcf7_form_elements', 'mycustom_wpcf7_form_elements' );
    function mycustom_wpcf7_form_elements( $form ) {
    $form = do_shortcode( $form );
    return $form;
    }
    Thread Starter cnmcomunicazione

    (@cnmcomunicazione)

    Thank you! It’s working now!

    Plugin Support Rafik

    (@rafikwp)

    Hello,

    If you like this plugin and our support please give us a review and rate it important for us.

    Thanks

    Thread Starter cnmcomunicazione

    (@cnmcomunicazione)

    I’ve another problem: the text inside the popup is read by Semrush as text inside the page. The text/html ratio is read wrongly by search engines and creates problems in SEO optimization.
    Is there any way to solve this issue?
    Thanks.

    Plugin Support Rafik

    (@rafikwp)

    Hello,

    Can you elaborate more with screenshots etc because need to check how causing issue in SEO

    Thanks

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Problem opening a popup inside a Contact Form 7 with shortcode’ is closed to new replies.