fergieferg
Forum Replies Created
-
Hey Phi,
I tested your newest version and the error went away. I still can’t get it to work for my use case, but thanks for adding the null check.
Regards,
FergalHey Phi,
Thanks for the insights. I believe the settings are show in rest by default, but I will check with them as well.
In this screenshot are there supposed to be suggested values for “Field name”? I don’t see any and when I start typing here this is when the error is triggered.
Thanks,
FergalHey Phi,
Thanks for your reply. Please see the console error and the error in the block here:
Forum: Themes and Templates
In reply to: [Twenty Twelve] Pagination stops working after page 2Actually, it might be due to the code I’m using for the specific category. Can anyone please help with this issue?
<?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; $args = array( 'posts_per_page' => 5, 'order'=> 'ASC', 'orderby' => 'title', 'category_name' => 'exercising', 'paged' => $paged,'post_type' => 'post' ); $postslist = new WP_Query( $args ); if ( $postslist->have_posts() ) : while ( $postslist->have_posts() ) : $postslist->the_post(); echo "<div style='border:1px groove gray; margin-bottom:5px;'><h3 class='btposth'><a href='" . get_the_permalink() . "'>"; the_title(); echo "</a></h3><div class='btpostdiv'>"; the_excerpt(); echo "</div></div>"; echo "<br />"; endwhile; next_posts_link( 'Next Page', $postslist->max_num_pages ); echo " "; previous_posts_link( 'Previous Page »' ); wp_reset_postdata(); endif; ?>
Forum: Themes and Templates
In reply to: [Twenty Twelve] How to incorporate a href in wp_query?Was really hoping you’d reply Michael, I’ve seen you be of great help on a number of questions. Your code worked, thank you so much! This was such a nuisance to try and figure out.
Forum: Plugins
In reply to: [Calculated Fields Form] Nested If StatementGot it.
(function(){
if(AND(fieldname5>0,fieldname1==’Male’)) return fieldname5*1.9;
if(AND(fieldname5>0,fieldname1==’Female’)) return fieldname5*1.7;
if(fieldname5<=0) return fieldname5*1;
})();Forum: Plugins
In reply to: [Calculated Fields Form] Concatenate Calculated FieldsThis is perfect thank you so much for your help codepeople
Forum: Plugins
In reply to: [Calculated Fields Form] Concatenate Calculated FieldsThat worked! Thank you so much for the super quick reply/solution.
I have another issue (more than happy to start a new thread). One of the prerequisites for this range to display is for age to be selected. Yet a range is displaying even before the age is determined. How do I set it to where the range only displays after age is chosen?
To clarify, age is the first field and I don’t want any other data to populate until age is set by the user.
Forum: Themes and Templates
In reply to: [Twenty Twelve] Help Expanding Blog Height to Full PageThanks so much guys!
body .site {
margin: 0;
}Is the one that worked. Appreciate it.
Forum: Themes and Templates
In reply to: [Twenty Twelve] Help Expanding Blog Height to Full PageYes that space. Do you know how I delete that? Is it in body {} or .site {}?
Thanks
Forum: Themes and Templates
In reply to: [Twenty Twelve] Help Expanding Blog Height to Full PageYea makes sense thanks. Sure it is
https://www.fitnessprogramshop.com/Can’t quite seem to find the right location, but will keep tinkering and appreciate your help.
Forum: Themes and Templates
In reply to: [Twenty Twelve] Help Expanding Blog Height to Full PageI see thanks for your response, I’d like to give this a try. How do I verify the parent element of a class?
Forum: Themes and Templates
In reply to: [Twenty Twelve] Help Expanding Blog Height to Full PageYes correct, 100% of browser window. Thanks for clarifying.