www.webdeveloper.com
Results 1 to 1 of 1

Thread: Wordpress Help (Themeing the Backend)

  1. #1
    Join Date
    Apr 2011
    Posts
    16

    Wordpress Help (Themeing the Backend)

    I am currently working on a wordpress server and have been asked to change the appereance of the backend pages regarding creating new posts.

    This affects the following files.. (as far as I can tell)
    • post-new.php
    • post.php
    • edit.php


    I have been able to successfully "theme" these pages to reflect the front end design. Here is my problem:

    Whenever a user views the "post-new.php" page or "edit.php", they are able to do whatever they need (i.e. make a new post, or edit an existing post). Upon clicking "update post" from the edit.php page, or upon clicking "submit" from the post-new.php page they are redirected through post.php, which will typically show them their post and what they have just done or something similar. Instead however they are getting this error:

    Code:
    Warning: Cannot modify header information - headers already sent by (output started at /public_html/toolbox/wp-admin/post.php:8) in /public_html/toolbox/wp-includes/pluggable.php on line 897
    (notwithstanding this error, their new post or edited post still takes effect and actually works)

    Typically I understand that this problem is usually a result of white space or something else being placed before the opening php tag.

    On the post.php, I expressed that this was a page that needed to be "themed" to reflect the front end. So naturally there is html before the <?php.

    What do I need to do to get around this?

    If you are familiar with wordpress just think of the problem in this way:
    "How can I theme the post-new.php and edit.php page to reflect the frontend?"

    Thanks!
    Last edited by captainrad; 06-16-2011 at 04:11 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles