October 27, 2010 at 11:33 pm #2118mvmediaMember
I was wondering if there was a way to edit the CSS to add a Custom Header Image in place of the Text. I know the Background Image is currently there and I like the one in place, but would like to have my website header at the top as well for branding purposes.
Can anyone help me determine the CSS Code that needs to be added or edited.
Thanks, MaryellenOctober 28, 2010 at 2:13 am #25883
I think you will save yourself a lot of hassle if you just use option 2 for displaying the affiliate area. Option 2 allows you to embed the affiliate area on a wordpress page so you still have your main site header, sidebar etc.
You can see a demo from this page (check under the “Affiliate View/Area Demo” section):
Let me know if that helps.November 17, 2010 at 9:10 pm #25884
I have 2 related questions:
1. how do i select or activate “Option 2”? i can’t find any documentation that shows how to do this.
2. i have moved my affiliates directory to my root directory, as you recommended at: http://www.tipsandtricks-hq.com/wordpress-affiliate/how-to-changecustomize-the-url-of-the-affiliate-view-42
i originally did this because i thought this was the “option 2” you mentioned, but alas it is not. it’s still cool though, but i have an important question: what should i do with the original affiliate directory located in the plugins directory? is it going to cause problems when i start signing people up? should i delete or rename it?
ernestNovember 17, 2010 at 9:22 pm #25885
ok, i found the “option 2” shortcode in the tutorial, tried it, and it doesn’t work- it just displays the short code on the newly created page as if it’s a line of text:November 18, 2010 at 2:11 am #25886
This shortcode was recently added to the plugin. Please get a recent build of the affiliate plugin from here and it should work:November 18, 2010 at 9:05 pm #25887
ok thanks, i’ll try thatNovember 18, 2010 at 9:10 pm #25888
i have customized the CSS as well as the header.php file for the affiliate platform, and i’m using different images. can you advise me on the best way to update this plugin without losing my changes?November 18, 2010 at 9:44 pm #25889
i updated things selectively, and only left the original CSS and header file in. now, there’s a strange discrepancy between my shortcode affiliate area and my normal /affiliate area. the normal /affiliate area has my replacement graphic in correctly:
and the shortcode displays without my new graphic:
can you advise on what i need to do to control the header inside the affiliate area that the shortcode uses?
eNovember 19, 2010 at 4:17 am #25890
The two different affiliate area views use completely separate code so if change one it will not impact the other. You should only be using one method for your site… I am not sure why you are trying to have both views going at the same time?November 20, 2010 at 6:24 am #25891
i’m not trying to have both views at the same time, i just followed your instructions, and you didn’t say anything about what to do with the “affiliate” folder in it’s original location. so should i delete the one at ../../../affiliates after copying it to the root directory?November 20, 2010 at 7:10 am #25892
ok i’m guessing “copy the affiliates directory and put it where you want it” assumes that it is being moved, and only exists in one place….. can you reassure me that that is what you meant before i delete it from its original location? i took what you said literally, and copied the directory to the location i wanted, so that there are now 2 copies.November 21, 2010 at 1:25 am #25893
Basically when you paste the directory to a new location this is the copy that you should modify if you want to do customizations. The reason I don’t suggest deleting the original folder is because if you mess things up you can easily make another copy from the original source.January 22, 2013 at 5:18 pm #25894slkmclarenMember
I agree with the developer when they say that it’s much better to integrate WP-Affiliate Plugin using Option 2. This is the easiest way.
However, there are times that we need to use OPTION 1 to have more control of the affiliate plugin. You yourselves said that OPTION 2 has drawbacks. Speaking of drawback, I have one. My theme is not that well coded and your SHORTCODE inherited the theme styling. I am at the mercy of the theme developer to integrate the changes to get rid of my problem. Option 2 assumes that your theme is well coded.
I would like to implement OPTION 1. However, for non-coders like me its very hard to modify the header to mimick my main website. There should have been feature or ways for non-coders to implement smoothly OPTION 1. Like there is a menu builder, place to upload logo. Things like these are basic features which developers should include in the plugin feature. Given the fact that these is a plugin and this will be used mostly as 2nd site.
Just my 2 cents.
- You must be logged in to reply to this topic.