Support » Themes and Templates » editing a page in the dashboard

editing a page in the dashboard

  • Hi all,

    I am pretty new at wordpress and I am trying to make a theme from scratch for my site. Until now I was able to add all the stuff I need for it but now that I think the template is done I want to be able to add different content for each page apart. If I continue adding code to my page.php, all my pages will show all that. I’ve tried to go in the dashboard and edit the pages from there but it shows only a blank text area where I can add my content. Once I add it in there it doesn’t show it in my webpage.

    I know this is something simple but I wasn’t able to figure it out… Any ideas are greatly appreciated!

    Antoncontent, dashboard, pages, templates

Viewing 4 replies - 1 through 4 (of 4 total)
  • hmm, I think maybe you have made an error in page.php, please restore an orignal copy of that file and then see if you can edit pages.

    page.php is called for every page, so yes any content you put in this file will appear on each of your pages.

    Cheers, John.

    The only thing I need in my page.php is a <?php /* Template Name: Page */ ?> right? Even after adding this it still not displays anything on the page edit area of the dashboard…

    On the other hand, I have 23 separate pages that have the same layout where header, sidebars, footer are all the same but different content in main div. I thought I would be able to have the same page.php template added to all of them and have the content inserted through a php anchor or something similar and be able to edit just the content in the dashboard. What’s the best way to go about building this?


    No page.php must have much more stuff in it.

    Restore an original and work from there…you need to cut the HTML out of each main DIV and insert it into each page in the Dashboard.

    Cheers, John.

    Solved it finally. The issue was that i deleted the loop from that page. Once i put it back everything went flawless. Now I can edit all the html in the dashboard 🙂

    I knew it was beginners thing! Thanks for the help!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘editing a page in the dashboard’ is closed to new replies.
Skip to toolbar