PluginProbe
Smart Grid-Layout Design for Contact Form 7 / 4.13
Smart Grid-Layout Design for Contact Form 7 v4.13
4.18.0 4.17.0 3.2.0 3.2.1 3.3.0 3.3.1 3.3.2 3.3.3 3.3.4 3.3.5 3.3.6 3.3.7 3.3.8 4.0.0 4.0.1 4.1.0 4.1.1 4.1.2 4.1.3 4.1.4 4.10 4.11 4.12 4.13 4.14 All 119 releases
cf7-grid-layout / admin / partials / cf7-info-metabox-display.php

cf7-info-metabox-display.php in Smart Grid-Layout Design for Contact Form 7 4.13, at admin/partials/cf7-info-metabox-display.php

41 lines 1.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 $slug='';
3 if(!empty($post)){
4 $slug = $post->post_name;
5 }
6 ?>
7 <label for="post_name"><?=__('Form key','cf7-grid-layout')?></label>
8 <input name="post_name" size="13" id="post_name" value="<?php echo $slug?>" type="text" />
9 <p>
10 <a href="<?= __cf7sg( 'https://contactform7.com/docs/' )?>"><?= __cf7sg( 'Docs' )?></a>&nbsp;
11 <a href="<?= __cf7sg( 'https://contactform7.com/faq/' )?>"><?= __cf7sg( 'FAQ' )?></a>&nbsp;
12 <a href="<?= __cf7sg( 'https://contactform7.com/support/' )?>"><?= __cf7sg( 'Support' )?></a>
13 </p>
14 <?php /** @since 4.3.0 preview link */
15 $preview_id = get_post_meta($post->ID, '_cf7sg_form_page',true);
16 $preview = '<em>'.__('Update your form to preview','cf7-grid-layout').'</em>';
17 if( !empty($preview_id) ){
18 /*translators: link to preview page with form*/
19 $preview = sprintf(__('Preview <a href="%s">form</a>','cf7-grid-layout'), get_preview_post_link($preview_id));
20 }
21 ?>
22 <p id="preview-form-link">
23 <strong><?= $preview?></strong>
24 </p>
25 <?php
26 $dropdowns = get_option('_cf7sg_dynamic_dropdown_taxonomy',array());
27 $show_dropdown = array();
28 if( isset($dropdowns[$post->ID]) ):
29 $show_dropdown = $dropdowns[$post->ID];
30 ?>
31 <strong> <?=__('Manage dynamic lists','cf7-grid-layout')?></strong>
32 <ul>
33 <?php foreach($show_dropdown as $slug=>$taxonomy): ?>
34 <li>
35 <?php echo $taxonomy['plural']?> (<a target="_blank" href="<?php echo admin_url('edit-tags.php?taxonomy='.$slug.'&post_type=wpcf7_contact_form')?>"><?= __( 'Edit', 'cf7-smart-grid' );?></a>)
36 </li>
37 <?php endforeach;?>
38 </ul>
39 <?php endif;?>
40 <div class="clear"></div>
41