Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter thinkingleft

    (@thinkingleft)

    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_postmeta

    thanks again.

    Thread Starter thinkingleft

    (@thinkingleft)

    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!

    Thread Starter thinkingleft

    (@thinkingleft)

    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.

    Thread Starter thinkingleft

    (@thinkingleft)

    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.

    Thread Starter thinkingleft

    (@thinkingleft)

    Never mind. Got it to work.

    Thread Starter thinkingleft

    (@thinkingleft)

    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.

Viewing 6 replies - 1 through 6 (of 6 total)