thinkingleft
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How to add different icons per article category.Small update:
I think I need to add something in the content-extentions.php file.
Is this correct?somewhere near:
// Create the post edit link function thematic_postheader_posteditlink() { global $id; $posteditlink = '<a href="' . get_bloginfo('wpurl') . '/wp-admin/post.php?action=edit&post=' . $id; $posteditlink .= '" title="' . __('Edit post', 'thematic') .'">'; $posteditlink .= __('Edit', 'thematic') . '</a>'; return apply_filters('thematic_postheader_posteditlink',$posteditlink); } // end thematic_postheader_posteditlink // Create post title function thematic_postheader_posttitle() { if (is_single() || is_page()) { $posttitle = '<h1 class="entry-title">' . get_the_title() . "</h1>\n"; } elseif (is_404()) { $posttitle = '<h1 class="entry-title">' . __('Not Found', 'thematic') . "</h1>\n"; } else { $posttitle = '<h2 class="entry-title"><a href="'; $posttitle .= get_permalink(); $posttitle .= '" title="'; $posttitle .= __('Permalink to ', 'thematic') . the_title_attribute('echo=0'); $posttitle .= '" rel="bookmark">'; $posttitle .= get_the_title(); $posttitle .= "</a></h2>\n"; } return apply_filters('thematic_postheader_posttitle',$posttitle); } // end thematic_postheader_posttitle // Create post meta function thematic_postheader_postmeta() { $postmeta = '<div class="entry-meta">'; $postmeta .= thematic_postmeta_authorlink(); $postmeta .= '<span class="meta-sep meta-sep-entry-date"> | </span>'; $postmeta .= thematic_postmeta_entrydate(); $postmeta .= thematic_postmeta_editlink(); $postmeta .= "</div><!-- .entry-meta -->\n"; return apply_filters('thematic_postheader_postmeta',$postmeta); } // end thematic_postheader_postmetathanks again.
Forum: Fixing WordPress
In reply to: How to add different icons per article category.Hi, I’ve been looking for a similar line in my php files, but I can’t find anything. This is my index.php and well.. it looks pretty basic.
<?php // calling the header.php get_header(); // action hook for placing content above #container thematic_abovecontainer(); ?> <div id="container"> <div id="content"> <?php // create the navigation above the content thematic_navigation_above(); // calling the widget area 'index-top' get_sidebar('index-top'); // action hook for placing content above the index loop thematic_above_indexloop(); // action hook creating the index loop thematic_indexloop(); // action hook for placing content below the index loop thematic_below_indexloop(); // calling the widget area 'index-bottom' get_sidebar('index-bottom'); // create the navigation below the content thematic_navigation_below(); ?> </div><!-- #content --> </div><!-- #container --> <?php // action hook for placing content below #container thematic_belowcontainer(); // calling the standard sidebar thematic_sidebar(); // calling footer.php get_footer(); ?>So where would I copy the code you wrote above?
Thanks again!
Forum: Fixing WordPress
In reply to: How to add different icons per article category.Hi Voodoo,
Sorry for the late reaction. Hmz.. have to check if I can’t get email updates on replies.
Thank you a bunch mate! Will get on it right now and will keep you posted! Thanks for taking time to explain it to me. Very much appreciated! =)
Hope you are enjoying your weekend. =)
david.
Forum: Themes and Templates
In reply to: Adding a home tab to thematic.Don’t know how I did it with the colours. But for the home tab. Just copy the thematic-child theme (in the thematic theme folder) to your themes folder. Then activate the theme as you normally would. Then copy past the php stuff from http://themeshaper.com/guide-customizing-thematic-theme-framework/ (about the home link) into the functions.php And then you are done. (there is already a bit about //add home.. in the functions.php so you can delete that part).
YAY! back to work.Forum: Themes and Templates
In reply to: Adding a home tab to thematic.Never mind. Got it to work.
Forum: Themes and Templates
In reply to: Adding a home tab to thematic.Ah.. I got the menu pretty much working with the colour now.
So the biggest question now is how to add the home button.cheers.