![]() |
Code Share, Post some snippets, perl, ruby, php, bash, python
Some designers for video based sites say have 4 videos, and they add a last class to the last one, here is some code for you to use for this in the wordpress loop
Code:
<div class="video<?php if (!((1+$wp_query->post_count) % 4)) echo ' last' ?>"> |
All times are GMT -7. The time now is 01:05 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123