Viewing 1 replies (of 1 total)
  • If your URLs look like the ones you list in your post; i.e., you’re not using pretty permalinks, you could just put a little PHP in your child theme’s header.php to switch the header:

    <?php
      $header_to_display = filter_input(INPUT_GET, 'Header', FILTER_SANITIZE_STRING);
      switch ($header_to_display) {
        case 'header1':
          // header 1 code here
        break;
        case 'header2':
          // header 2 code here
        break;
        default:
          // default header here for when you don't pass the variable
      }
    ?>

    I’m suggesting using a child theme so your changes don’t get overwritten should you ever update your parent theme.

Viewing 1 replies (of 1 total)
  • The topic ‘Dynamic Images’ is closed to new replies.