Changeset 1681486
- Timestamp:
- 06/19/2017 08:49:32 PM (9 years ago)
- Location:
- select-options-from-database-for-contact-form-7
- Files:
-
- 12 added
- 2 edited
-
tags/1.2 (added)
-
tags/1.2/Logic (added)
-
tags/1.2/Logic/CF7_CMFuncs.php (added)
-
tags/1.2/css (added)
-
tags/1.2/css/pakystyle.css (added)
-
tags/1.2/js (added)
-
tags/1.2/js/script.js (added)
-
tags/1.2/readme.txt (added)
-
tags/1.2/screenshot-1.png (added)
-
tags/1.2/screenshot-2.png (added)
-
tags/1.2/screenshot-3.png (added)
-
tags/1.2/select_options_from_db_for_cf7.php (added)
-
trunk/readme.txt (modified) (4 diffs)
-
trunk/select_options_from_db_for_cf7.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
select-options-from-database-for-contact-form-7/trunk/readme.txt
r1664390 r1681486 4 4 Requires at least: 4.0 5 5 Tested up to: 4.2.2 6 Stable tag: 1. 16 Stable tag: 1.2 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 12 12 == Description == 13 13 14 This plugin provides new tag type for the Contact Form 7 Plugin : Select options from database. 14 This plugin provides new tag type for the Contact Form 7 Plugin : Select options from database. 15 15 You can select any field from your database and let the visitors choose value for you. 16 16 You can use it to send each contact form to any user in your site. … … 18 18 You can chose which value to show and which to send via email. 19 19 20 [Read More](http://dynamicplugin.com/select-options-field-in-wordpress-contact-form-7/ "Read More") 20 [Read More](http://dynamicplugin.com/select-options-field-in-wordpress-contact-form-7/ "Read More") 21 21 22 22 = How to use it = … … 46 46 == Changelog == 47 47 48 = 1.2 = 49 Support for contact form 7 version 4.8 50 48 51 = 1.1 = 49 52 Added filter results by one word -
select-options-from-database-for-contact-form-7/trunk/select_options_from_db_for_cf7.php
r1664390 r1681486 5 5 Plugin URI: https://wordpress.org/plugins/select-options-from-database-for-contact-form-7/ 6 6 Description: Extend contact form 7 with new tag type : select options from database. Any column in your database can be a source to this select options element. 7 Version: 1. 17 Version: 1.2 8 8 Author: Dynamic Plugin 9 9 Author URI: http://dynamicplugin.com/ … … 63 63 64 64 function cf7dfe_init(){ 65 if(function_exists('wpcf7_add_ shortcode')){66 /* Shortcode handler */ 67 wpcf7_add_shortcode( 'dbactext', 'cf7dfe_shortcode_handler', true );68 wpcf7_add_shortcode( 'dbactext*', 'cf7dfe_shortcode_handler', true );65 if(function_exists('wpcf7_add_form_tag')){ 66 /* Shortcode handler */ 67 wpcf7_add_form_tag( 'dbactext', 'cf7dfe_shortcode_handler', true ); 68 wpcf7_add_form_tag( 'dbactext*', 'cf7dfe_shortcode_handler', true ); 69 69 70 70 } … … 82 82 83 83 if ( ! is_array( $tag ) ) 84 return '';84 //return ''; 85 85 86 86 $type = $tag['type'];
Note: See TracChangeset
for help on using the changeset viewer.