Support » Theme: Tiny Forge » Move title-comment-meta to footer-entry-meta

  • Resolved Gabbz

    (@gabbz)


    Hi Tomas,
    Thanks so much for a great theme πŸ™‚

    I would like to move the title-comment-meta to footer-entry-meta (the comments count) or just simply remove it from after the title.

    I also would like to put a “Leave a comment” link in the footer-entry-meta.

    I’m using in a child theme btw. I’m trying to sort out the entry-meta as I would like it, I copied the code from parent theme functions and just deleted some stuff, don’t know if that’s the right thing to do but it looks ok. Ultimately I would like the footer-entry-meta to display: Published in _____ | Taggs: ____ | Leave a comment | Edit

    The site I am working on at the moment: http://gf-design.se/WPtest/ it just has some muck-up posts at the moment, it is going to be moved to the right location when the themeing is done πŸ™‚

Viewing 4 replies - 1 through 4 (of 4 total)
  • Theme Author Tomas Mackevicius

    (@tomasm)

    You can use:

    <?php if ( ! post_password_required() && ( comments_open() || get_comments_number() ) ) : ?>
    					 |  <?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'tinyforge' ) . '</span>', __( '1 Comment', 'tinyforge' ), __( '% Comments', 'tinyforge' ) ); ?>
    				<?php endif; // have comments ?>
    				<?php edit_post_link( __( 'Edit', 'tinyforge' ), ' | <span class="edit-link">', '</span>' ); ?>
    Thread Starter Gabbz

    (@gabbz)

    Thanks for your quick reply, that worked πŸ™‚

    And shall I just remove this from the entry-title then?

    <?php if ( comments_open() ) : ?><span class="title-comment-meta">
    					<?php comments_popup_link( '', '<span class="meta-separator">&bull;</span> ' . __( '1 Comment', 'tinyforge' ), '<span class="meta-separator">&bull;</span> ' . __( '% Comments', 'tinyforge' ) ); ?></span>
    				<?php endif; // comments_open() ?>
    Thread Starter Gabbz

    (@gabbz)

    And sorry I just have to ask, was it right of me to delete the stuff I didn’t want from the entry-meta in functions or should I have just tried to hide it with css (if that’s even possible)? Whats the right practice?

    Theme Author Tomas Mackevicius

    (@tomasm)

    Well for users, who doesn’t have enough experience I usually recommend doing everything via style.css, but if you know what you’re doing and you didn’t get any errors, then it should be all good πŸ˜‰

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Move title-comment-meta to footer-entry-meta’ is closed to new replies.