Adding category to grid thumbnails?

Viewing 3 posts - 1 through 3 (of 3 total)
  • #11640
    Mindscanner
    Participant

    i found i nice options for adding a date to grid thumbnails
    http://wordpress.org/support/topic/adding-date-to-grid-thumbnails?replies=7

    .date-meta {
    background-color: #000;
    opacity: .5;
    filter: alpha(opacity=50);
    position: absolute;
    padding: 5px;
    top: 21px;
    right: 20px;
    color: #FFF;
    }

    function pinboard_post_thumbnail() {
    if( has_post_thumbnail() ) : ?>

    <a href="” rel=”bookmark” title=””>

    <?php endif;
    }

    I try to change the code for adding the category but im to stupid to find it (no php expert)

    can someone give me the solution plz?

    thx

    #11642
    Alexander
    Participant

    Hi Cafeproat,

    try to target the categories with the function: the_category( ‘, ‘ ) whereas the ‘,’ is the divider as categories are defines as an array.

    You will find the reference for this function here.

    Cheers,
    Alexander @ http://www.mouseclick.com

    #11648
    Mindscanner
    Participant

    Thx for the reply Alexander but i have 3 problems :-/

    1 im not so good with english
    2 im not good with the CCS langue
    3 where do i start?

    normal when i try to tweak i always copy paste the code from others

    thx again for the fast reply

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.