Antonio Villegas
Forum Replies Created
-
Forum: Plugins
In reply to: [Nelio AB Testing] I was just curious if I'll need a PAID account from Nelio?Hi Gary,
You can download and test the plugin. We offer a free trial (unlimited time, limited tested page views). After that, you can subscribe to one of our plans.
Thanks for your interest in our services!
Hi! Please, change the following piece of code in content-single.php of your theme:
if( has_post_thumbnail() ): $img_url = wp_get_attachment_image_src( get_post_thumbnail_id(), 'single-thumb' ); ?> <img src="<?php echo $img_url[0]; ?>" alt="<?php the_title_attribute(); ?>" title="<?php the_title_attribute(); ?>" /> <?php endif;
With the following piece of code:
if ( has_post_thumbnail() ): if ( function_exists( 'uses_nelioefi' ) && uses_nelioefi( $post->ID ) ) { echo the_post_thumbnail(); } else { $img_url = wp_get_attachment_image_src( get_post_thumbnail_id(), 'single-thumb' ); ?> <img src="<?php echo $img_url[0]; ?>" alt="<?php the_title_attribute(); ?>" title="<?php the_title_attribute(); ?>" /> <?php } endif;
And also change in your inc/profitmag-functions.php file of your theme the following fragment:
$image_url = wp_get_attachment_image_src( get_post_thumbnail_id(), 'slider-beside' );
with this fragment:
if ( function_exists( 'uses_nelioefi' ) && uses_nelioefi( get_the_ID() ) ) { $image_url = nelioefi_get_thumbnail_src( get_the_ID() ); } else { $image_url = wp_get_attachment_image_src( get_post_thumbnail_id(), 'slider-beside' ); }
Probably you’ll also need to change other parts of your theme where the wp_get_attachment_image_src function appears, but with these two examples you’ll get the idea of doing it.
Best!
Forum: Plugins
In reply to: [Contact Form 7] URL seems invalidHi Takayuki,
I’m using WP4.1, hosted in WPEngine.
The form is here: https://nelioabtesting.com/affiliate-program/
Thanks for your help.