ThemeShaper Forums » Thematic

How to replace the site URL in the header(blog title)? Can it be simple?

(3 posts)
  • Started 9 years ago by limster
  • Latest reply from limster
  • This topic is resolved
  1. Hi, I'm trying to use an external URL in place of the site URL in the blog title. I'm new to Thematic and used to (dangerously) monkeying directly with the template php files, and I haven't a clue about how to use the functions.php file, or what the library of actions is.

    Is there an easy way to do this though the functions.php file? Secondly, are there simple ways to delete or replace elements in general through the functions.php file?

    Thanks for any replies

    Posted 9 years ago #
  2. Hey,

    you need to remove thematic_blogtitle() first:

    function remove_blogtitle() {
        remove_action('thematic_header','thematic_blogtitle',3);
    }
    add_action('init', 'remove_blogtitle');

    Then you can redefine it using your own function:

    function child_theme_blogtitle() { ?>
        		<div id="blog-title"><span><a href="YourURL/" title="<?php bloginfo('name') ?>" rel="home"><?php bloginfo('name') ?></a></span></div>
    <?php }
    add_action('thematic_header','child_theme_blogtitle',3);

    In general most of the different parts building your blog using Thematic can be controlled, filtered, deleted.

    Take a look at Customization Guide for Thematic or Code Snippets.

    Cheers,

    Chris

    Posted 9 years ago #
  3. Thanks so much Chris!

    Posted 8 years ago #

RSS feed for this topic

Reply

You must log in to post.