RashaMatt
Forum Replies Created
-
Actually, the Preview shows “-” for line numbers of minified lines that are wrapped by the pretty-printing. When it shows actual line numbers, these correspond to the real line numbers in the retrieved source file. So for the particular files I screen-shotted above, you can see that they have not been minified.
Compare to minified files, which look like this:
I believe my issue is due to JS merging, not compression/minification.
The mentioned console errors were in front-end site pages, resulting from merged Themify JS files – these files need to be excluded from JS merging, which I did not see an option for in WP Super Minify, which makes it incompatible with Themify, and any other JS which is broken by merging.
Forum: Plugins
In reply to: [Advanced AJAX Product Filters] No spinner visible when page is refreshingYes, I do need the Search Box feature, that is why I purchased the Pro license ?? This is apparently the only way to redirect the filter to the archive page with the filtered results.
When the filter group is displayed on an archive page it is appropriate to use “AJAX” mode, but when the group is displayed on a product page it is appropriate to use “Search Box” mode.
The problem is that when using the filter on a product page, from the user’s perspective nothing appears to happen when they click on the filters – then eventually the page loads and they are confused. ??
Increasing the priority of my woocommerce_get_price_html hook has fixed the issue – thanks! ??
I have this Woo filter active to customize the Product Price text:
//Add text after price to certain products function themeprefix_custom_price_message( $price ) { global $post; if( is_object($post) ) { $id = $post->ID; $price .= ' '. product_unit_pricing_text_fn( $id, 'per' ); } return $price; } add_filter( 'woocommerce_get_price_html', 'themeprefix_custom_price_message' );
Using TPT versions up to v3.6.2 this works as expected, and the site displays Product Prices processed by the above filter.
With TPT versions after v3.6.2, the behavior is different – when a product page first loads, I do see the correct (filtered) Product Price text as expected… BUT then after about 0.3 seconds that span in the page is replaced with an unfiltered version of the Product Price text (i.e., as if the filter did not exist).
Unfortunately v4.0.4 exhibits the same issue as v4.0.3 ??
Is there any way to output these features?
Or if not, is there a way to re-theme The Event Calendar’s generated calendar page?
Main plugin is “The Events Calendar”. Shortcode is:
[events-calendar-templates category="all" template="default" style="style-1" date_format="default" start_date="" end_date="" limit="10" order="ASC" hide-venue="no" socialshare="no" time="future"]
Forum: Plugins
In reply to: [Contact Form 7] How to report multiple form fields with same name?I have figured out that what is required for this to work is that the
name
properties of theinput
tags must end in “[]“, like:<label><input type="checkbox" name="InterestedIn[]" value="Engineering & Design"> Engineering & Design</label> <label><input type="checkbox" name="InterestedIn[]" value="Fabrication & Machining"> Fabrication & Machining</label> <label><input type="checkbox" name="InterestedIn[]" value="Hydrostatic Test Bench"> Hydrostatic Test Bench</label>
Forum: Plugins
In reply to: [XQ Secure Form] Doesn’t work with Themify?FYI, to prevent the Themify Contact form from doing a normal (unencrypted) form submission, it is necessary to add some Javascript to the page to disable the normal form operation:
<script> (function() { // Contact-us script function onready() { // Adjust Themify forms for operation with XQ //console.log( 'Contact: onready' ) const forms = jQuery( 'form.builder-contact' ) if( forms && forms.length>0 ) { forms.addClass( 'sending hidden' ) // Hide spinner & prevent normal Themify form submission (let XQ script handle it) .on( 'submit', () => forms.removeClass('hidden') ) // Reveal spinner when Submit button is clicked console.log( forms.length + ' .builder-contact forms disabled ?' ) } else console.warn( 'No .builder-contact forms found! ?' ) } //console.log( 'Contact: run' ) const tid = setInterval( () => { if( jQuery ) { // Wait until jQuery is loaded //console.log( 'Contact: JQ loaded' ) clearInterval( tid ) jQuery( document ).ready( onready ) } }, 200 ) })() </script> <style> .builder-contact.sending.hidden .tf_loader { display: none; } </style>
Thanks Kris – sorry to trouble you with this.
Forum: Plugins
In reply to: [LiveChat - WP live chat plugin for WordPress] Is It Free?Forum: Plugins
In reply to: [Ditty – Responsive News Tickers, Sliders, and Lists] Is WPML supported?I changed all these to “Copy”, hit Update, and now they are all changed back to do-nothing :-/
I have no idea what is going on.
Forum: Plugins
In reply to: [Ditty – Responsive News Tickers, Sliders, and Lists] Is WPML supported?Thanks. After updating the plugin, it appears that _mtphr_dnt_mode (and quite a few other fields) still do not get copied to translated posts. Is this correct?
Forum: Plugins
In reply to: [Ditty – Responsive News Tickers, Sliders, and Lists] Is WPML supported?Looks like the Ticker post meta didn’t get copied from the original to the translated ones… Would this be due to a WPML setting, or a bug?