PDA

View Full Version : How Do I Remove The Socrates Logo?



Dan Nickerson
09-05-2010, 09:47 PM
If you have an unlimited license you can remove the footer code.

Find this code in

Appearance > Editor > footer.php



<?php if(!(is_page_template('squeezepage.php') and !$custom_fields['_mcf_squeezefooterlogo'][0]) and !(is_page_template('salespage.php') and !$custom_fields['_mcf_salesfooterlogo'][0]) and !(is_page_template('fullpage.php') and !$custom_fields['_mcf_fullfooterlogo'][0])) { ?>
<a target="_blank" href="http://www.socratestheme.com/cb/go.php?id=<?php echo $analytic['click'] ?>">
<div class="bottomBar"></div></a>
<?php } else { ?>
<div class="bottomBarNoLogo"></div>
<?php } ?>

And replace with


<div class="bottomBarNoLogo"></div>

bmw040
07-24-2011, 07:50 PM
This works great in the original footer.php.

Is it possible to do this using the child theme?

Thanks,

Brian

Dan Nickerson
07-24-2011, 10:30 PM
Yes, just upload a modified footer.php to the child theme.

hagen
11-04-2011, 10:48 AM
Hello,

I created a Child theme and implemented the above in a custom version of footer.php as you suggest. However, I get several include errors like so :



Warning: include(widgetLeft.php) [function.include]: failed to open stream: No such file or directory...

Should I correct the path to these to look in the Socrates directory OR should I simply duplicate these files (widgetLeft.php, etc.) directly in the child theme's folder?

Dan Nickerson
11-04-2011, 11:34 AM
That is strange.. I would say show me the file but the simplest solution might be to just move the widget files as you say. So just copy them and put in child directory.

hagen
11-05-2011, 04:25 PM
I made copies of the Widget include files directly in the Child theme directory. I am no longer getting the errors.

Thanks for your time.

pault
07-30-2012, 09:55 AM
I just purchased the unlimited license. from this statement: Option to remove footer link (if you don’t want commissions).
It does not look like the footer is conncected with any affiliate link and see nothing in the theme asking for it.
Do I have to do anything to footer to get commissions?

Forum Admin
07-31-2012, 07:50 AM
Hi pault,

Go to WP Dashboard > Socrates > Settings > Affiliate ID and Analytics, and put your ClickBank ID in. That will encode the footer with your ID so you can receive commissions.

Forum Admin
03-21-2014, 12:40 PM
Update: For those wondering which instructions to use to remove the footer link in 3.05, Dan's earlier post is still valid:

If you have an unlimited license you can remove the footer code.

Find this code in

Appearance > Editor > footer.php

<?php if(!(is_page_template('squeezepage.php') and !$custom_fields['_mcf_squeezefooterlogo'][0]) and !(is_page_template('salespage.php') and !$custom_fields['_mcf_salesfooterlogo'][0]) and !(is_page_template('fullpage.php') and !$custom_fields['_mcf_fullfooterlogo'][0])) { ?>
<a target="_blank" href="http://www.socratestheme.com/cb/go.php?id=<?php echo $analytic['click'] ?>">
<div class="bottomBar"></div></a>
<?php } else { ?>
<div class="bottomBarNoLogo"></div>
<?php } ?>

And replace with

<div class="bottomBarNoLogo"></div>

chasb47
03-22-2014, 05:30 AM
Wow,

I have the unlimited license. Am I to understand that the footer is an affiliate link which will earn me a commission if someone visits my website and clicks on the link and buys Socrates? I did not know this. If I understand this correctly WOWWOWWOW.

What is the downside?

Thank you for helping a WP, Socrates, Affiliate Marketing noob.

Forum Admin
03-22-2014, 09:10 AM
No downside! All you need is to have a ClickBank account so you can encode your ClickBank ID into the footer link.