• Resolved baia

    (@baia)


    Hi,

    Embedding a form in a template file using <?php echo do_shortcode(‘[contact-form 1 "Formular de feedback"]‘); ?> is not handy at all because in almost all cases a developer works both with a local and online version with different IDs, so this code won’t work for one of them.

    Plus, why is an ID necessary to identify a particular form? Could a simple name not do the trick? Anyway is there a way around this problem?

    Thanks!

    https://wordpress.org/plugins/contact-form-7/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Embedding form in template without ID’ is closed to new replies.