title: Newbie question: Why is my PHP OR operator not working?
body: <p>I have a function where I want to display something if the value equals A, C or D.</p>
  
  <p>The problem is if the value is set at B or E, the function is display data in the A.C.D. set in addition to the B or E set.</p>
  
  <p>What am I doing wrong?</p>
  
  <pre><code>$linkp = opensky_featured_image_position(); 
  
  if ( $linkp == 'featuredimg-1' || 'featuredimg-3' || 'featuredimg-4' ) {
      echo '&lt;h1&gt;F - '. opensky_featured_image_position() .'&lt;/h1&gt;';
  }
  if ( $linkp == 'featuredimg-2' ) {
      echo '&lt;h1&gt;L - '. opensky_featured_image_position() .'&lt;/h1&gt;';
  }
  
  if ( $linkp == 'featuredimg-5' ) {
      echo '&lt;h1&gt;N - '. opensky_featured_image_position() .'&lt;/h1&gt;';
  }
  </code></pre>