Go Back   WarriorForum - Internet Marketing Forums > Warrior Support Forums > Website Design
Register Blogs FAQ Social Groups CalendarHelp Desk

Reply
 
LinkBack Thread Tools
Old 10-31-2009, 01:43 PM   #1
Senior Warrior Member
War Room Member
 
Pat Jackson's Avatar
 
Join Date: Jan 2009
Location: Melbourne, Australia
Posts: 1,380
Thanks: 648
Thanked 191 Times in 129 Posts
Default Flexibility Wordpress Theme Question

Hey guys,

I've noticed that in the Flexibility theme for Wordpress, in the footer it says;

Code:
This blog copyright © 2009 YourSiteUrlHere.com
I was hoping to change that link to an anchor text link with a keyword of my choice, however, when I went to the footer.php file to have a look it doesn't actually have the above code there. Instead, it says;

Code:
      <div style="clear:both;"></div>
    </div>
  </div>
  <?php } ?>
  <div id="footerdark">
    <p>This blog copyright &copy;
      <script type="text/javascript" language="JavaScript"><!--
Is there a way for me to edit this so that it can display an anchor text link or should I not bother attempting to change it?

I have absolutely no idea when it comes to php...

Thanks in advance!
Pat Jackson is offline   Reply With Quote
Old 11-01-2009, 04:59 AM   #2
Senior Warrior Member
War Room Member
 
Pat Jackson's Avatar
 
Join Date: Jan 2009
Location: Melbourne, Australia
Posts: 1,380
Thanks: 648
Thanked 191 Times in 129 Posts
Default Re: Flexibility Wordpress Theme Question

Any help with this one guys?
Pat Jackson is offline   Reply With Quote
Old 11-01-2009, 06:17 AM   #3
Active Warrior
War Room Member
 
Join Date: Oct 2009
Location: NSW, Australia
Posts: 42
Thanks: 0
Thanked 6 Times in 6 Posts
Social Networking View Member's Twitter Profile 
Contact Info
Send a message via ICQ to Susan Stones
Default Re: Flexibility Wordpress Theme Question

Pat if show us the script, so that we could see what it does it would be easier to answer it. I mean post the bit that comes directly after after the bit you have posted ... right up to the "</script>

But I assume its getting the name from somewhere within the normal admin info. Have a look for a box asking for your URL.
Susan Stones is offline   Reply With Quote
Old 11-01-2009, 06:45 AM   #4
Warrior Member
War Room Member
 
Join Date: Jul 2007
Location: , , United Kingdom.
Posts: 28
Thanks: 0
Thanked 3 Times in 3 Posts
Default Re: Flexibility Wordpress Theme Question

Yea, there's going to be something in the script that asks for your site URL, and then it should automatically input it into the footer.

Taiyab is offline   Reply With Quote
Old 11-01-2009, 07:04 AM   #5
Senior Warrior Member
War Room Member
 
Pat Jackson's Avatar
 
Join Date: Jan 2009
Location: Melbourne, Australia
Posts: 1,380
Thanks: 648
Thanked 191 Times in 129 Posts
Default Re: Flexibility Wordpress Theme Question

Quote:
Originally Posted by Susan Stones View Post
Pat if show us the script, so that we could see what it does it would be easier to answer it. I mean post the bit that comes directly after after the bit you have posted ... right up to the "</script>

But I assume its getting the name from somewhere within the normal admin info. Have a look for a box asking for your URL.
Hey Susan,

Here it is;

Code:
    <div style="clear:both;"></div>
    </div>
  </div>
  <?php } ?>
  <div id="footerdark">
    <p>This blog copyright &copy;
      <script type="text/javascript" language="JavaScript"><!--

var today = new Date();

document.write(today.getFullYear());

//--></script>
      <a href="<?php echo get_option('home'); ?>/">
      <?php bloginfo('name');?>
      </a></p>
    <p>Powered by <a href="http://www.flexibilitytheme.com" rel="nofollow">Flexibility Theme</a> for WordPress</p>
  </div>
</div>
<!-- footer close -->
Pat Jackson is offline   Reply With Quote
Old 11-01-2009, 07:20 AM   #6
Advanced Warrior
 
houdy's Avatar
 
Join Date: Aug 2006
Location: The Midwest
Posts: 971
Thanks: 1
Thanked 63 Times in 52 Posts
Default Re: Flexibility Wordpress Theme Question

You can just remove the script code and hard code your link into it.

houdy is offline   Reply With Quote
Old 11-01-2009, 07:26 AM   #7
Portuguese Warrior
War Room Member
 
Fernando Veloso's Avatar
 
Join Date: Nov 2008
Location: Good Old Europe
Posts: 3,487
Blog Entries: 6
Thanks: 1,310
Thanked 810 Times in 556 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile  View Member's YouTube Profile
Contact Info
Send a message via Skype™ to Fernando Veloso
Default Re: Flexibility Wordpress Theme Question

