Skip to content

Instantly share code, notes, and snippets.

@RustBeard
Created January 8, 2016 12:36
Show Gist options
  • Save RustBeard/22869c12e04d563edcad to your computer and use it in GitHub Desktop.
Save RustBeard/22869c12e04d563edcad to your computer and use it in GitHub Desktop.
Print other node in Drupal template
<?php
$nid = 814; //id of node you want to load
$node = node_load($nid);
print render(node_view($node));
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment