Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function <THEME_NAME>_preprocess_node(&$vars) {
- if(!empty($vars['node']->tnid) && $vars['node']->tnid !== 0){
- $vars['theme_hook_suggestions'][] = 'node__'.$vars['node']->tnid;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement