thomas_hoadley
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce PayPal Pro Payment Gateway] Error: duplicate invoice ID supplied+ 1 to this issue.
WP: Version 5.8.1
Woocommerce: Version 3.9.4
WooCommerce PayPal Pro (Classic and PayFlow Editions) Gateway: Version 4.4.17@hartey11 I used another plugin as couldn’t solve!
Forum: Plugins
In reply to: [SEO & redirect] Redirects no longer savingThank you, will update to latest version!
Forum: Plugins
In reply to: [LinkedIn Company Updates] Reset Access TokenFor anyone who needs help on this you have to go into your linkedin account > Settings and Privacy > Partners and Services > Permitted services… then remove the site from your list.
- This reply was modified 7 years, 1 month ago by thomas_hoadley.
Forum: Plugins
In reply to: [WooCommerce] Turn off required ‘Create Account’ password.I’ve discovered that it’s actually coming from the ‘Woocommerce Subscriptions’ plugin latest update…
Forum: Plugins
In reply to: [WooCommerce] Turn off required ‘Create Account’ password.Thanks for the response Riaan! I switched to Twenty Sixteen (with all plugins still active) and it still doesn’t work. I will try deactivating the plugins…
- This reply was modified 7 years, 11 months ago by thomas_hoadley.
Forum: Plugins
In reply to: [WooCommerce] adding shipping address to checkout page on woocommerceSame issue. Have disabled my theme and all plugins yet the shipping fields still don’t show. Is it an issue with the latest version?
Forum: Plugins
In reply to: [WooCommerce] Only unhook on particular product categoriesFor anyone who has the same problem… Add category names to the body then run function after everythings loaded using the template_redirect hook.
add_action('template_redirect', 'hook_after_load'); // woocommerce ammends function hook_after_load(){ $classes = get_body_class(); if (in_array('product_cat_adoption',$classes)) { add_action( 'woocommerce_single_product_summary', 'custom_product_function', 10 ); } }
Forum: Plugins
In reply to: [The Events Calendar] error – tribe_get_events is showing hidden eventsJust a quick one to say thanks for all your hard work Geoff!!
Forum: Plugins
In reply to: [The Events Calendar] error – tribe_get_events is showing hidden eventsSolved.
Included a meta_query in tribe_get_events to find all the events where the _EventHideFromUpcoming meta didn’t exist. My loop looks like this! Hope it helps!
` <?php
// php date formatting – https://php.net/manual/en/function.date.php
global $post;
$CurrentDate = date(‘Y-m-d’);
$events = tribe_get_events(array(
‘posts_per_page’ => 1,
// filters past events
‘start_date’ => $CurrentDate,
// meta query
‘meta_query’ => array(
array(
‘key’ => ‘_EventHideFromUpcoming’,
‘compare’ => ‘NOT EXISTS’, // works!
‘value’ => ” // This is ignored, but is necessary…
),
)
));
foreach ( $events as $post ) {
setup_postdata( $post );
echo “<span class=’event’>” . $post->post_title . “</span>”;- This reply was modified 8 years, 2 months ago by thomas_hoadley.
- This reply was modified 8 years, 2 months ago by thomas_hoadley.
Forum: Plugins
In reply to: [The Events Calendar] Event excerpt in list viewFound a hacky solution…
Go to plugins/the-events-calendar/src/functions/template-tags/general.php
Find the line
return apply_filters( 'tribe_events_get_the_excerpt', $excerpt, $post );
Then change it to this…
if( strlen($excerpt) < 251) { $edited_excerpt = substr($excerpt, 0, 251); } else { $edited_excerpt = substr($excerpt, 0, 251) . '...'; } return apply_filters( 'tribe_events_get_the_excerpt', $edited_excerpt, $post );
Forum: Plugins
In reply to: [The Events Calendar] Event excerpt in list viewPlus one for this issue! Would really appreciate any help! ??
P.S. Thanks for all the work you do for the community Aguseo!
Forum: Plugins
In reply to: [Photography Management - WordPress Photo Proofing Plugin] Image's not foundStrange, I’ve actually fixed the problem… There was a .htacess in /uploads/photography_management/ folder which was breaking it… Not sure why though!