• Hi there,

    I made a script to get different headers in my pages and categories. Almost every single one works perfect, except ofc 1.

    The problem is that my index page (front page) is not getting the right img but takes a category img.

    Anyone know a solution?

    Website index: studio-strijp.nl
    The header img should be: this

    The code

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Nickybbb

    (@nickybbb)

    * bump *

    this is probably because one of the ‘in_category()’ is true for one of the posts on the front page;

    try re-ordering your if statements with the more general and important on top.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Script for header img error’ is closed to new replies.