This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# wrap single product image in an extra div | |
# | |
add_action( 'woocommerce_before_single_product_summary', 'avia_add_image_div', 2); | |
add_action( 'woocommerce_before_single_product_summary', 'avia_close_image_div', 20); | |
function avia_add_image_div() | |
{ | |
echo "<div class='four units single-product-main-image alpha'>"; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: Emergency Broadcast System | |
Author: Everyone | |
*/ | |
function ebs_header_message() { | |
echo '<div style="background:red;color:white">THIS IS BAD. COME BACK LATER</div>'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# wrap single product image in an extra div | |
# | |
add_action( 'woocommerce_before_single_product_summary', 'avia_add_image_div', 2); | |
add_action( 'woocommerce_before_single_product_summary', 'avia_close_image_div', 20); | |
function avia_add_image_div() | |
{ | |
echo "<div class='four units single-product-main-image alpha'>"; | |
} |
NewerOlder