I have a custom page template for my press page. Is there a way I can insert html or a function for a slideshow into the page template?
Essentially, the way my press page works now is that it pulls blog posts with the category “press” into a page I have set up called “news-in-the-press” I have tried just pasting the shortcode into the actual page, but nothing shows up. I assume this is because the page template press-page.php is overriding it because it works when I paste the shortcode into a new page. I have also tried pasting the shortcode into the page template, but it does not work.
Is there a piece of code or something I can paste into the page template?
- The topic ‘HTML in Page Template’ is closed to new replies.