I’d like to know how to successfully insert the shortcode into a template file instead of using it in a page or post. I know it’s possible but I have no clue how to do it!
I’m using the home.php file in my theme and would like to insert similar code as you would in a page:
I read that it has to be done using shortcode but I couldn’t figure out why that doesn’t work. Or maybe it’s because I didn’t enter anything in my functions.php file. I really don’t know but hope someone else does!
- The topic ‘[Plugin: NextGEN Gallery] Insert gallery into home.php template file’ is closed to new replies.