Jump to content
Sign in to follow this  
smitchell360

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

Recommended Posts

smitchell360

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
smitchell360

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
cmunns

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×