Vovi
Forum Replies Created
-
Forum: Plugins
In reply to: [Redirection] REST API Woesok, thanks. Another wasted morning then.
What a pain.
Forum: Plugins
In reply to: [Redirection] REST API WoesHi John,
So you are saying it *should* work?
Have you ever tested giving access to another role and got it working?
I take it you don’t support redirecting the templates?
With more and more developers moving away form themes this needs looking at.
As a follow up to anyone that maybe finds themselves in a similar situation, the issue was I was using query_posts(). When I rewrote the code to use wp_query() instead it worked as intended and no more unrequired step one page
😀
To add… I’m happy to purchase the Form manager, but it doesn’t look like it supports what I want to achieve, just fixed options not dynamic.
Hi, a modified version of that snippet, yes. I just tried an unchanged version of your exact snippet and it works 🙁 – which makes no sense to me.
I’m basically trying to populate a dropdown from 2 CPTs. Its works a treat but just has this strange knock on effect.
My main function code is:
/* * Add Custom Donation Form Fields * * @param $form_id */ function give_win_custom_form_fields( $form_id ) { // Only display for forms with the IDs "754" and "578"; // Remove "If" statement to display on all forms // For a single form, use this instead: // One-off Donation Form if ( $form_id == 211294) { // $forms = array( 211294 ); //if ( in_array( $form_id, $forms ) ) { ?> <div id="gift_location-wrap" class="form-row form-row-full"> <label class="give-label" for="gift_location"> Where would you like the gift to be used? <span class="give-required-indicator">*</span> </label> <select id="gift_location" name="gift_location" data-required="yes" data-type="select" required="required" tabindex="-1"> <option value="wherever it will help the most" selected="selected">wherever it will help the most</option> <?php query_posts(array( 'post_type' => 'countries', 'posts_per_page' =>-1, 'meta_query' => array( array( 'key' => 'donation_availability', 'value' => '"One-off"', 'compare' => 'LIKE' )) ) ); while (have_posts()) : the_post(); ?> <option value="<?php the_title(); ?>"><?php the_title(); ?></option> <?php endwhile;?> <?php query_posts(array( 'post_type' => 'appeal', 'posts_per_page' =>-1, ) ); while (have_posts()) : the_post(); ?> <option value="<?php the_title(); ?>"><?php the_title(); ?></option> <?php endwhile;?> </select> </div> <?php // endif; } } add_action( 'give_after_donation_levels', 'give_win_custom_form_fields', 10, 1 );
Forum: Plugins
In reply to: [WooCommerce Weight Based Shipping] Blank Page in SettingsSame for me… This is my console
Uncaught TypeError: Cannot assign to read only property ‘getCurrentPosition’ of object ‘#<Geolocation>’
at client.js:1
at client.js:1
at client.js:1
at client.js:1
at Object.<anonymous> (client.js:1)
at Object.<anonymous> (client.js:1)
at __webpack_require__ (client.js:1)
at Object.<anonymous> (client.js:1)
at __webpack_require__ (client.js:1)
at Object.<anonymous> (client.js:1)
at __webpack_require__ (client.js:1)
at client.js:1
at client.js:1Forum: Plugins
In reply to: [Post SMTP Mailer/Email Log] Random timeout using smtp.office365.comI have this happening on two sites (two different servers – two different hosts and no security plugins.). The only common denominator is the plugin and Office365
I understand what you are sayng, but it doesnt help me. I need to sort this. Is there any debugging I can do to try to understand what is happening?
The one I’m particularly worried about is a beast of a server and is never under load. The site sends about 500 emails a day and one in about 50 will timeout for no apparant reason.
Im completely stuck
Forum: Plugins
In reply to: [Post SMTP Mailer/Email Log] Random timeout using smtp.office365.comChanging SPF didnt fix it for me ….. How about you?
Forum: Plugins
In reply to: [Post SMTP Mailer/Email Log] Random timeout using smtp.office365.comI asked the exact same thing on another thread – https://wordpress.org/support/topic/o365-issues-random-fails/
I have modofoed by SPF record, but so far im still seeing the issue, but it might be timing, so im going to wait and see.
Forum: Plugins
In reply to: [Post SMTP Mailer/Email Log] O365 Issues – Random fails.I did this last night (cloudflare) and this morning I saw another timeout
Do you know if MS check spf record every time, or maybe they are using cached record for a while?
Forum: Plugins
In reply to: [Post SMTP Mailer/Email Log] O365 Issues – Random fails.OK, I will give that a go, thanks!
Forum: Plugins
In reply to: [The SEO Framework] Sitemap 404OK, disabling the 404 snippet has fixed it …thanks.
As an update to this, even though the code is not written to the header in the ‘View-Source’ it IS WORKING.
I can tell by looking at real time visitors in Analytics. When I accept it sees me and shows me what page I am on etc. As soon as I change settings and disable 3rd party cookies it no longer tracks me and 30 secs later I go down to zero real time visitors.
Do a similar test @rcaboni and let us know how you get on.