Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • This is a beautiful theme, amazing work!

    Thread Starter bryko

    (@bryko)

    Hello,
    thanks a lot for the links! Well, I knew them before, so this time I just tried harder ??
    So far I got stuck in trying to manipulate sigle sidebar posts. Example: say I have three posts in the sidebar, entitled: cats, dogs and rabbits. I would like to have the loop going on something like this:
    “if this post belongs to the category ‘sidebar’ and if its title is ‘cats’, show it”
    But somehow I am not able to get the condition:
    if (in_category('1') and the_title()=='cats') { blah blah blah }
    work… I guess there must be something wrong with the notation of the ‘the_title()==’cats’, but I have tried lots of different combinations and nothing seems to work.

    I would be extremely grateful for help…!

    jarek`

Viewing 2 replies - 1 through 2 (of 2 total)