Print Views Block - views_embed_view Function


When you want to print a "views" block in a template. This uses the views_embed_view function

Get raw version
  1. <!--- views_embed_view($name, $display_id = 'default')
  2. Using the Views Embed Function. View name then the name of the display. The name of the display can be found under the advanced section of views under machine name --->
  4. <?php print views_embed_view('default_conference_date','block_date_header'); ?>