mennake / thematic

Automatically exported from code.google.com/p/thematic
0 stars 0 forks source link

Edit link for pages in post footer, no thematic_postfooter in pages #148

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
why is there a condition for pages in the thematic_postfooter() if 
thematic_postfooter is not called on page.php ?  

on a related note, why isn't the single page content a loop like the single 
post?

`
 $post_type = get_post_type();
        $post_type_obj = get_post_type_object($post_type);

        // Check for "Page" post-type and logged in user to show edit link
        if ( $post_type == 'page' && current_user_can('edit_posts') ) {
            $postfooter = '<div class="entry-utility">' . thematic_postfooter_posteditlink();
            $postfooter .= "</div><!-- .entry-utility -->\n";
        // Display nothing for logged out users on a "Page" post-type 
        } elseif ( $post_type == 'page' ) {
            $postfooter = '';
        // For post-types other than "Pages" press on
        } else {

`

this doesn't do anything... the edit link appears to be added via filter to 
the_content, is that us or wp doing that?

Original issue reported on code.google.com by helgathe...@gmail.com on 7 Jun 2012 at 3:40