Return to WooCredits.com
  • Release Notes
  • Documentation
  • Feature Requests
  • Support
  • Login
  • Register

Using buy_credits Shortcode

May 18, 2016 1:57 pm

If you want to show the Credit Packages that are for sale on your site prior to users logging into your site, you can do so by placing the shortcode [buy_credits] on any page or post and it will show similar to below screenshot:

Screen Shot 2016-05-18 at 9.58.23 AM

The following styling was applied, which you can use as a guide to customize on your site as well:


table.table-caption-narrow {font-size: 20px !important; padding: 5px !important; width: 100%;}
table.table-caption-narrow td {padding:5px;}
table.table-caption-narrow tr:nth-child(2) {background: #efefef; }
table.table-caption-narrow tr:nth-child(2) td:nth-child(4) {background: url(http://www.yourdomain.com/wp-content/uploads/2016/most-popular.png) right no-repeat;}
span.imp-msg {font-size: 11px;}

Published by woocredits

© 2021 Copyright Woo Credits Support Forum. Powered by Supportico.

This page is restricted. Please Log in to view this page.

New to site? Create an Account


Login

Lost password? X

Already have an account? Login


Register

X

Forgot Password

X