Hello, Thematic is really different. In other ones, the blog title and description will be in the header.php file. But I don't see it, nor do I see it anywhere else. I want to delete the blog title and description in the header so I can put a banner in it's place. And I don't like the idea of putting the banner where blog title is. It doesn't work for me. Thanks.
ThemeShaper Forums » Thematic
Header - Delete Blog Title and Description
(8 posts)-
Posted 4 years ago #
-
i just did the same at my site, and i got rid of the blogtitle by moving it out of screen, and added a display none for the description.
here the code;
#blog-title a {
background:url(headers/rotate.php) no-repeat top center;
display:block;
text-indent:-9000px;
width: XXpx;
height: 250px; */the height of my image
}#blog-description {
margin-bottom:22px;
display:none;
}hope that helps
Posted 4 years ago # -
No, sorry. I need to know the name of .php file that puts it there in the first place and where in the file is it at, line number if possible. Thanks.
Posted 4 years ago # -
library->extenions->hooks-filters.php
function thematic_blogtitle()
function thematic_blogdescription()if you want to remove the header/description add this to your functions.php of your child template
function remove_stuff() { remove_action('thematic_header','thematic_blogtitle'); remove_action('thematic_header','thematic_blogdescription'); } add_action('init','remove_stuff');Posted 4 years ago # -
<?php
//
// Custom Child Theme Functions
//// I've included a "commented out" sample function below that'll add a home link to your menu
// More ideas can be found on "A Guide To Customizing The Thematic Theme Framework"
// http://themeshaper.com/thematic-for-wordpress/guide-customizing-thematic-theme-framework/// Adds a home link to your menu
// http://codex.wordpress.org/Template_Tags/wp_page_menu
//function childtheme_menu_args($args) {
// $args = array(
// 'show_home' => 'Home',
// 'sort_column' => 'menu_order',
// 'menu_class' => 'menu',
// 'echo' => true
// );
// return $args;
//}
//add_filter('wp_page_menu_args','childtheme_menu_args');function remove_stuff()
{
remove_action('thematic_header','thematic_blogtitle');
remove_action('thematic_header','thematic_blogdescription');
}
add_action('init','remove_stuff');?>
I did the above (my entire function.php file) and it did not work. It's still there. The blog title and description. I have the default theme with no modifications.
Posted 4 years ago # -
You have to add the position numbers if they're declared in the original functions, which, in this case, they are.
function remove_stuff() { remove_action('thematic_header','thematic_blogtitle',3); remove_action('thematic_header','thematic_blogdescription',5); } add_action('init','remove_stuff');Posted 4 years ago # -
Ian Stewart: OMG...!!! Thank you so much!!! It worked perfectly!!! =)
Posted 4 years ago # -
Who are you people... and why do you keep solving my problems? :) Thanks for this code!
Posted 1 year ago #
Topic Closed
This topic has been closed to new replies.