Grow your CSS skills. Land your dream job.

Need a bit of help regarding wordpress website !!

  • # February 10, 2013 at 12:13 pm

    Hi everyone.

    This is related to this [website](http://www.pheasantshootingreviews.co.uk “pheasant shooting reviews”).

    The website is designed in wordpress by myself (self tought….and still learning !!)

    Its a pheasant shooting review website in the UK and Ireland, with each review being seperated by the county that it is in.

    And what im trying to do if to have 2 free advertising boxes at he top of each county.

    So for example if there are reviews in Devon at the top I will have 2 adverts (hopefully from a shoot in Devon), but then I would want different adverts for the review under say Yorkshire.

    Can anyone help me with any ideas on how to go about this ?

    # February 12, 2013 at 1:01 am

    If they are categories, try something like

    < ?php
    if ( in_category( ‘devon’ )) {
    // …..
    } elseif ( in_category( ‘yorkshire’ )) {
    // …..
    } else {
    // …..
    }
    ?>

    # February 12, 2013 at 10:59 am

    You could create separate widget areas for them I suppose, that would get a bit unruly though with too many.

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

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".