Hey pat,

This bit of code should grab your site name and place if with a link.

Code:
<a href="<?php echo get_option('home'); ?>/">
      <?php bloginfo('name');?>
No need to edit code, just check if your site name is properly inserted.

Check Theme Options and/or Settings



Portugal Internet Marketing Since 2004.
Fernando Veloso | Seo Portugal | Empresa SEO
Fernando Veloso is offline   Reply With Quote
Old 11-01-2009, 09:06 AM   #8
Senior Warrior Member
War Room Member
 
Pat Jackson's Avatar
 
Join Date: Jan 2009
Location: Melbourne, Australia
Posts: 1,380
Thanks: 648
Thanked 191 Times in 129 Posts
Default Re: Flexibility Wordpress Theme Question

Quote:
Originally Posted by houdy View Post
You can just remove the script code and hard code your link into it.
Thanks for the responses, guys. I like this option the best.

Is this what you mean?

Code:
    <div style="clear:both;"></div>
    </div>
  </div>
  <?php } ?>
  <div id="footerdark">
    <p>This blog copyright © 2009 <a href="http://www.mysite.com">My Anchor Text</a>
      
      <a href="<?php echo get_option('home'); ?>/">
      <?php bloginfo('name');?>
      </a></p>
    <p>Powered by <a href="http://www.flexibilitytheme.com" rel="nofollow">Flexibility Theme</a> for WordPress</p>
  </div>
</div>
<!-- footer close -->
I took out everything between the <script> and </script> code. Is that correct or do I have to take out the stuff below it, also?
Pat Jackson is offline   Reply With Quote
Old 11-01-2009, 09:16 AM   #9
Portuguese Warrior
War Room Member
 
Fernando Veloso's Avatar
 
Join Date: Nov 2008
Location: Good Old Europe
Posts: 3,487
Blog Entries: 6
Thanks: 1,310
Thanked 810 Times in 556 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile  View Member's YouTube Profile
Contact Info
Send a message via Skype™ to Fernando Veloso
Default Re: Flexibility Wordpress Theme Question

Pat,

That way ^^ you can to delete this part of code:

Code:
<a href="<?php echo get_option('home'); ?>/">
      <?php bloginfo('name');?>
Edit:

You can edit the "This Blog Copyright" just to "Copyright"



Portugal Internet Marketing Since 2004.
Fernando Veloso | Seo Portugal | Empresa SEO
Fernando Veloso is offline   Reply With Quote
Old 11-01-2009, 09:27 AM   #10
Senior Warrior Member
War Room Member
 
Pat Jackson's Avatar
 
Join Date: Jan 2009
Location: Melbourne, Australia
Posts: 1,380
Thanks: 648
Thanked 191 Times in 129 Posts
Default Re: Flexibility Wordpress Theme Question

Ok, great. I just tried it then and it worked fine.

Thanks for your help, Fernando and everyone else!
Pat Jackson is offline   Reply With Quote
Old 11-01-2009, 09:30 AM   #11
Portuguese Warrior
War Room Member
 
Fernando Veloso's Avatar
 
Join Date: Nov 2008
Location: Good Old Europe
Posts: 3,487
Blog Entries: 6
Thanks: 1,310
Thanked 810 Times in 556 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile  View Member's YouTube Profile
Contact Info
Send a message via Skype™ to Fernando Veloso
Default Re: Flexibility Wordpress Theme Question

No worries Pat, all the best to your new project.




Portugal Internet Marketing Since 2004.
Fernando Veloso | Seo Portugal | Empresa SEO
Fernando Veloso is offline   Reply With Quote
Old 11-01-2009, 05:14 PM   #12
Active Warrior
War Room Member
 
Join Date: Oct 2009
Location: NSW, Australia
Posts: 42
Thanks: 0
Thanked 6 Times in 6 Posts
Social Networking View Member's Twitter Profile 
Contact Info
Send a message via ICQ to Susan Stones
Default Re: Flexibility Wordpress Theme Question

Seems like you have your solution Pat. Just let me know if it is working now?
Susan Stones is offline   Reply With Quote
Old 11-01-2009, 05:32 PM   #13
Senior Warrior Member
War Room Member
 
Pat Jackson's Avatar
 
Join Date: Jan 2009
Location: Melbourne, Australia
Posts: 1,380
Thanks: 648
Thanked 191 Times in 129 Posts
Default Re: Flexibility Wordpress Theme Question

Yep, Susan, it is.

Thanks for your help.
Pat Jackson is offline   Reply With Quote
Reply

  WarriorForum - Internet Marketing Forums > Warrior Support Forums > Website Design

Tags
flexibility, question, theme, wordpress

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -6. The time now is 10:43 AM.