Archived

This topic is now archived and is closed to further replies.

Suggestion: add post ID to box template

3 posts in this topic

Posted · Report post

In the section template for the "Box" section, it would be useful to have a css hook so that we could style individual boxes as necessary. I made this change locally but it might be nice to include in the next minor release:

	// in section.boxes.php
	<div class="dcol_<?php echo $perline;?> dcol" id="box-<?php the_ID() ?>">
	

It may be useful to include this for the other sections that iterate over custom post types as well.

Share this post


Link to post
Share on other sites

Posted · Report post

I agree. All content containers should be that way.

Share this post


Link to post
Share on other sites

Posted · Report post

Good idea, moved to Ideas and Feedback. Thanks, Bryan

Share this post


Link to post
Share on other sites