Page Template in WordPress

Page Template in WordPress:-

The template is used to provide a unique view in WordPress theme .it can be used to provide extra design layout in the WordPress theme.

Template always will be created under WordPress theme.

Example of WordPress Template:-

<form action="" method="post">

     <input type="text" name="txtp" placeholder="Enter First Number" />
     <input type="text" name="txtr" placeholder="Enter Second Number" />
      <input type="submit" name="btnsubmit" value="ADD" />


      $a = $_REQUEST['txtp'];
      $b = $_REQUEST['txtr'];
      echo "Result is ".$c;


How we set the template in WordPress:-

Go into dashboard |pages |document|template


Post a Comment


POST Answer of Questions and ASK to Doubt

Post a Comment (0)