Flexibility Wordpress Theme Question

by 12 replies
15
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!
#website design #flexibility #question #theme #wordpress
  • Any help with this one guys?
  • 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.
    • [ 1 ] Thanks
    • [1] reply
    • 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 -->
  • 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.
    • [ 1 ] Thanks
  • You can just remove the script code and hard code your link into it.
    • [ 1 ] Thanks
    • [1] reply
    • 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?
  • 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
    • [ 1 ] Thanks
  • Banned
    [DELETED]
    • [ 1 ] Thanks
  • 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"
    • [ 1 ] Thanks
    • [1] reply
    • Ok, great. I just tried it then and it worked fine.

      Thanks for your help, Fernando and everyone else!
  • No worries Pat, all the best to your new project.

  • Seems like you have your solution Pat. Just let me know if it is working now?
    • [ 1 ] Thanks
    • [1] reply
    • Yep, Susan, it is.

      Thanks for your help.

Next Topics on Trending Feed