• Is there a way to apply an odd-even function when displaying galleries in an album? I am using the extended album view and would like to create a striped effect by having a different colored background for odd galleries and even galleries.

    I noticed this function as part of the index.php file in my current theme:

    <?php /* Add Odd or Even post class so post containers can get alternating CSS style (optional) */
    $odd_or_even = (($bfa_ata[‘postcount’] % 2) ? ‘odd-post’ : ‘even-post’ ); ?>

    <?php /* This is the actual WordPress LOOP.
    The output can be edited at Atahualpa Theme Options -> Style & edit the Center column */
    bfa_center_content($bfa_ata[‘content_inside_loop’]); ?>

    Is there a way to customize this to work in album-extend.php?

  • The topic ‘[Plugin: NextGEN Gallery] odd even function displaying galleries’ is closed to new replies.