- This topic has 4 replies, 2 voices, and was last updated 12 years, 1 month ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP Affiliate Platform › WP Affiliate Tweaks › Removing Tax field from affiliate registration form
Hi,
I’ve updated this file:
wp-content/plugins/wp-affiliate-platform/affiliates/register.php
And the field was removed from the default (standalone) page. But for some reason on the embedded page (using [wp_affiliate_view] shortcode) it does not change.
Am I editing the incorrect file?
Please help.
Modify the following file to remove that field from the embedded registration page:
../plugins/wp-affiliate-platform/views/register_view.php
Thanks. Fixed
Since we are speaking about changes to the embedded form, I have another issue I can’t seem to solve:
When I embed the page using the same shortcode, everything works fine but the “Affiliate ID” and “Passwod” fields on the login Affiliate login page are really wide.
In order to make them smaller I have edited the id=”txtbox” size=”21″ in the following pages:
plugins/wp-affiliate-platform/affiliates/login.php
plugins/wp-affiliate-platform/views/login_view.php
The fields are now smaller in the default (standalone) page but they don’t change in the embedded page.
Am I editing the incorrect pages?
Thanks again.
You are editing the correct files. The embedded one can be easily affected by the CSS of your theme. There is a good possibility that your theme has specified a fixed or minimum width for all text input fields (this is a bad practice but some theme developers do it). This in turn is making those text boxes big. Post a link to the embedded login page and I will be able to verify this for you.