Jump to content


Photo
- - - - -

Add IDs to List of Content (Boxes, Features, etc.)


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

#1 smitchell360

smitchell360

    Member

  • Members
  • PipPip
  • 14 posts

Posted 17 December 2010 - 01:08 AM

For example in section.boxes.php line 174 add: <div class="dcol_<?php echo $perline;?> dcol box_<?php echo $post->ID; ?>">

#2 smitchell360

smitchell360

    Member

  • Members
  • PipPip
  • 14 posts

Posted 07 January 2011 - 05:03 PM

It would also be nice if you added - first / last item in lists - odd / even items in lists This way, we can style our items more specifically.

#3 cmunns

cmunns

    Advocate

  • Members

  • 6537 posts

Posted 07 January 2011 - 06:35 PM

A beauty of WP in the first place :) Also, note that you can use psuedo selectors like :first-child :last-child (may not be supported in IE)