rodeored
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Adding items to cart with a custom formIts running WC_Cart->calculate_totals() twice and $this->cart_contents_count is not reset to zero, so it gets added twice. How do I get around this? I’m not calling calculate totals or even WC_Cart , I’m using the global $woocommerce object that’s already been created.
Forum: Plugins
In reply to: [eShop] Digital product optionI got the email from paypal with the transaction code soon after I made the purchase. The delayed email was the email with the link to the download products. I’m not saying it was because of eshop, I don’t know what causes the delay.
Forum: Plugins
In reply to: [eShop] Digital product optionI did eventually get the email with the link to download the product, 12 hours later.
Forum: Plugins
In reply to: [WP Social AutoConnect] Automatic loginactually I tried
$(‘fwb’).click();I had added a button to the admin with an index of 6, and this replaced the events button. So I took out the index number out of add_menu_page of the admin_menu action for my new button and this fixed the problem
Forum: Plugins
In reply to: [Timely All-in-One Events Calendar] Hook for event in calendarI was able to get the filter working like so:
function filter_calendar_content( $to_return, $content ) {
$to_return=$content.=”Add this to the content”;
return $to_return;
}add_filter(‘ai1ec_event_content’,’filter_calendar_content’, 10, 2 );
However, this filter only effects the calendar page for that event, which you can get to by clicking on “Read More”. It doesn’t have any effect on the content of each date in the calendar. How do I hook into the calendar dates? I
Forum: Plugins
In reply to: [Timely All-in-One Events Calendar] Hook for event in calendar$content=”WHAT GOES HERE?”
// Pass the orginal content to the filter so that it can be modified
return apply_filters(
‘ai1ec_event_content’,
$to_return,
$content
);Forum: Plugins
In reply to: [Timely All-in-One Events Calendar] Hook for event in calendarInorder to pass the original content, I need to get the original content. How do I get the original content?
// Pass the original content to the filter so that it can be modified
return apply_filters(
‘ai1ec_event_content’,
$to_return,
$content
);Forum: Plugins
In reply to: [Timely All-in-One Events Calendar] Hook for event in calendarI’ll modify the file until I can figure out how to use apply_filters. Which file do I modify?
Forum: Plugins
In reply to: [Timely All-in-One Events Calendar] Hook for event in calendarI think perhaps my problem is that I don’t know how to use the filter. Is there an example somewhere of how to use this filter?
yes
Yes the plugin and the addon are both active. I do not have an “Events” menus item in the admin dashboard.
Forum: Plugins
In reply to: [Timely All-in-One Events Calendar] Hook for event in calendarYes I know that, but I don’t know how to get the event content so I can use it in $content. Is there an example of this anywhere?
Forum: Plugins
In reply to: [Timely All-in-One Events Calendar] Hook for event in calendarHow do i get the event content so I can pass it to the filter?
No, I don’t see the events tab which has the “Calendar Themes” either
I have
All-in-One Event Calendar Extended Views