• Hi,

    I want to add a static page PHP for one of the item in the menu.

    like about us , in this page a have php code ,div , etc

Viewing 1 replies (of 1 total)
  • You can do this like:
    1. add this code in your template where you want it to be Home or a page:
    <?php
    /**
    * Template Name: Full Width Page
    *
    * @package WordPress
    * @subpackage Twenty_Fourteen
    * @since Twenty Fourteen 1.0
    */

    2. Go to Page > create a page > on the right pane select the page attribute > template > you can now see the template name where the example is Full Width Page

Viewing 1 replies (of 1 total)
  • The topic ‘add Static Page (no articles or home)’ is closed to new replies.