abdm
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Crowdfunding] Paypal Adaptive Payments Deprecated / Replacement?Hi, thanks. Any update?
Cheers.
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] WPAdverts – Google Analytics – SetupThe email is copied from the generated json file. About the service account, yes, is added. Look:
captureForum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Ads page infinite loop > 1.1.3Ok, thank you.
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Ads page infinite loop > 1.1.3Problem solved but again modifying your plugin. Maybe as the author of the plugin you can change the way you iterate through the posts when the ad is single.
So the modified function looks like this:
function adverts_the_content($content) { global $wp_query; if (is_singular('advert') && in_the_loop() ) { ob_start(); $post_id = get_the_ID(); $post_content = get_post( $post_id )->post_content; $post_content = wp_kses($post_content, wp_kses_allowed_html( 'post' ) ); $post_content = apply_filters( "adverts_the_content", $post_content ); include apply_filters( "adverts_template_load", ADVERTS_PATH . 'templates/single.php' ); $content = ob_get_clean(); $wp_query->next_post(); // NOTE ADDED THIS LINE } elseif( is_tax( 'advert_category' ) && in_the_loop() ) { add_action( 'adverts_sh_list_before', 'adverts_list_show_term_description' ); $content = shortcode_adverts_list(array( "category" => $wp_query->get_queried_object_id() )); remove_action( 'adverts_sh_list_before', 'adverts_list_show_term_description' ); } return $content; }I would like to hear your thoughts about it.
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Ads page infinite loop > 1.1.3Works fine on a new wordpress with same theme/plugins and config (which is weird). I need to make further tests. So right now the problems seems to be on my end.
PS: I’ll update the post if I found something.
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Ads page infinite loop > 1.1.3Ok, let me test with a clean wordpress instance and see what happens.
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Ads page infinite loop > 1.1.3Well it is. The result is always the same no matter the version, 1.1.6 included. Broken styles/structure and the ad itsef (images, content, etc) repeated and wordpress/server been unresponsive due to the loop.
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Ads page infinite loop > 1.1.3Hi, we are using the Kleo theme by seventhqueen.
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Addon bought – Paypal issueHi, I’ve sent you via https://wpadverts.com/contact/ a new message with all the info.
PD: If you can elaborate the last part, maybe is the solution for us. But I want it to be clear before proceed.
Cheers
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Renew Ad not workingOk, I’ll be waiting for it.
Cheers
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Renew Ad not workingAnother related question if you don’t mind. Can I allow users free renewals only if the ad has expired or a week before it expires?
Now I’m trying to test it but it keeps saying that I can only renew once a week.
Cheers
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Renew Ad not workingThanks, problem solved. Now shows the renew button.
Cheers.