- This topic has 3 replies, 2 voices, and was last updated 9 years, 8 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Affiliates Management Plugin for WordPress
by
WordPress Affiliate Manager › Forums › Affiliate Manager Plugin › Show variables on other template
Hello!
I want to show these variables on new template that i created :
the Balance
the Commission Rate
Today – Impressions
Today – Visitors
Today – Revenue
This Month – Impressions
This Month – Visitors
This Month – Revenue
I tried
<?php echo wpam_format_money($this->viewData[‘accountStanding’]) ?>
<?php echo $this->viewData[‘todayImpressions’] ?>
but these codes doesn’t work it seems like works only on affiliate_cp_home.php
Thank you for help
Hi, Do you want to show these information on the admin page?
Thank you for the quick reply, i need to show the variables on any page and template for exemple showing the balance on header of the website
these are the variables needed please :
the Balance
the Commission Rate
Today – Impressions
Today – Visitors
Today – Revenue
This Month – Impressions
This Month – Visitors
This Month – Revenue
Thank you
That will require some advanced customization. First, you need to see if the user is logged into the site (and an affiliate). Then, you need to run some advanced query to get those data from the affiliates manager database tables.