• For some reason my conditional statements in the code below simply don’t work. I’m stumped, I suppose I must have an unclosed tag somewhere? Can anyone see what I’m doing wrong? Thank you!

    [code moderated as per fourum rules - please use the pastebin]

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

    (@alchymyth)

    what are the results?

    no stylesheet linked?
    always the same stylesheet linked?
    multiple stylesheets linked?

    can you describe in words, what you expect?

    a link to your site might allow someone to check this.

    Thread Starter Spencer Hill

    (@ws5f3dj7)

    Thanks for the reply alchymyth. For some reason it just started working all of the sudden. I didn’t change anything (to the best of my knowledge) that would have affected so I have a feeling this was cache related. Though I encounter this issue every time I work on a new site so when I start my next project (assuming I encounter the issue) I will reply to this thread again.

    Sorry and thanks!

    PS Some stylesheets linked, others didn’t (such as single.css). I expect that if the conditional statement is true that the code within that (in this case my stylesheet’s) would print to the page when it’s rendered.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘if ( is_single() ) { } and others don't work, need help…’ is closed to new replies.