• Resolved thisisedie

    (@thisisedie)


    I have a strange question. For instance, I’m using:

    if ($post->ID == '78' || $post->ID == '81'|| $post->ID == '73') continue;

    to skip certain pages in my query. Is it possible that this might not work in all browsers?

Viewing 3 replies - 1 through 3 (of 3 total)
  • With the assumption that your line of code (above) is in between <?php and ?> tags… it all happens server-side. Browser shouldn’t be an issue since the code has already been rendered by the server.

    Thread Starter thisisedie

    (@thisisedie)

    Oh yes, it’s between the proper tags. I was just curious if it’s possible for code to not work in certain browsers.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    I was just curious if it’s possible for code to not work in certain browsers.

    Anything is possible, but since the code is controlling what your page shows, I can’t really think of a way that a browser would do something else in that situation.

    UNLESS you have some fancy coding that says ‘If IE, show pages 79, 80 and 72’ of course 🙂

    You should be fine.

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

The topic ‘Strange Question’ is closed to new replies.