[resolved] Cannot get custom template option to show up (3 posts)

  1. nickandrea19
    Posted 4 years ago #

    I am trying to add an events.php template to use the Ternstyle Event Page plug-in. I have created events.php and given it the Template name Events, as described in the plug-in's literature. This is placed at the top of the file:

    <?php /* Template Name: Events */ ?>

    Also, as per others' suggestions I added another unique template name just as a test called Events Test (events_test.php). Neither of these are showing up and I can't figure out why. Help?

  2. zex2911
    Posted 4 years ago #

    try to do it like:

    Template Name: Events

    And be careful not to have white space before first <?php

  3. nickandrea19
    Posted 4 years ago #

    Oh zex you are a genius. That worked. Thanks a million. It's beautiful!

Topic Closed

This topic has been closed to new replies.

About this Topic