wallacelin
Forum Replies Created
-
Nevermind, turns out it was just Autoptimize. D’oh!
Hello @kokkieh,
Thank you, I have modified and added this filter to my child theme. While I can confirm this added support for my post types (posts and the portfolio), I still can’t get infinite scroll to work on the portfolio archives.
This is my filter:
/* Add inifinite scroll support for blog and portfolio */ function jetpack_infinite_scroll_support() { $supported = current_theme_supports( 'infinite-scroll' ) && ( is_home() || is_post_type_archive('post') || is_post_type_archive('x-portfolio') ); return $supported; } add_filter( 'infinite_scroll_archive_supported', 'jetpack_infinite_scroll_support' );Getting desperate here, so I’m going to share the rest of my code:
/* Enable infinite scroll by Jetpack */ function jetpack_infinite_scroll_init() { add_theme_support( 'infinite-scroll', array( 'type' => 'click', 'container' => 'content', 'render' => 'jetpack_infinite_scroll_render', 'posts_per_page' => get_option('posts_per_page'), 'footer' => 'global-footer', 'footer_widgets' => true, 'footer_callback' => 'no_jetpack_footer', ) ); } add_action('after_setup_theme', 'jetpack_infinite_scroll_init');and for my render function adapted for X Theme:
/* Render posts on infinite scroll */ function jetpack_infinite_scroll_render() { $is_filterable_index = is_home() && x_get_option( 'x_ethos_filterable_index_enable' ) == '1'; if (get_post_type() == 'post') { if ( $is_filterable_index ) : x_get_view( 'ethos', '_index' ); else : x_get_view( 'global', '_index' ); endif; } else if (get_post_type() == 'x-portfolio') { x_get_view( 'global', '_portfolio'); } }By all means this should be able to render the portfolio posts, but nothing different occurs. Either my render code is wrong or I am missing some other settings?
Forum: Plugins
In reply to: [WooCommerce Square] Payment failing (Bad_request: intent_mismatch)Hello all, the same issue has occurred on my site (BAD REQUEST: INTENT_MISMATCH) and I was running 2.1.1 before I downgraded to 2.0.8. Seems like the issue only occurred to one customer but I cannot confirm much else.
I am also running WooCommerce 3.9.2 and WordPress 5.3.2. Perhaps need to update these?
Looking forward to a resolution, thank you!
Hello @aamahin, thank you for responding to my issue. We have added some custom coded features so unfortunately cannot try and update at this time, although you are right this is something we need to do.
For now, is it possible to disable the day of the week from being displayed along with the event’s date and time so we can remove that pesky no-space-after-comma issue?
Please let me know, thank you!
Forum: Plugins
In reply to: [WooCommerce] wc_add_notice() doesn’t work on checkout pageHello, has anyone else run into problems using
wc_add_notice? I have custom code using the filterwoocommerce_add_to_cart_validationto restrict the cart from adding products by categories and display a notice, which does occur but the text message itself is missing.My code is as follows:
$message = __( 'Breakfast and non-breakfast items cannot be ordered at the same time.', 'woocommerce' ); wc_add_notice( $message, 'error' );It doesn’t work even if I change it to
wc_add_notice( 'Hello world!', 'error' );and I’m sure it worked before I updated WC to 3.9.1. (my WordPress version is 5.3.2.)I see a thread has been opened on github but I don’t believe this issue is resolved. I’ll continue testing to see if it’s just my code.
Forum: Plugins
In reply to: [Advanced AJAX Product Filters] Override Default Order By Selector for X Pro?Hello @razyrx,
Seems I got confused on what the purpose the order by element selector is for. Based on what I read on the online documentation and plugin settings I thought the plugin can override those selectors.
I’ll try the sorting via AJAX method instead. Thank you!
Forum: Plugins
In reply to: [WP Job Manager] Show Category/Type Titles on ArchivesHello @kibus90,
Thank you,
<?php single_term_title(); ?>is what I was looking for in order to add the current taxonomy term name as page title. This works perfectly. Thank you!Update: Error notice has been resolved with the latest update for PHP 7.3 compatibility.
After upgrading my PHP from 5.6 to 7.3, I deleted and re-installed your plugin to see if it will fix the issue but now there are multiple warning notices on the register. Please see this screenshot. Can you please look into this?
- This reply was modified 6 years, 12 months ago by wallacelin. Reason: Added PHP upgrade info
Hello,
I see there has been an update three weeks ago, however this issue is still occurring for me on my website when you click the menu link labelled “LOGIN OR REGISTER”.
Forum: Plugins
In reply to: [Product Attachment for WooCommerce] Error Notice: Undefined IndexFollow-up, I gave the wrong link for the relevant topic on StackOverflow, here it is: https://stackoverflow.com/questions/4261133/notice-undefined-variable-notice-undefined-index-and-notice-undefined
Forum: Plugins
In reply to: [WC Fields Factory] Show Group of Fields as Shortcode?Hello, just curious if you have a estimate when this update will be released?
Forum: Plugins
In reply to: [WooCommerce] Search results for orders are messed upHello Himbaer, were you able to figure out what is the cause of this and did you resolved it? I am seeing this issue on my client’s WooCommerce as well but it seem to have only occurred recently for them.
Has anyone else encountered this? We run quite a few WooCommerce plugins so I need to do some thorough troubleshooting on a staging website. If anyone can shed some light on this that’d be great, thank you!
Hey, after a lot of searching and debugging I found some previously hidden .user.ini and .htaccess files from previous attempts to migrate the website. Clearing these hidden files worked.
Forum: Plugins
In reply to: [WC Fields Factory] Render Radio Buttons to Create as TabsHello, thank you for your response. While that does change the options into tabs, you can’t tell when one of them is selected. I originally wanted to render the input before a label as a sibling element so I can apply the following CSS:
.wccpf-field[type="radio"]:checked + .wcff-option-wrapper-label { padding: 10px; color: #222; background: transparent; border: 1px solid #222; }For now, I shall keep the display of the radio input itself with the tab appearance of the label.
- This reply was modified 7 years, 3 months ago by wallacelin.