Posted By

robotronikk on 06/14/09


Tagged


Versions (?)

What's holding that incude is...


 / Published in: PHP
 

  1. <?php
  2. /* Template Name: Team Member Sidebars
  3. */
  4. ?>
  5.  
  6. <?php $key="choose-invest-prof" ?>
  7. <?php $value= get_post_meta($post->ID, $key, true); ?>
  8.  
  9. <?php
  10. if ($value=="investment-professional"): {
  11. include('investment-professionals-sidebar.php');
  12. include('operating-partners-sidebar.php');
  13. }
  14. ?>
  15. <?php else: ?>
  16. <?php
  17. include('operating-partners-sidebar.php');
  18. include('investment-professionals-sidebar.php');
  19. ?>
  20. <?php endif ?>

Report this snippet  

You need to login to post a comment.