Archived

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

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

3 posts in this topic

Posted · Report post

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

Share this post


Link to post
Share on other sites

Posted · Report post

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.

Share this post


Link to post
Share on other sites

Posted · Report post

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)

Share this post


Link to post
Share on other sites