Is there an A/B testing plugin that lets you vary the heading, featured image, and content in a WordPress post?
ShrimpTest is a simple and easy way to add AB testing all over a site: http://wordpress.org/extend/plugins/shrimptest/
ShrimpTest is a simple and easy way to add AB testing all over a site: http://wordpress.org/extend/plugins/shrimptest/
The below should work as is (with your strings for the new message and the theme’s text domain), when inserted in your theme’s functions.php: function wpse71032_change_tml_registration_message( $translated_text, $text, $domain ) { if( $domain === ‘theme-my-login’ && $text === ‘Your registration was successful but you must now confirm your email address before you can log in. … Read more
WordPress will not help you here. In back-end use conservative XHTML 5: <br />, but not <figure> (see WP coding standards). In front-end … it is hard to determine the Doctype and the usage of polyfills, so stay with regular HTML as long as possible or load the necessary polyfills from your plugin.
WP_Query selects posts and not meta value that is way you are not getting the value. You can use the returned post ID to get the value something like: $args = array( ‘post_type’ => ‘post’, ‘post_status’ => ‘publish’, ‘posts_per_page’ => 1, ‘meta_key’ => ‘picture_upload_1’ ); $dbResult = new WP_Query($args); global $post; if ($dbResult->have_posts()){ $dbResult->the_post(); $value … Read more
Firstly, doing this with CSS in my mind absolutely isn’t the way to go. Secondly, paying 129$ for an extension to have this minor feature would just be ridiculous – nothing against the plugin per se. Thirdly, below outlined basic solution is based on the example from the add_meta_box codex page. There are various other … Read more
I skimmed through the source of the wp_notify_postauthor() function and noticed the comment_notification_recipients filter. I wonder if you could simplify your plugin to the following code snippet: <?php /** * Plugin Name: Disable comment/trackback/pingback notifications emails * Plugin URI: http://wordpress.stackexchange.com/a/150141/26350 */ add_filter( ‘comment_notification_recipients’, ‘__return_empty_array’, PHP_INT_MAX ); add_filter( ‘comment_moderation_recipients’, ‘__return_empty_array’, PHP_INT_MAX ); where we use an … Read more
You can clearly see the way WordPress loads plugins if you inspect the source code of the file wp-settings.php. The function wp_get_active_and_valid_plugins() loads plugins for individual sites in the network and for non-Multi-Site installations, while wp_get_active_network_plugins() loads network activated plugins when Multi-Site is enabled. The former more or less just calls get_option() to get the … Read more
You should be able to get the current logged in user ID and then use pre_get_posts to alter the main query on the home/blog page to only show posts from that specific user. As I understand, you are talking specifically about authors. You might want to also check the user’s capabilities as well as simple … Read more
WooCommerce uses the template_include filter/hook to load main templates like archive-product.php and single-product.php. And here’s the class which handles main templates. And there’s a filter in that class which you can use to capture the default file (name) which WooCommerce loads based on the current request/page — e.g. single-product.php for single product pages. You can’t, … Read more
If it’s exactly the same code, then no – it shouldn’t cause any performance changes… Why? Because loading a plugin is pretty easy (hence quick) process. It all happens in wp-settings.php and this is the code: // Load active plugins. foreach ( wp_get_active_and_valid_plugins() as $plugin ) { wp_register_plugin_realpath( $plugin ); include_once( $plugin ); } unset( … Read more