Want more features on Pastebin? Sign Up, it's FREE!
Guest

div inside php get_header

By: marujobhz on May 17th, 2011  |  syntax: None  |  size: 1.09 KB  |  views: 76  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?php get_header();
  2.  
  3. // SLIDESHOW
  4.  
  5. $slideTerm = get_option('phi_home_slideshow_category');
  6.  
  7. if(get_option('phi_home_slideshow_type') == 'cycle'){
  8.     echo phi_cycle_slider($slideTerm,'fullwidth');
  9. }
  10.  
  11. if(get_option('phi_home_slideshow_type') == 'accordion'){
  12.     echo phi_accordion_slider($slideTerm);
  13. }
  14. ... (lines and lines)....
  15.  
  16. echo '</div>';
  17. endif;
  18.  
  19.  
  20. if (function_exists('dynamic_sidebar') && dynamic_sidebar('Home Page Widget 4')){};
  21.  
  22. get_footer();?>
  23.  
  24. ============================================================================
  25. i need to put a div like bellow
  26.  
  27. <?php get_header();
  28.  
  29. <div id="meuconteudo">
  30. texts, fotos, etc
  31. </div>
  32.  
  33. // SLIDESHOW
  34.  
  35. $slideTerm = get_option('phi_home_slideshow_category');
  36.  
  37. if(get_option('phi_home_slideshow_type') == 'cycle'){
  38.     echo phi_cycle_slider($slideTerm,'fullwidth');
  39. }
  40.  
  41. if(get_option('phi_home_slideshow_type') == 'accordion'){
  42.     echo phi_accordion_slider($slideTerm);
  43. }
  44.  
  45. ... (vĂ¡rias linhas)....
  46. echo '</div>';
  47. endif;
  48.  
  49.  
  50. if (function_exists('dynamic_sidebar') && dynamic_sidebar('Home Page Widget 4')){};
  51.  
  52. get_footer();?>
clone this paste RAW Paste Data