squarestar
Forum Replies Created
-
Forum: Plugins
In reply to: [Relevanssi Light] Javascript TypeError when clicking Process All PostsThanks for responding. I do have content that is published, but only of a custom post type. After adding
'post_type' => 'any'to the$argsforget_posts()in that function, the process worked without errorForum: Plugins
In reply to: [Object Sync for Salesforce] Where is the log?!@ddoddsr Thank you! π
Forum: Themes and Templates
In reply to: [Responsive] Mobile menu js butHi – unfortunately the install is on a private internal server. However in the current version of the script you can see here:
line 432 var current = $('.main-nav li.current-menu-item a').html(); line 433 current = $('.main-nav li.current_page_item a').html();The initial value of
currentis immediately overwritten with no conditions, so it is redundant, even though actually has a value on front end pages that are ‘current’ but are not of the post-typepage.In my case the problem is made evident by a custom link in the main menu. I have a custom post type of
Daily Menuand a custom link to the archive page for that post type in the main menu whose value is/daily-menu/. On the front end, theliitem for that link has the classcurrent-menu-item, but none of the main menu list items have the classcurrent_page_item, so when I land on that archive page on a mobile device, the title beside the burger menu is empty.Forum: Plugins
In reply to: [WOOF by Category] A few issues and fixesThanks for the update. That has certainly helped. However I’m getting a few problems still.
Please try the following:
- Go to http://apex.btmm-dev.com/product-category/gc-columns/
- Use any filter (e.g., filter by Brand “Beta-Dex”)
- Click the “Reset” button for the Smart Column Selector
The product list reloads but the filter still remains hidden. The same thing happens if you click the red X with the “beta-dex” text above the product list instead of hitting Reset.
Another minor issue: on this page: http://apex.btmm-dev.com/products/ there is a PHP warning from one of the plugin’s methods.
Forum: Plugins
In reply to: [Mailchimp for WooCommerce] Connection issueThanks Pearl – woocommerce status report is below.
I disabled all but the necessary plugins to place a test order. The order shows up in the orders list but the confirmation email regarding the subscription is still not being sent and the list under connected accounts is still stuck syncing.
### WordPress Environment ### Home URL: https://irnn.ie Site URL: https://irnn.ie WC Version: 3.1.1 Log Directory Writable: β WP Version: 4.8.1 WP Multisite: β WP Memory Limit: 256 MB WP Debug Mode: β WP Cron: β Language: en_GB ### Server Environment ### Server Info: Apache PHP Version: 7.0.11 PHP Post Max Size: 64 MB PHP Time Limit: 30 PHP Max Input Vars: 1000 cURL Version: 7.19.7 NSS/3.27.1 SUHOSIN Installed: β MySQL Version: 5.6.37 Max Upload Size: 64 MB Default Timezone is UTC: β fsockopen/cURL: β SoapClient: β DOMDocument: β GZip: β Multibyte String: β Remote Post: β Remote Get: β ### Database ### WC Database Version: 3.1.1 WC Database Prefix: wp_ woocommerce_sessions: β woocommerce_api_keys: β woocommerce_attribute_taxonomies: β woocommerce_downloadable_product_permissions: β woocommerce_order_items: β woocommerce_order_itemmeta: β woocommerce_tax_rates: β woocommerce_tax_rate_locations: β woocommerce_shipping_zones: β woocommerce_shipping_zone_locations: β woocommerce_shipping_zone_methods: β woocommerce_payment_tokens: β woocommerce_payment_tokenmeta: β MaxMind GeoIP Database: β ### Security ### Secure connection (HTTPS): β Hide errors from visitors: βError messages should not be shown to visitors. ### Active Plugins (14) ### Gravity Forms: by rocketgenius β 2.2.4 iThemes Security: by iThemes β 6.4.0 Duplicate Post: by Enrico Battocchi β 3.2 Force Regenerate Thumbnails: by Pedro Elsner β 2.0.6 WPBakery Visual Composer: by Michael M - WPBakery.com β 5.2.1 MailChimp for WooCommerce: by MailChimp β 2.0.1 Muffin Builder & Theme Options Migrate Tool: by Muffin group β 3.2 QR Twitter Widget: by QROkes β 0.2.0 Slider Revolution: by ThemePunch β 5.4.3.1 The Events Calendar: by Modern Tribe Inc. β 4.5.10 WooCommerce Stripe Gateway: by WooCommerce β 3.2.2 WooCommerce Subscriptions: by Prospress Inc. β 2.2.8 β 2.2.11 is available WooCommerce: by Automattic β 3.1.1 β 3.1.2 is available WP Remote: by maekit β 2.7.8 ### Settings ### API Enabled: β Force SSL: β Currency: EUR (β¬) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 2 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) subscription (subscription) variable (variable) variable subscription (variable-subscription) Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog) exclude-from-search (exclude-from-search) featured (featured) outofstock (outofstock) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5) ### WC Pages ### Shop base: #241 - /shop/ Basket: #242 - /cart/ Checkout: #243 - /checkout/ My account: #244 - /my-account/ ### Theme ### Name: Irish Research Nurses Network (IRNN) Version: 1.6.1 Author URL: http://irnn.ie/ Child Theme: β Parent Theme Name: Betheme Parent Theme Version: 20.4.3 Parent Theme Author URL: http://muffingroup.com/ WooCommerce Support: β ### Templates ### Overrides: betheme/woocommerce/archive-product.php betheme/woocommerce/cart/cart-empty.php version 2.0.0 is out of date. The core version is 3.1.0 betheme/woocommerce/cart/cart.php betheme/woocommerce/cart/mini-cart.php betheme/woocommerce/content-product.php betheme/woocommerce/content-single-product.php betheme/woocommerce/loop/loop-end.php betheme/woocommerce/loop/loop-start.php betheme/woocommerce/loop/no-products-found.php betheme/woocommerce/loop/pagination.php betheme/woocommerce/notices/error.php betheme/woocommerce/notices/notice.php betheme/woocommerce/notices/success.php betheme/woocommerce/single-product/add-to-cart/external.php betheme/woocommerce/single-product/product-image.php betheme/woocommerce/single-product/product-thumbnails.php betheme/woocommerce/single-product/sale-flash.php betheme/woocommerce/single-product/tabs/additional-information.php betheme/woocommerce/single-product/tabs/description.php betheme/woocommerce/single-product/tabs/tabs.php betheme/woocommerce/single-product/title.php Outdated Templates: βLearn how to update ### subscriptions ### WCS_DEBUG: β No Subscriptions Mode: β LiveForum: Plugins
In reply to: [Post Type Switcher] Resolved bug I believe with WPML, ACF , etc..I can confirm this solves a conflict I encountered with ACF.
I’m running code on the
acf/save_postaction to update the definition of an ACF field. ACF fields are saved as posts, and when the field is updated, itspost_typegets changed fromacf-fieldto the post_type of the post using the field.Please update! PTS is great but ACF is critical to the functioning of the site this is happening on.
Forum: Plugins
In reply to: [My YouTube Channel] Bug: incorrect application of widget_title filterYou’re welcome Aleksandar. Thanks again π
Forum: Plugins
In reply to: [My YouTube Channel] Bug: incorrect application of widget_title filterHi Aleksandar,
Yes, that fixes the problem. It’s custom code of my own that I’m using (just 3 functions):
function addTitleHrefFieldToWidgets($widget, $return, $instance) { // Don't add the field to widgets with no title if (empty($widget->get_field_id('title'))) { return; } $href = isset($instance['title_link']) ? $instance['title_link'] : ''; ?> <p> <label> Title Link: <input type="url" id="<?php echo $widget->get_field_id('title_link'); ?>" name="<?php echo $widget->get_field_name('title_link'); ?>" value="<?php echo $href; ?>" placeholder="https://" > </label> </p> <?php } add_filter('in_widget_form', 'addTitleHrefFieldToWidgets', 10, 3); function saveWidgetTitleLinkOption($instance, $newInstance) { if (!empty($newInstance['title_link'])) { $instance['title_link'] = $newInstance['title_link']; } return $instance; } add_filter('widget_update_callback', 'saveWidgetTitleLinkOption', 10, 2); function hyperlinkWidgetTitle($title, $instance) { if (empty($title) || empty($instance['title_link'])) { return $title; } $title = '<a href="' . $instance['title_link'] . '">' . $title . '</a>'; return $title; } add_filter('widget_title', 'hyperlinkWidgetTitle', 10, 2);Thanks!
Forum: Plugins
In reply to: [Advanced Custom Fields: Widget] Front end issueI’m seeing this too.