Jump to content


Photo
- - - - -

Suggestion: add post ID to box template


This topic has been archived. This means that you cannot reply to this topic.
2 replies to this topic

#1 stereoscott

stereoscott

    Member

  • Members
  • 15 posts

Posted 30 November 2010 - 11:18 PM

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.

#2 pcgs

pcgs

    Super Member

  • Members
  • PipPipPipPip
  • 108 posts

Posted 30 November 2010 - 11:38 PM

I agree. All content containers should be that way.

#3 bryan-hadaway

bryan-hadaway

    Advocate

  • Members
  • PipPipPipPipPip
  • 3697 posts

Posted 01 December 2010 - 03:13 AM

Good idea, moved to Ideas and Feedback.

Thanks, Bryan