I am trying to create a template for a custom page type that will put the same data on every page of this type. The only problem is I see examples of custom page types but only using loops. Do I have to use a loop if it is a single page. How will I fill in the data here like title and content.
<?php
/*
Template Name: Use Case Template
*/
?>
<?php get_header(); ?>
<div class="wrap">
<div class="leftcol">
<h3 class="usehd">
TITLE
</h3>
<div class="hd-div">
</div>
<div class="use-content">
CONTENT
</div>
</div>
<div class="rightcol">
<div class="sideform">
<form name="usecase" id="usecase">
<label>Email</label><br>
<input type="text" name="email" class="txtinput" />
<br>
<label>Full Name</label><br>
<input type="text" name="fullname" class="txtinput" />
<br>
<label>Company Name</label><br>
<input type="text" name="company" class="txtinput" />
<br>
<label>Number of employees</label><br>
<select name="employeenum" class="useselect">
<option value="10">10</option>
<option value="100">100</option>
<option value="1000">1000</option>
<option value="9999">1000+</option>
</select>
<br>
<input type="submit" value="Submit" class="usecasesubmit" />
</form>
</div>
</div>
</div>
<?php get_footer(); ?>