• Hi
    I’m using types and views (http://wp-types.com/) where I have a view that creates a dropdown list of dates for a course. I want to use that dropdown with my contact form, actually I’m using it right now. I did get solution how to make it work from a http://wp-types.com/ developer but after plugin update (in February I think) it stoped to work and I still use the old version of your plugin.
    I use a shortcode to populate the view I want (dropdown) and in my themes funcion.php I use that code:
    add_filter(‘wpcf7_form_elements’, ‘cf7_process_views’);
    function cf7_process_views($text) {
    global $wpcf7_shortcode_manager;
    return $wpcf7_shortcode_manager->do_shortcode(do_shortcode($text));
    }

    I was trying to use onother one, because everyone else is using that, but with no success:
    add_filter( ‘wpcf7_form_elements’, ‘mycustom_wpcf7_form_elements’ );

    function mycustom_wpcf7_form_elements( $form ) {
    $form = do_shortcode( $form );

    return $form;
    }

    Do You have any solution to that?

    https://ww.wp.xz.cn/plugins/contact-form-7/

The topic ‘Custom shortcodes’ is closed to new replies.