Carl-Joel
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Lightbox not working in Woocommerce 2.0.13I found out that when I include jQuery from a CDN and not from the default WordPress jQuery asset the problem appeared.
So the solution to my problem with Woocommerce js-assets not being included was to skip the CDN and use WP’s jQuery.
Forum: Plugins
In reply to: [WooCommerce] Lightbox not working in Woocommerce 2.0.13I’ve the same problem as you timread. The lightbox is however certainly enabled in the settings. In the source code of a product page, the CSS-file is added but the other two required .js-files are not there.
Don’t know why this is so. The script enqueue seems to be right in the woocommerce.php-file.
I’m using Woocommerce 2.0.13 and WP 3.6.
My temporary solution to this are to “hardcode” the required, missing javascript files in the footer and to be only added on product pages.
Forum: Plugins
In reply to: [SEO Ultimate] removing Author in meta property="article:author"I would like to see there was options to configure what OG-fields should be applied. The author property is a problem for me in pages and I feel that there shouldn’t be an author property for these so I had to manually change this in the source-code which you also can do if you like.
Go to line ~114 in the file opengraph.php and you should be looking for this line:
$tags['article:author'] = get_author_posts_url($post->post_author);Remove it and the author-og won’t be shown anymore.
In my case I wanted it to show but only on posts, not pages and the solution for me was then:
if(!is_page()) { $tags['article:author'] = get_author_posts_url($post->post_author); }Remember that when you update the plug-in, the changes you’ve made will be overwritten.
Hope this one helps you out Pierre Fossey.