Flexibility Wordpress Theme Question

12 replies
  • WEB DESIGN
  • |
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!
#flexibility #question #theme #wordpress
  • Profile picture of the author halfpoint
    Any help with this one guys?
    {{ DiscussionBoard.errors[1338899].message }}
  • Profile picture of the author Susan Stones
    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.
    {{ DiscussionBoard.errors[1338985].message }}
    • Profile picture of the author halfpoint
      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 -->
      {{ DiscussionBoard.errors[1339065].message }}
  • Profile picture of the author Taiyab
    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.
    Signature
    {{ DiscussionBoard.errors[1339022].message }}
  • Profile picture of the author houdy
    You can just remove the script code and hard code your link into it.
    {{ DiscussionBoard.errors[1339090].message }}
    • Profile picture of the author halfpoint
      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?
      {{ DiscussionBoard.errors[1339304].message }}
  • Profile picture of the author Fernando Veloso
    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
    Signature
    People make good money selling to the rich. But the rich got rich selling to the masses.
    {{ DiscussionBoard.errors[1339104].message }}
  • Profile picture of the author Fernando Veloso
    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"
    Signature
    People make good money selling to the rich. But the rich got rich selling to the masses.
    {{ DiscussionBoard.errors[1339328].message }}
    • Profile picture of the author halfpoint
      Ok, great. I just tried it then and it worked fine.

      Thanks for your help, Fernando and everyone else!
      {{ DiscussionBoard.errors[1339346].message }}
  • Profile picture of the author Fernando Veloso
    No worries Pat, all the best to your new project.

    Signature
    People make good money selling to the rich. But the rich got rich selling to the masses.
    {{ DiscussionBoard.errors[1339357].message }}
  • Profile picture of the author Susan Stones
    Seems like you have your solution Pat. Just let me know if it is working now?
    {{ DiscussionBoard.errors[1340363].message }}
    • Profile picture of the author halfpoint
      Yep, Susan, it is.

      Thanks for your help.
      {{ DiscussionBoard.errors[1340396].message }}

Trending Topics