bucketpress
Forum Replies Created
-
Had tried increasing the max_allowed_packet on mariaDB. Doesn’t solve it for me. I will look into this further. Will make do with with version 2.7.0.5 for the theme for now.
Hi @davidvongries ,
This is the debug info:
WordPress database error Got a packet bigger than ‘max_allowed_packet’ bytes for query UPDATE wp_options SET option_value = ‘a:8:{s:32:\”a7584e71496727f29795e4d7cafc54af\”;s:146939:\”/* [0] */\n@font-face {\n font-family: \’Noto Sans HK\’;\n and a huge huge huge chunk of unicode font data }’ WHERE option_name = ‘_transient_kirki_remote_url_contents’ made by require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/page-builder-framework/page.php’), get_header, locate_template, load_template, require_once(‘/themes/page-builder-framework/header.php’), wp_head, do_action(‘wp_head’), WP_Hook->do_action, WP_Hook->apply_filters, Kirki\Module\CSS->print_styles_inline, Kirki\Module\CSS->print_styles, do_action(‘kirki_dynamic_css’), WP_Hook->do_action, WP_Hook->apply_filters, Kirki\Module\Webfonts\Embed->the_css, Kirki\Module\Webfonts\Downloader->get_styles, Kirki\Module\Webfonts\Downloader->get_cached_url_contents, set_transient, update_option- This reply was modified 4 years, 5 months ago by bucketpress.
- This reply was modified 4 years, 5 months ago by bucketpress.
- This reply was modified 4 years, 5 months ago by bucketpress.
@jeanp Hoping this might be useful for others who are reading the thread:
Currently the only way we have to customise the template is to copy the file templates/print-order/print-content.php to our theme directory /woocommerce/print-order.
And within the template, we could use the following to determine which action has been called and then customise the output accordingly:
if ( wcdn_get_template_type() === ‘invoice’ ) {
//our customised output
}if ( wcdn_get_template_type() === ‘delivery-note’ ) {
//our customised output
}if ( wcdn_get_template_type() === ‘receipt’ ) {
//our customised output
}Forum: Plugins
In reply to: [Content Parts] 1.6 update – breaks websiteNice work. Working good now!
Forum: Plugins
In reply to: [Content Parts] 1.6 update – breaks websiteI think implementing the auto divs is a good idea, but it should be limited to only when
the_content()is called. i.e when users have no need to use the plugin’s custom template tags such asthe_content_parts(). This is useful for users who have no need to format or retrieve specific parts. So this makes the plugin work out of the box for users who don’t want to edit their theme’s templates.However, when using the plugin’s template tags such as
the_content_parts(), we should revert back to what it was prior ver 1.6 .Forum: Plugins
In reply to: [Content Parts] 1.6 update – breaks websiteHey @ivorst @kathybarber @corneflikweert
If you look at the changlog at https://wordpress.org/plugins/content-parts/#developers , you will see that the plugin now ‘Automatically output <div> blocks around content parts in the main content on single posts and pages. Disable via the content_parts_auto_content filter.’
Prior versions didn’t have that. So we’ll need to add the following to our theme’s functions.php to solve your issues:
add_filter( 'content_parts_auto_content', function($url){ return false; });Forum: Plugins
In reply to: [WooCommerce Stripe Payment Gateway] Credit Cards Images BugHey @samariter,
This is not a good suggestion, because I believe the plugin checks for what cards can be accepted by Stripe based on the shop’s locale, and shows each card image based on the check.
Forum: Plugins
In reply to: [WooCommerce Stripe Payment Gateway] When will JCB be ready?Hey @st810amaze,
This is not an issue of the plugin – it is an issue with Stripe not supporting JCB outside of USA. So unless Stripe moderators are reading the plugin’s github repo, then submitting this there won’t help. I think it’s more effective to submit your concewrns with Stripe.com directly.
Please have a look here: https://support.stripe.com/questions/which-cards-and-payment-types-can-i-accept-with-stripe
- This reply was modified 9 years, 5 months ago by bucketpress.
Forum: Plugins
In reply to: [Caldera Forms - More Than Contact Forms] Loading Form via AjaxHi David,
Having the same issues too. I’m loading a page via ajax which I included a form in the template by calling do_shortcode(). The form shows and assets such as numeric range and datepickers are working, but on form submit, it reloads to a new empty page showing the json for a successful for submission.
These are what I have tried but it’s still having the same problem:
– I have tried including wp_enqueue_script( ‘cf-dynamic’ ); in my functions.php.– I have also tried to load via ajax the api URI /cf-api/<form_id>/ through javascript, instead of using the shortcode to load it in the php template.
Is there anything else that should be done so that the ajax submission works properly?
Forum: Fixing WordPress
In reply to: Custom post type TAXONOMY prev/next links – by tax/categoryHi digitalrenewal, you might want to have a look at this. Had run into the same issue previously and thought I might take a note of it:
http://bucketpress.com/next-and-previous-post-link-in-same-custom-taxonomyAnd by the way, will be useful to take note of vjpo’s comment – the difference between next_post_link and next_posts_link. Though it doesn’t actually solve your custom tax issue.
Forum: Plugins
In reply to: [Attachments] Only appears after i publish the postHi Jonathan and Mark: I have been doing some tests, and I realised that the issue could be related to how we name our custom post types. I created 2 custom post types. The custom post types are created without the use of any plugin. One named ‘cooking-class’ and the other named ‘recipe’. I registered attachments instances for each post type separately.
The attachments metabox appeared without any problem for the ‘recipe’ post type, but it only appeared after I publish a post for cooking-class’.
Seems like the ‘-‘ in how I named the post type is causing the difference.
Tested this using a clean install, all plugins deactivated except for attachments.
Forum: Plugins
In reply to: [Attachments] Only appears after i publish the postHi, I think this issue only happens on custom post types ‘add new’ screens. My setup is this:
– Latest WordPress
– Latest Attachments
– Twenty Eleven Theme
– Customisations in functions.php – created a custom post type and created an instance for attachments.On default Post and Page ‘add new’ screens, The attachment Meta Box appears properly. But on the Custom Post Type ‘add new’ screen, I’ve to ‘publish’ the post before the Attachments meta box appears for me to attach files.
I’m posting this here instead of git since there is already a thread here.