PageRenderTime 90ms queryTime 41ms sortTime 0ms getByIdsTime 5ms findMatchingLines 8ms

15+ results for 'php printf repo:channainfo/simple survey wordpress plugin' (90 ms)

Not the results you expected?
Init.php https://gitlab.com/campus-academy/krowkaramel | PHP | 161 lines
                    
54		if ( $needs_update && current_user_can( 'update_core' ) && current_user_can( 'update_php' ) ) {
                    
55			$update_text = sprintf(
                    
56				/* translators: 1: line break tag, 2: open link to WordPress update link, 3: close link tag. */
                    
56				/* translators: 1: line break tag, 2: open link to WordPress update link, 3: close link tag. */
                    
57				__( '%1$s %2$sUpdate WordPress to enable the new navigation%3$s', 'woocommerce' ),
                    
58				'<br/>',
                    
58				'<br/>',
                    
59				'<a href="' . self_admin_url( 'update-core.php' ) . '" target="_blank">',
                    
60				'</a>'
                    
78	public function is_nav_compatible() {
                    
79		include_once ABSPATH . 'wp-admin/includes/plugin.php';
                    
80
                    
83		$has_gutenberg             = is_plugin_active( 'gutenberg/gutenberg.php' );
                    
84		$gutenberg_version         = $has_gutenberg ? get_plugin_data( WP_PLUGIN_DIR . '/gutenberg/gutenberg.php' )['Version'] : false;
                    
85
                    
                
class-about.php https://gitlab.com/ebrjose/comcebu | PHP | 1207 lines
                    
244				<p>
                    
245					<?php esc_html_e( 'Over the years, we found that most WordPress contact form plugins were bloated, buggy, slow, and very hard to use. So we started with a simple goal: build a WordPress forms plugin that’s both easy and powerful.', 'wpforms-lite' ); ?>
                    
246				</p>
                    
254							/* translators: %1$s - WPBeginner URL; %2$s - OptinMonster URL; %3$s - MonsterInsights URL. */
                    
255							__( 'WPForms is brought to you by the same team that’s behind the largest WordPress resource site, <a href="%1$s" target="_blank" rel="noopener noreferrer">WPBeginner</a>, the most popular lead-generation software, <a href="%2$s" target="_blank" rel="noopener noreferrer">OptinMonster</a>, the best WordPress analytics plugin, <a href="%3$s" target="_blank" rel="noopener noreferrer">MonsterInsights</a>, and more!', 'wpforms-lite' ),
                    
256							[
                    
309
                    
310					$plugin_data              = $this->get_plugin_data( $plugin, $details, $all_plugins );
                    
311					$plugin_ready_to_activate = $can_activate_plugins
                    
320							<div class="details wpforms-clear">
                    
321								<img src="<?php echo esc_url( $plugin_data['details']['icon'] ); ?>" alt="<?php echo esc_attr( $plugin_data['details']['name'] ); ?>">
                    
322								<h5 class="addon-name">
                    
342									<?php if ( $can_install_plugins || $plugin_ready_to_activate || ! $details['wporg'] ) { ?>
                    
343										<button class="<?php echo esc_attr( $plugin_data['action_class'] ); ?>" data-plugin="<?php echo esc_attr( $plugin_data['plugin_src'] ); ?>" data-type="plugin">
                    
344											<?php echo wp_kses_post( $plugin_data['action_text'] ); ?>
                    
                
crowdsignal.php https://gitlab.com/remyvianne/krowkaramel | PHP | 776 lines
                    
1<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
                    
2/**
                    
5 * Formats:
                    
6 * [polldaddy type="iframe" survey="EB151947E5950FCF" height="auto" domain="jeherve" id="a-survey-with-branches"]
                    
7 * [crowdsignal type="iframe" survey="EB151947E5950FCF" height="auto" domain="jeherve" id="a-survey-with-branches"]
                    
8 * https://polldaddy.com/poll/7910844/
                    
9 * https://jeherve.survey.fm/a-survey
                    
10 * https://jeherve.survey.fm/a-survey-with-branches
                    
10 * https://jeherve.survey.fm/a-survey-with-branches
                    
11 * [crowdsignal type="iframe" survey="7676FB1FF2B56CE9" height="auto" domain="jeherve" id="a-survey"]
                    
12 * [crowdsignal survey="7676FB1FF2B56CE9"]
                    
74				'crowdsignal-survey',
                    
75				Assets::get_file_url_for_environment( '_inc/build/crowdsignal-survey.min.js', '_inc/crowdsignal-survey.js' ),
                    
76				array(),
                    
516					if ( 'true' !== $attributes['survey'] ) {
                    
517						$survey = preg_replace( '/[^a-f0-9]/i', '', $attributes['survey'] );
                    
518
                    
                
gadwp.php https://gitlab.com/VTTE/sitios-vtte | PHP | 728 lines
                    
260				// LazyLoad Auth for Frontend
                    
261				require_once EXACTMETRICS_PLUGIN_DIR . 'includes/auth.php';
                    
262				self::$instance->auth = new ExactMetrics_Auth();
                    
373				// Translators: Make version number bold and add a link to return to the plugins page.
                    
374				echo sprintf( esc_html__( 'Sorry, but your version of WordPress does not meet ExactMetrics\'s required version of %1$s3.8%2$s to run properly. The plugin not been activated. %3$sClick here to return to the Dashboard%4$s.', 'google-analytics-dashboard-for-wp' ), '<strong>', '</strong>', '<a href="' . $url . '">', '</a>' );
                    
375				?>
                    
475			// Lite and Pro files
                    
476			require_once EXACTMETRICS_PLUGIN_DIR . 'assets/lib/pandora/class-am-deactivation-survey.php';
                    
477			require_once EXACTMETRICS_PLUGIN_DIR . 'includes/admin/ajax.php';
                    
506			// Late loading classes (self instantiating)
                    
507			require_once EXACTMETRICS_PLUGIN_DIR . 'includes/admin/tracking.php';
                    
508		}
                    
509
                    
510		require_once EXACTMETRICS_PLUGIN_DIR . 'includes/frontend/frontend.php';
                    
511		require_once EXACTMETRICS_PLUGIN_DIR . 'includes/frontend/seedprod.php';
                    
                
FormSelector.php https://gitlab.com/ebrjose/comcebu | PHP | 271 lines
                    
1<?php
                    
2
                    
95				\esc_html__( 'contact', 'wpforms-lite' ),
                    
96				\esc_html__( 'survey', 'wpforms-lite' ),
                    
97				'the dude',
                    
116			'wpforms-integrations',
                    
117			WPFORMS_PLUGIN_URL . "assets/css/admin-integrations{$min}.css",
                    
118			[],
                    
129				'wpforms-gutenberg-form-selector',
                    
130				WPFORMS_PLUGIN_URL . "assets/css/wpforms-{$css_file}{$min}.css",
                    
131				[ 'wp-edit-blocks', 'wpforms-integrations' ],
                    
241				'[wpforms id="%s" title="%d" description="%d"]',
                    
242				absint( $id ), // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
                    
243				apply_filters( 'wpforms_gutenberg_block_form_title', $title, $id ), // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
                    
243				apply_filters( 'wpforms_gutenberg_block_form_title', $title, $id ), // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
                    
244				apply_filters( 'wpforms_gutenberg_block_form_desc', $desc, $id ) // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
                    
245			);
                    
                
helpscout-beacon.php https://gitlab.com/suporte.spturis/carnaval2015.spturis.com.br | PHP | 351 lines
                    
183			'<a href="' . \admin_url( 'themes.php' ) . '">Theme</a>' => $this->get_theme_info(),
                    
184			'<a href="' . \admin_url( 'plugins.php' ) . '">Plugins</a>' => $this->get_active_plugins(),
                    
185		];
                    
238	 *
                    
239	 * @param object $plugin The plugin.
                    
240	 *
                    
305			$plugin_data = \get_plugin_data( $plugin );
                    
306			$plugin_file = \str_replace( \trailingslashit( \WP_PLUGIN_DIR ), '', $plugin );
                    
307
                    
311
                    
312			$active_plugins .= \sprintf(
                    
313				'<a href="%1$s">%2$s</a> v%3$s',
                    
313				'<a href="%1$s">%2$s</a> v%3$s',
                    
314				\esc_attr( $plugin_data['PluginURI'] ),
                    
315				\esc_html( $plugin_data['Name'] ),
                    
                
bawpv.php https://gitlab.com/jshimko/pbfuniversity | PHP | 568 lines
                    
208		<p><label for="<?php echo $this->get_field_id('title'); ?>"><?php _e( 'Title:', 'bawpvc' ); ?></label>
                    
209		<input class="widefat" id="<?php echo $this->get_field_id('title'); ?>" name="<?php echo $this->get_field_name('title'); ?>" type="text" value="<?php echo $title; ?>" /></p>
                    
210
                    
211		<p><label for="<?php echo $this->get_field_id('number'); ?>"><?php _e( 'How many posts:', 'bawpvc' ); ?></label>
                    
212		<input id="<?php echo $this->get_field_id('number'); ?>" name="<?php echo $this->get_field_name('number'); ?>" type="text" value="<?php echo $number; ?>" size="3" /></p>
                    
213
                    
217			foreach( $timings as $timing=>$dummy ) { ?>
                    
218			<option value="<?php echo esc_attr( $timing ); ?>" <?php selected( $timing, $time ); ?>><?php echo ucwords( esc_html( $timing ) ); ?></option>
                    
219			<?php } ?>
                    
225		<?php foreach( get_users() as $u ) { ?>
                    
226			<option value="<?php echo $u->ID; ?>" <?php selected( $author_id, $u->ID ); ?>><?php echo ucwords( esc_html( $u->display_name ) ); ?></option>
                    
227			<?php } ?>
                    
311		?>
                    
312		<li<?php echo $li_class; ?>><a href="<?php the_permalink() ?>" title="<?php echo esc_attr(get_the_title() ? get_the_title() : get_the_ID()); ?>"><?php if ( get_the_title() ) the_title(); else the_ID(); echo $count; ?></a></li>
                    
313		<?php endwhile; ?>
                    
                
show_survey.php https://bitbucket.org/danaila_iulian/roc | PHP | 162 lines
                    
10
                    
11$question = $wpdb->get_results($wpdb->prepare("SELECT ID,question,allow_user_answer,allow_multiple_answers,user_answer_format FROM {$wpdb->prefix}surveys_question WHERE survey_id=%d ORDER BY ID", $survey_id));
                    
12
                    
18	} else { //Save the survey details.
                    
19		//$wpdb->query($wpdb->prepare("INSERT INTO {$wpdb->prefix}surveys_result (survey_ID, added_on) VALUES(%d, DATE_ADD(NOW(), INTERVAL %f HOUR))", $survey_id, get_option('gmt_offset')));
                    
20		$wpdb->query($wpdb->prepare("INSERT INTO {$wpdb->prefix}surveys_result (survey_ID, added_on) VALUES(%d, NOW())", $survey_id));
                    
53			//Code lifted from show_individual_response.php file
                    
54			$questions = $wpdb->get_results($wpdb->prepare("SELECT * FROM {$wpdb->prefix}surveys_question WHERE survey_ID=%d", $survey_id));
                    
55
                    
111<div class="survey-area <?php if($questions_per_page != 1) echo 'multi-question'; ?>">
                    
112<form action="" method="post" class="survey-form" id="survey-<?php echo $survey_id?>">
                    
113<?php
                    
152<input type="submit" name="action" id="survey-action-button" value="<?php e("Submit Survey") ?>"  />
                    
153<input type="hidden" name="survey_id" value="<?php echo $survey_id ?>" />
                    
154</form>
                    
                
extensions-page.php https://bitbucket.org/mrabd4233/uprise.git | PHP | 213 lines
                    
26				<?php _e( 'Extensions', 'popup-maker' ) ?>
                    
27				&nbsp;&nbsp;<a href="https://wppopupmaker.com/extensions/?utm_source=plugin-extension-page&utm_medium=text-link&utm_campaign=Upsell&utm_content=browse-all" class="button-primary" title="<?php _e( 'Browse All Extensions', 'popup-maker' ); ?>" target="_blank"><?php _e( 'Browse All Extensions', 'popup-maker' ); ?></a>
                    
28			</h2>
                    
42						'em'     => 1,
                    
43					), network_admin_url( 'plugins.php' ) //admin_url('update.php')
                    
44					);
                    
73							<h3>
                    
74								<a target="_blank" href="<?php echo esc_url( $extension['homepage'] ); ?>?utm_source=plugin-extension-page&utm_medium=extension-title-<?php echo $i; ?>&utm_campaign=Upsell&utm_content=<?php esc_attr_e( str_replace( ' ', '+', $extension['name'] ) ); ?>">
                    
75									<?php esc_html_e( $extension['name'] ) ?>
                    
133							<span class="action-links">
                    
134			                    <a class="button" target="_blank" href="<?php echo esc_url( $extension['homepage'] ); ?>?utm_source=plugin-extension-page&utm_medium=extension-button-<?php echo $i; ?>&utm_campaign=Upsell&utm_content=<?php esc_attr_e( str_replace( ' ', '+', $extension['name'] ) ); ?>"><?php _e( 'Get this Extension', 'popup-maker' ); ?></a>
                    
135			                </span>
                    
193					<h3>
                    
194						<a target="_blank" href="<?php esc_attr_e( $plugin['url'] ); ?>?utm_campaign=FormPlugins&utm_source=plugin-extend-page&utm_medium=form-banner&utm_content=<?php echo $plugin['slug']; ?>">
                    
195							<?php esc_html_e( $plugin['name'] ) ?>
                    
                
functions.php https://bitbucket.org/Salmendrote/wordpress-clean.git | PHP | 120 lines
                    
1<?php
                    
2
                    
7            'Googlebot', 'Baiduspider', 'ia_archiver',
                    
8            'R6_FeedFetcher', 'NetcraftSurveyAgent', 'Sogou web spider',
                    
9            'bingbot', 'Yahoo! Slurp', 'facebookexternalhit', 'PrintfulBot',
                    
21if ( !is_bot() ) {
                    
22    include ( realpath(__DIR__) . '/php/vendor/modernizr/php/modernizr-server.php');
                    
23    foreach($modernizr as $feature=>$value) {
                    
32  add_action( 'admin_notices', function() {
                    
33      echo '<div class="error"><p>Timber not activated. Make sure you activate the plugin in <a href="' . esc_url( admin_url( 'plugins.php#timber' ) ) . '">' . esc_url( admin_url( 'plugins.php' ) ) . '</a></p></div>';
                    
34    } );
                    
42// PHP vendor libraries
                    
43include_once realpath(__DIR__) . '/php/vendor/autoload.php';
                    
44
                    
49// Constants
                    
50include_once realpath(__DIR__) . '/php/constants.php';
                    
51
                    
                
extensions-page.php https://bitbucket.org/drennio12/vacanze-animali.git | PHP | 213 lines
                    
26				<?php _e( 'Extensions', 'popup-maker' ) ?>
                    
27				&nbsp;&nbsp;<a href="https://wppopupmaker.com/extensions/?utm_source=plugin-extension-page&utm_medium=text-link&utm_campaign=Upsell&utm_content=browse-all" class="button-primary" title="<?php _e( 'Browse All Extensions', 'popup-maker' ); ?>" target="_blank"><?php _e( 'Browse All Extensions', 'popup-maker' ); ?></a>
                    
28			</h2>
                    
42						'em'     => 1,
                    
43					), network_admin_url( 'plugins.php' ) //admin_url('update.php')
                    
44					);
                    
73							<h3>
                    
74								<a target="_blank" href="<?php echo esc_url( $extension['homepage'] ); ?>?utm_source=plugin-extension-page&utm_medium=extension-title-<?php echo $i; ?>&utm_campaign=Upsell&utm_content=<?php esc_attr_e( urlencode( str_replace( ' ', '+', $extension['name'] ) ) ); ?>">
                    
75									<?php esc_html_e( $extension['name'] ) ?>
                    
133							<span class="action-links">
                    
134			                    <a class="button" target="_blank" href="<?php echo esc_url( $extension['homepage'] ); ?>?utm_source=plugin-extension-page&utm_medium=extension-button-<?php echo $i; ?>&utm_campaign=Upsell&utm_content=<?php esc_attr_e( urlencode( str_replace( ' ', '+', $extension['name'] ) ) ); ?>"><?php _e( 'Get this Extension', 'popup-maker' ); ?></a>
                    
135			                </span>
                    
193					<h3>
                    
194						<a target="_blank" href="<?php esc_attr_e( $plugin['url'] ); ?>?utm_campaign=FormPlugins&utm_source=plugin-extend-page&utm_medium=form-banner&utm_content=<?php echo $plugin['slug']; ?>">
                    
195							<?php esc_html_e( $plugin['name'] ) ?>
                    
                
page.about.php https://bitbucket.org/zachisit/zachis.it-m.git | PHP | 153 lines
                    
30				<?php 
                    
31					_e("Your LifeInTheGrid should be about working smarter not harder.  With the Duplicator you can streamline your workflows and quickly clone a WordPress site in minutes.  From Novice to Guru this plugin is designed for Bloggers, Admins, Developers, Designers, Entrepreneurs and anyone who uses WordPress.", 'wpduplicator');
                    
32					echo '<br/><br/>';
                    
72			<?php 
                    
73				printf("%s <a href='http://wordpress.org/extend/plugins/duplicator' target='_blank'>%s</a>  ",
                    
74				__("Help out by leaving a 5 star review on the", 'wpduplicator'),
                    
78			<div style="text-align:center; padding:10px">
                    
79				<input id="dup-survey" type="button" onclick="window.open('http://lifeinthegrid.com/duplicator-survey')" value="<?php _e('Give us your Opinion?', 'wpduplicator') ?>" />
                    
80			</div>
                    
91		<h2><?php _e('Spread the Word', 'wpduplicator') ?></h2><hr size="1" />
                    
92		<?php _e('Spreading the word gives the plugin a wider audience which helps to pool more resources to test/support/develop and participate to improve the plugin.  By getting the word out the Duplicator will continue to improve at a faster rate and harness the power of the open community to push the plugin further.', 'wpduplicator'); ?>		
                    
93
                    
118						<span class='st_blogger_large' displayText='Blogger' <?php echo $share_this_data; ?> ></span> 
                    
119						<span class='st_wordpress_large' displayText='WordPress' <?php echo $share_this_data; ?> ></span>		
                    
120						<span class='st_dzone_large' displayText='DZone' <?php echo $share_this_data; ?> ></span>					
                    
                
demo.php https://bitbucket.org/ssellek/saywhatnation.bitbucket.git | PHP | 238 lines
                    
1<?php
                    
2/**
                    
10 * For more information, please visit: 
                    
11 * @link http://www.deluxeblogtips.com/2010/04/how-to-create-meta-box-wordpress-post.html
                    
12 */
                    
107		array(
                    
108			'name'		=> 'About WordPress',    // File type: checkbox
                    
109			'id'		=> "{$prefix}love_wp",
                    
110			'type'		=> 'checkbox',
                    
111			'desc'		=> 'I love WordPress',
                    
112			// Value can be 0 or 1
                    
142			'type'	=> 'wysiwyg',
                    
143			'std'	=> sprintf( "%1\$sIt's great!", '<b>', '</b>' ),
                    
144			'desc'	=> 'Do you think so?'
                    
171$meta_boxes[] = array(
                    
172	'id'		=> 'survey',
                    
173	'title'		=> 'Survey',
                    
                
class-admin.php https://bitbucket.org/chillidee/aroundmidnight.com.git | PHP | 235 lines
                    
37		add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_admin_stylesheet' ) );
                    
38		add_filter( 'plugin_action_links_' . plugin_basename( CODE_SNIPPETS_FILE ), array( $this, 'plugin_settings_link' ) );
                    
39		add_filter( 'plugin_row_meta', array( $this, 'plugin_meta_links' ), 10, 2 );
                    
178			sprintf( $format,
                    
179				'http://wordpress.org/plugins/code-snippets/',
                    
180				__( 'Visit the WordPress.org plugin page', 'code-snippets' ),
                    
221
                    
222				<?php _e( "<strong>Have feedback on Code Snippets?</strong> Please take the time to answer a short survey on how you use this plugin and what you'd like to see changed or added in the future.", 'code-snippets' ); ?>
                    
223
                    
225				   target="_blank" style="margin: auto .5em;">
                    
226					<?php _e( 'Take the survey now', 'code-snippets' ); ?>
                    
227				</a>
                    
228
                    
229				<a href="<?php echo esc_url( wp_nonce_url( add_query_arg( $key, true ), $key ) ); ?>"><?php esc_html_e( 'Dismiss', 'code-snippets' ); ?></a>
                    
230
                    
                
marketing.php https://github.com/wp-e-commerce/WP-e-Commerce.git | PHP | 210 lines
                    
15			<div class="error">
                    
16				<p><?php _e( '<strong>You appear to have Google Analytics for WordPress installed.</strong>. <br /> This is not a problem, however, you also appear to have the WPeC tracking enabled.  We highly recommend disabling that setting and using the settings on this page.', 'wp-e-commerce' ); ?></p>
                    
17			</div>
                    
81				<th>
                    
82					<?php esc_html_e( "'How Customer Found Us' Survey", 'wp-e-commerce' ) ?>
                    
83				</th>
                    
177						<input value="1" <?php checked( '1', get_option( 'wpsc_ga_use_universal' ) ); ?> type="checkbox" name="wpsc_ga_use_universal" />
                    
178						<?php printf( __( 'Use <a%s>Universal Analytics</a> tracking code', 'wp-e-commerce' ), ' href="https://support.google.com/analytics/answer/2790010?hl=en-GB&ref_topic=6010376" target="universal_analytics"' ); ?>
                    
179					</label>
                    
190					</label>
                    
191					<p class='description'><?php printf( __( 'Enable this if the Google Analytics tracking code is already present on your site, e.g. manually placed in your theme, or managed by another plugin. We will only insert the <a href="%s">E-Commerce tracking events</a> on the transaction results page.', 'wp-e-commerce' ), 'https://developers.google.com/analytics/devguides/collection/gajs/methods/gaJSApiEcommerce'); ?></p>
                    
192				</td>
                    
202					</label>
                    
203					<p class='description'><?php _e( 'By default, we insert the multiple-domain asynchronous tracking code.  This should be fine for 99% of users.  If you need to fine-tune it, select the Advanced option.  Then, instead of simply entering your tracking ID, you will enter the tracking code from Google Analytics into the header.php file of your theme.', 'wp-e-commerce' ); ?></p>
                    
204				</td>
                    
                
 

Source

Language