Skip to content

Instantly share code, notes, and snippets.

Created December 12, 2017 11:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/fa9a798510432320ecf25d2f6c0c6d35 to your computer and use it in GitHub Desktop.
Save anonymous/fa9a798510432320ecf25d2f6c0c6d35 to your computer and use it in GitHub Desktop.
function yummy_pro_before_product_end() {
$options = yummy_pro_get_theme_options();
echo '</div><!-- end .wrapper --><div class="page-decoration">
<img src="YOUR IMAGE URL" alt="'. esc_attr__( 'Decoration', 'yummy-pro' ) .'">
<img src="YOUR IMAGE URL" alt="'. esc_attr__( 'Decoration', 'yummy-pro' ) .'">
</div><!-- .page-decoration -->
</section><!-- end #shop-product -->';
if ( ! is_singular() && $options['shop_pagination_type'] == 'infinite-scroll' ) {
echo'<i class="fa fa-spinner fa-spin woo-loader"></i>';
}
}
function yummy_pro_single_product_end() {
echo '</section><div class="page-decoration">
<img src="YOUR IMAGE URL" alt="'. esc_attr__( 'Decoration', 'yummy-pro' ) .'">
<img src="'. get_template_directory_uri() .'/assets/uploads/dish-02.png" alt="'. esc_attr__( 'Decoration', 'yummy-pro' ) .'">
<img src="YOUR IMAGE URL" alt="'. esc_attr__( 'Decoration', 'yummy-pro' ) .'">
<img src="'. get_template_directory_uri() .'/assets/uploads/dish-04.png" alt="'. esc_attr__( 'Decoration', 'yummy-pro' ) .'">
</div><!-- .page-decoration --></div>';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment