Digital experiences for all disciplines
Forum Replies Created
-
-
May 8, 2015 at 5:27 pm in reply to: HTML being printed on front end in footer and sidebar widgets #173331This reply has been marked as private.May 7, 2015 at 11:04 pm in reply to: HTML being printed on front end in footer and sidebar widgets #173005This reply has been marked as private.May 6, 2015 at 5:31 pm in reply to: HTML being printed on front end in footer and sidebar widgets #172529This reply has been marked as private.May 5, 2015 at 7:19 pm in reply to: HTML being printed on front end in footer and sidebar widgets #172132This reply has been marked as private.May 5, 2015 at 5:45 pm in reply to: HTML being printed on front end in footer and sidebar widgets #172088
Mohammad, it appears that section code is contained within double quotes, as shown below:
Attachments:
You must be logged in to view attached files.May 5, 2015 at 5:43 pm in reply to: HTML being printed on front end in footer and sidebar widgets #172085We are experiencing this also, right after update to the latest version (2.08), as shown in attached. The source is Swift Widgets Titles in Custom Widget Areas, in this case, using Swift Framework Recent Posts and Swift Framework Vide Widget.
Attachments:
You must be logged in to view attached files.April 9, 2015 at 8:47 pm in reply to: CSS Order of Precedence Changed Lately? Bootstrap Updated? #164118Nope. Last updated 7 months whereas Cardinal was last updated February 5th. We found a workaround, but was trying to understand why/how the enqueueing order changed.
April 7, 2015 at 2:09 pm in reply to: CSS Order of Precedence Changed Lately? Bootstrap Updated? #163459We are familiar with Custom CSS, and do use it, however, we have 100’s of sites, which all call on our master, global stylesheet using that Enqueueing plugin.
Like I said, used to work fine, but since last update, that plugins’ enqueue is way above Cardinal’s and Bootstrap – it used to be below it.
Just wondering why that changed.
April 6, 2015 at 7:13 pm in reply to: CSS Order of Precedence Changed Lately? Bootstrap Updated? #163271Hello Mohammad,
Using the Enqueue CSS and JS plugin at: https://wordpress.org/plugins/css-and-js-enqueuer/ which used to be enqueued after bootstrap and cardinal, but is now being enqueued before.
Mohammad,
Is there a way to do this in Cardinal?
Steve
Nevermind… I think I found it under:
WooCommerce > Settings > Products > Product Images > Single Product Image (547×547) then regen thumbnails.
Cheers!
Golden! Absolutely golden! You sir, are a master!
Thank you!
Sorry, I added one too many ?> to the snippet above, but that was not in the functions.php – still doesn’t work.
You are awesome! Unfortunately, it’s not working (yet). The old share went away, but the new share does not yet appear. Did I miss something?
As instructed, I inserted the following snippet into the child-theme functions.php:
<?php function sf_product_share() { global $post; $src = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), false, '' ); ?> <div class="product-share clearfix"> <span><?php _e("Share", "swiftframework"); ?></span> <ul> <li><a href="mailto:?subject=<?php the_title(); ?>&body=<?php echo strip_tags(apply_filters( 'woocommerce_short_description', $post->post_excerpt )); ?> <?php the_permalink(); ?>" class="product_share_email"><i class="fa-envelope"></i></a></li> <li><a href="http://www.facebook.com/sharer.php?u=<?php the_permalink(); ?>" onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');return false;" class="product_share_facebook"><i class="fa-facebook"></i></a></li> <li><a href="https://twitter.com/share?url=<?php the_permalink(); ?>" onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');return false;" class="product_share_twitter"><i class="fa-twitter"></i></a></li> <li><a href="https://plus.google.com/share?url=<?php the_permalink(); ?>" onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');return false;"><i class="fa-google-plus"></i></a></li> <li><a href="//pinterest.com/pin/create/button/?url=<?php the_permalink(); ?>&media=<?php echo $src[0]; ?>&description=<?php the_title(); ?>" onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');return false;" class="product_share_pinterest"><i class="fa-pinterest"></i></a></li> </ul> </div> <?php } ?> ?>
Now, I either have to remove the leading <?php tag or place the new snippet after the closing ?> tag.
Anything else?
This reply has been marked as private. -