serons
Forum Replies Created
-
You are right. I didn’t read it well enough. Thank you.
That doesn’t seem to be the case here.
Here’s what I do:
- I click Dashboard in the side menu. Real-Time is displayed in the GAD (Google Analytics Dashboard).
- I select Today in GAD and the Today graph is displayed.
- I click Dashboard in the side menu. Real-Time is displayed in the GAD.
I tried this in Firefox and Safari.
edit: It seems that it is only Today that it doesn’t remember. Other settings seem to be remembered.
Forum: Plugins
In reply to: [WooCommerce] Conditional Tags on Single Product PagesCould you use
is_product()
? WooCommerce Conditional TagsForum: Plugins
In reply to: [OPcache Dashboard] Missing graphs on dashboardI see now that WP 3.8 is required.
Forum: Plugins
In reply to: [OPcache Dashboard] Missing graphs on dashboard[23-Mar-2014 13:10:06 UTC] PHP Fatal error: Call to undefined function wp_unslash() in …/site/content/plugins/opcache/opcache.php on line 192
OS X 10.8.5
nginx 1.4.6
PHP 5.5.10
WordPress 3.5.2
OPcache dashboard 0.2.1Forum: Plugins
In reply to: [WooCommerce] Email Formatting & StylingIn order to customize the header styles without modifying the above WC plugin file I had to disable these hardcoded style properties by adding
style=""
to all headers found in the emails templates and then apply my own style properties as necessary. In effect, what blakemiller did above, only now having a better understanding of why it works the way it does.Forum: Plugins
In reply to: [WooCommerce] Email Formatting & StylingI found this ‘interesting’ piece in
woocommerce/classes/abstracts/abstract-wc-email.php
:foreach( $nodes_h3 as $node ) if ( ! $node->hasAttribute( 'style' ) ) $node->setAttribute( "style", "color: " . get_option( 'woocommerce_email_text_color' ) . "; display:block; font-family:Arial; font-size:26px; font-weight:bold; margin-top: 10px; margin-right:0; margin-bottom:10px; margin-left:0; text-align:left; line-height: 150%;" );
It seems to me that this where this extra inline styling is added, and that it may be disabled by simply adding a style attribute to the tag.
Forum: Plugins
In reply to: [WooCommerce] Email Formatting & StylingThanks for elaborating blakemiller. It seems to me that all style is not inline contrary to what splashingpixels.com write. As you point out
h2
andh3
styles are not defined inemail-header.php
nor referenced in for examplecustomer-processing-order.php
within those tags. Neither is styling of those tags applied in the email template preview. Yet inline styling seems to somehow be injected into those tags in mails sent out. For example this inline style is present in the order receipt Billing address header:<h3 style="color: #505050; display:block; font-family:Arial; font-size:26px; font-weight:bold; margin-top: 10px; margin-right:0; margin-bottom:10px; margin-left:0; text-align:left; line-height: 150%;">Billing address</h3>
If it’s inline where is it defined and how is it referenced?
If it’s not inline how does this mechanism work?Rather than doing the work you did I think it would be better to modify the style wherever it’s defined instead of having to modify each template. Apparently it is already defined somewhere as it’s appears in the mails being sent.
I was able to do this by copying the template plugins/woocommerce/templates/single-product/product-image.php into {mytheme}/woocommerce/single-product and replacing
$image_link = wp_get_attachment_url( get_post_thumbnail_id()
with
$image_link = wp_get_attachment_image_src(get_post_thumbnail_id(), 'large');
and then using
$image_link[0]
in place of$image_link
.Forum: Plugins
In reply to: Exclude Woo Commerce Category from specific UserDid you find a solution? I’m looking for the same thing.
An option to change table prefixes would be useful for me too. Some caching systems differentiate cache entries by it. I think this is the case with the APC Object Cache Backend plugin.
Forum: Plugins
In reply to: [Batcache] no statistics/function in Firefox 21.0This was due to being logged in to WordPress. I found information about that here https://evansolomon.me/notes/faster-wordpress-multisite-nginx-batcache/. Batcache uses cookies for this purpose, so it’s not enough to log out. The cookie needs to be cleared too. I found info about that here https://whitewp.com/tag/batcache/. Both those pages contain other information about WP caching that I found useful.
Forum: Plugins
In reply to: [WP-FFPC] connect to memcached unix socketI couldn’t make it work with socket.
Forum: Plugins
In reply to: [WP-FFPC] memcached greyed out in the backend dropdown listI was missing php-memcached.
Forum: Plugins
In reply to: [WooCommerce] Remove option from a product attributes dropdown list.No. I made it display a default size instead. This can be set under Product Data -> Variations.