Jump to content

Custom input field


Recommended Posts

In my php i want something like this:


<h2><?php echo $page->header_1 ?></h2>
<some other html>
<h2><?php echo $page->header_2 ?></h2>

how can i edit the header_1 and header_2 on the site manager?
Link to comment
Share on other sites

In PW admin, create 2 fields of text (simple text or HTML, with appropriate formatter and editor), "my_page_header_1" and "my_page_header_2", go to the template of this page and add the 2 fields, and finally edit the page and fill the texts.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...