pq
Forum Replies Created
-
I don’t know why this issue is marked resolved, when the flag image is still missing from the directory after the latest update (1.7.4).
Forum: Plugins
In reply to: [Events Manager - OpenStreetMaps] Fatal ErrorI just rolled back the plugin to version 2.5.0 and the site works now. The error message that v. 2.9.3 generates (pasted in above) is pretty specific; is it not enough to go on?
I can’t leave my staging site broken; esp. can’t risk having the broken plugin merged inadvertently into production, so am going to keep the old version and maybe try again with the next update. Hope this gets figured out.
Forum: Plugins
In reply to: [Events Manager - OpenStreetMaps] Fatal ErrorPHP 7.2. Do I need to upgrade to 7.3?
Forum: Plugins
In reply to: [Events Manager - OpenStreetMaps] Fatal ErrorUpdate: removed the plugin using sftp; updated WP core & re-added plugin. Activation killed the site again. Will remove again, but all of the events use maps so not sure how to proceed. Obviously I can’t push this to production.
Forum: Plugins
In reply to: [DK PDF] Error when inserting Gallery in WordPress 5I’m having the same problem whenever there is a gallery embedded on a page (single images seem to be okay). Is there any progress on this? It’s pretty much a deal-breaker. Please help!
- This reply was modified 5 years, 8 months ago by pq.
Forum: Plugins
In reply to: [Sticky Posts - Switch] Sticky CPT entry appearing on every single entry pageI’m having the same problem. On the list page, the sticky posts behave as expected, but the single post is screwy. Two (or even three) articles show up on the single post, and a related posts query at the bottom of the page miscounts the number of posts , even though ignore_sticky_posts => 1 is in the query.
https://indyeastend.staging.wpengine.com/real-estate/iconic-brand-reinvented/Ideas?
thanks,
pqThanks so much for your quick reply! Will look into this option and check with our web host.
Forum: Plugins
In reply to: [Eventbrite API] Works on localhost but not on staging?Looks like I was just being impatient; a couple of hours later, I looked at the page on staging again and it’s working. Huzzah!
Forum: Plugins
In reply to: [Contact Form 7] Form submits with empty required text fieldsI’m also using the database extension for the plugin, and checking the list of submissions, it’s clear that the form is accepting the placeholder text as a form field value.
Checking the generated code, I can see that the values of the text fields are, in fact, empty:
<input type="text" name="firstname" value="" size="40" class="wpcf7-form-control wpcf7-text wpcf7-validates-as-required" aria-required="true" aria-invalid="false" placeholder="First Name" />
– but the db list shows that the above field gets submitted with a value of “First Name.” Is there something additional that one needs to do in order to tell the form validation script that a placeholder value is not a form field value?
Forum: Plugins
In reply to: [Contact Form 7] Form submits with empty required text fieldsNope, not getting any js errors.
The screen shot you posted is what happens with an empty *email* field. Notice that the message is not saying, “Hey this field is empty,” it’s just hollering that it’s not a valid email address.
The problem I’m having is that if a user enters a valid email address but nothing else, the form will submit. The text fields do not validate as required; and as far as I can tell, the email field is not validating as required, either; its validation seems to be only for correct format.
Forum: Plugins
In reply to: [Contact Form 7] Form submits with empty required text fieldsMaybe I was unclear – the form accepted three empty required fields. This is not resolved yet…
Forum: Plugins
In reply to: [Contact Form 7] Form submits with empty required text fieldsHm, seeing your post, I thought, “Maybe it’s submitting b/c I’m logged in?” So I logged out of the back end, refreshed the page, entered ONLY an email address, and got sent right to the thank you page.
Forum: Plugins
In reply to: [Contact Form 7] Form submits with empty required text fieldsWP 4.0
WPCF7 3.9.3There are two identical forms on the page; I created separate wpcf7 forms so that they would not cross-validate.
Forum: Plugins
In reply to: [WP-PageNavi] pagination fails on /page/3/ and aboveFound the answer here: https://wp.tutsplus.com/tutorials/custom-post-type-pagination-chaining-method/
I moved $numposts definition from archive-cwa_stories.php to functions.php and removed the ‘posts_per_page’ element from the $story_query. Then I created a new page-cwa_stories.php following the instructions on wptuts.
So the whole solution:
1. Add to functions.php:
// set number of posts to 15 on Our Stories page and enable pagination function stories_posts_per_page( $query ) { $numposts = ''; if(!is_handheld()) { $numposts = 15; } elseif(is_handheld() && !is_tablet()) { $numposts = 2; } else { $numposts = 6; } if ( $query->query_vars['post_type'] == 'cwa_stories' ) $query->query_vars['posts_per_page'] = $numposts; return $query; } if ( !is_admin() ) add_filter( 'pre_get_posts', 'stories_posts_per_page' );
2. Update custom post query on archive-cwa_posts.php:
$story_query = new WP_Query( array ( 'order' => 'ASC', 'orderby' => 'title', 'paged' => $paged, 'post_type' => 'cwa_stories', 'post_status' => 'publish', ) ); if ($story_query->have_posts()) : while ( $story_query->have_posts() ) : $story_query->the_post();
3. Create page-cwa_stories.php with only this content:
/* Template Name: Our Stories */ $paged = 1; if ( get_query_var('paged') ) $paged = get_query_var('paged'); if ( get_query_var('page') ) $paged = get_query_var('page'); query_posts( '&post_type=cwa_stories&paged=' . $paged ); require_once( 'archive-cwa_stories.php' );
4. Set this as the template for /our-stories page.
Pagination works! Shout out to Justin Carroll!
Forum: Plugins
In reply to: [WP-PageNavi] pagination fails on /page/3/ and aboveI should add that I have set the $paged var before the wp_query:
$paged = ( get_query_var( 'paged' ) ) ? get_query_var( 'paged' ) : 1;