How to Change the Copyright Area on a StudioPress Theme for WordPress

If you want to change the text that shows up in the footer area of a Genesis theme by StudioPress, here's the condensed version (while the video below walks you through it step by step):

  • Log in to your site (obviously)
  • On the left under Appearance, click on Editor
  • On the right click on the file called Theme Functions
  • Scroll to the bottom of the file. If you see a "closing PHP tag" (?>), move it down one line and paste the following code just above it. If you don't see one, place the following code at the very bottom of the file:
add_filter('genesis_footer_creds_text', 'footer_creds_filter');
function footer_creds_filter($creds) {
  $creds = '[footer_copyright] · [footer_loginout]';
  return $creds;
}

I'm not sure what I did

I'm not sure what I did wrong, but I uploaded the original file again which was the only way I could undo the error. I then looked on the StudioPress website and copied the code that they gave to remove the entire footer which worked.

Also, I was wondering if you could tell me what comment system you are using.

Thank you very much.

Glad it worked

Glad it worked out for you -- that's all that counts.

About the comment system, this site is actually built on Drupal (as opposed to Wordpress). While I could go on and on about how much better Drupal is (in my opinion), one of the obvious -- and relevant, in this case -- differences is the built-in comment system Drupal has.

Don't get me wrong though -- Wordpress is excellent blogging software. But if you plan to do anything other than blogging, Drupal is hands-down the way to go.

Incidentally, if you're wondering about the theme I'm using, I ported it over from Wordpress to Drupal (based on StudioPress's Platinum theme).

I followed the directions and

I followed the directions and received the error below. I tried clicking on the back button to remove the code but I still received the error code:

Parse error: syntax error, unexpected '<' in /home/toptense/public_html/wp-content/themes/agency/functions.php on line 53

RE: I followed the directions and...

Hi Phil...

That error message could mean a number of things. It could mean that some action or text was left out either on or before wherever you inserted a < symbol, or that an extra < symbol exists somewhere in your code, but my guess is that you're trying to insert the current date into the copyright area so it automatically updates itself. Then again, I have been wrong before (only once, but that was few years ago and it's behind me now). ;)

Can you copy/paste/post the exact code you tried to use (along with the two or three lines before it)? And if I'm correct about the date thing, here's an example of how you might go about that (starting with some existing code):

genesis_register_sidebar(array(
  'name'=>'Home Bottom #3',
  'id' => 'home-bottom-3',
  'description' => 'This is the third column of the middle section of the homepage.',
  'before_widget' => '<div id="%1$s" class="widget %2$s">', 'after_widget'  => '</div>',
  'before_title'=>'<h4 class="widgettitle">','after_title'=>'</h4>'
));
add_filter('genesis_footer_creds_text', 'footer_creds_filter');
function footer_creds_filter($creds) {
  $creds = '&copy; ' . date("Y") . ' <a href="http://www.example.com">MySite.com</a> - [footer_loginout]';
  return $creds;
}

Post new comment

The content of this field is kept private and will not be shown publicly (unless you post spam, in which case it will potentially be shown all over the place).
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • You can enable syntax highlighting of source code with the following tags: <ascode>, <as3code>, <csscode>, <jscode>, <phpcode>.

More information about formatting options