johnsojc 0 Report post Posted January 7, 2011 Been trying to create my own unique child theme based on Pagelines to redesign my blog http://www.remixthevideo.com. I would like for the header part of the single post to be different from what I have on the index and archives. I am kind of at a loss at how to do this.. I was thinking creating a single.php for my child theme? Test site: http://www.musictweetlinks.com Share this post Link to post Share on other sites
johnsojc 0 Report post Posted January 7, 2011 What I mean by header part is I would like the layout of the post title, date, author and comments to be different. Share this post Link to post Share on other sites
Andrew 207 Report post Posted January 7, 2011 well you can always override the template.postloop.php in your child theme, then edit to your heart's content. Share this post Link to post Share on other sites
catrina 103 Report post Posted January 7, 2011 It's possible to create a different header part by creating a single.php file. Do you already have an idea of how you want the header to look? Please read the docs before posting. Please do not private message me unless I ask you to. Designer | Catrina Dulay Founder | Catrina and Mouse Share this post Link to post Share on other sites
johnsojc 0 Report post Posted January 7, 2011 Alright, I think I know what I need to do. Duplicate the <div class="post-title-section fix"> and move the original below <?php if(pagelines_show_excerpt( get_the_ID() )): // Post Excerpt ?> and move the duplicate below <?php if(pagelines_show_content( get_the_ID() )): // Post and Page Content ?> and edit that. Must have been too tired to figure this out last night. Thanks! By the way, the comment count displays "1 Comments" and not "1 Comment" out of the box for Pagelines from the code below: a rel="nofollow" class="comments-num" href="<?php the_permalink(); ?>#comments" title="<?php _e('View Comments', 'pagelines');?>"><span><?php comments_number(0, 1, '%'); ?></span> <?php _e('Comments','pagelines');?></a I changed it to: a rel="nofollow" class="comments-num" href="<?php the_permalink(); ?>#comments" title="<?php _e('View Comments', 'pagelines');?>"><?php comments_number('Comment', '1 Comment', '% Comments'); ?></a To display it correctly. Share this post Link to post Share on other sites
johnsojc 0 Report post Posted January 7, 2011 Just was thinking... If I would like to do full posts on the front page, changing the code above would produce the same results on all full posts including the front page and single posts. I would like to edit only the single post appearance.. Share this post Link to post Share on other sites
Andrew 207 Report post Posted January 8, 2011 Thanks Jess, marked best answer for you Share this post Link to post Share on other sites