Forums

Help customising Starkers template - Comments page (9 posts)

  1. duklaprague
    Member
    Posted 1 year ago #

    Hope someone can help with this. I'm just setting up a blog for a site, based on the Starkers theme, but trying to get it to sit naturally within the main site.

    I'm just about there with the main blog page:

    http://www.joanneburrell.com/blog/

    And also the archive / categories pages:

    http://www.joanneburrell.com/blog/?m=201102

    I can't quite seem to get the comments page right though - basically the blog is appearing out with my contentWrapper <div>:

    http://www.joanneburrell.com/blog/?p=1#comments

    If you view the source, the code for the blog entry appears between:

    <!-- END HEADER -->

    and

    <!-- You can start editing here. -->

    Whereas I really want it to be down after:

    <!-- OPEN CONTENT -->
    <div id="content">
    <!-- OPEN CONTENT -->

    The trouble is I can't figure out where the blog entry is being referenced from in the comments.php file.

    the start of which looks like:

    [code moderated as per forum rules - please use the pastebin]

    Hopefully that makes sense, and someone can steer me back in the right direction.

    Thank you!

  2. alchymyth
    The Sweeper
    Posted 1 year ago #

    it is normally single.php that calls comments.php indirectly by using 'comments_template();'

    look into single.php to move your divs.

  3. duklaprague
    Member
    Posted 1 year ago #

    Thank you - I would never have thought of looking in there in a hurry!

    Think I'm pretty sorted now, although there are a few | characters dotted around - you don't happen to have any idea what's causing them, and how to get rid of them?

  4. alchymyth
    The Sweeper
    Posted 1 year ago #

    do you have any plugins activated?

    these | occur on the front page, in the archives, and in single post.

    to check, try and deactivate all plugins;
    if this solves the mystery of the | , re-activate one plugin after the other, to see which one might be causing it.

  5. duklaprague
    Member
    Posted 1 year ago #

    Don't think its any plugin - there were only the default ones (Add to Any Subscribe Button; Akismet; FD Feedburner; Hello Dolly), and they're all deactivated.

  6. alchymyth
    The Sweeper
    Posted 1 year ago #

    it might be from the 'nextpost/prevpost' code section, and from the postmeta section;

    can you paste the code of single.php and index.php into a http://wordpress.pastebin.com/ each and post the two links to them here?

  7. duklaprague
    Member
    Posted 1 year ago #

  8. duklaprague
    Member
    Posted 1 year ago #

    Actually, don't worry - I've been through the pages and managed to remove the offending ones.

    Thanks for taking the time to help out though - its much appreciated.

  9. alchymyth
    The Sweeper
    Posted 1 year ago #

    if this is all sorted, please mark the thread as 'resolved'

Topic Closed

This topic has been closed to new replies.

About this Topic