Tell me more ×
WordPress Answers is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I'm using a theme which works with Genesis Framework. The theme is called pinsomo & I'm wondering how to "move" comments count div to the bottom of the post.

Here is the demo: [[link has expired]]

You see the comment icon next to the title. I want to move it to the heart icon.

share|improve this question
2  
Please post relevant code, otherwise, we have no way to provide answers. – Chip Bennett Feb 17 at 14:46
The problem is that this is the first tiem I work with Genesis FW, or any FW, or any child theme. There are folders -> structure in themes/genesis and themes/pinsomo. I just need some suggestions where the SINGLE post layout is stored. Or something like this. Thanks! – FakeHeal Feb 17 at 14:52
1  
But Geneisis is a commercial Theme, so we don't have access to the code to give you that information, or to know if it is Genesis-specific or WordPress-specific. It may or may not have anything to do with Genesis, but without seeing the code, we have no way to know. – Chip Bennett Feb 17 at 15:01
Search your theme files for comments_number. If you can find that-- if the theme(s) even use that function-- then post the surrounding code. That is the bit you need to move. – s_ha_dum Feb 17 at 15:29

1 Answer

I've managed to do what I wanted.

I put this code in themes/genesis/lib/structure/post.php after the_content() in function genesis_do_post_content() { .. }

$post_info =  ' [post_comments] ';
printf( '%s', apply_filters( 'genesis_post_info', $post_info ) );

And everything works as I expected. I hope someone finds this useful. :)

share|improve this answer
FakeHeal, you don't want to do that. Editing anything in themes/genesis is editing the Genesis framework directly, which means that an update to Genesis has the potential (and the likelihood) of destroying those changes you've made. With Genesis, each theme has a file called functions.php. Using functions.php you can programmatically override a lot of the built-in Genesis behavior. That's where you want to make your changes. – Robert Wall May 17 at 3:04

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.