Results 1 to 6 of 6

Thread: Create a Post Outside the Admin Panel

  1. #1
    Andrea Barghigiani is offline Hello World
    Join Date
    Sep 2010
    Location
    Italy, Leghorn
    Posts
    16

    Default Create a Post Outside the Admin Panel

    Hi guys,

    I am looking to find a way to create a post outside the classic admin panel... Let me explain a little better.

    I would like to redirect a user that wants to create a new post to a page created by myself, a page that respect the look & feel of my theme.

    So I am here asking, anyone of you knows how I could accomplish something like that? How can I'll be able to catch the user when he's tring to get the New Post tab inside the Admin Panel and redirect him to my own page?

    Thank's in advance!

  2. #2
    Jeffro's Avatar
    Jeffro is offline WPTavern Forum Admin
    Join Date
    Jan 2009
    Location
    Ohio
    Posts
    2,359

    Default

    So in essence, you would be creating an entirely new post writing screen and redirect users to that? I know the back-end of WordPress can be themed just as much as the front-end but I'm not totally sure the correct way to go about themeing the back-end. However, it seems to me like that would be the better way to go instead of creating an all new post writing screen.

  3. #3
    andreasnrb's Avatar
    andreasnrb is offline Kegger
    Join Date
    Jun 2009
    Posts
    595

    Default

    Quote Originally Posted by Andrea Barghigiani View Post
    Hi guys,

    I am looking to find a way to create a post outside the classic admin panel... Let me explain a little better.

    I would like to redirect a user that wants to create a new post to a page created by myself, a page that respect the look & feel of my theme.

    So I am here asking, anyone of you knows how I could accomplish something like that? How can I'll be able to catch the user when he's tring to get the New Post tab inside the Admin Panel and redirect him to my own page?

    Thank's in advance!
    You could replace the link in the menu =). Make a function that hooks in to init check if your in admin and manipulate the global $submenu array. Do a print_r of it and you can track down which link to replace.

  4. #4
    Ryan's Avatar
    Ryan is offline WordPress Legend
    Join Date
    Jan 2009
    Location
    New Zealand
    Posts
    2,801

    Default

    Quote Originally Posted by Jeffro View Post
    I know the back-end of WordPress can be themed just as much as the front-end
    Not really. The backend doesn't have a proper theming system. You can merely hack it up a bit via hooks and CSS. Theming the backend is more like child theming than full-blown WordPress theming.

  5. #5
    jwack is offline Hello World
    Join Date
    Aug 2009
    Posts
    46

    Default

    Quote Originally Posted by Ryan View Post
    Not really. The backend doesn't have a proper theming system. You can merely hack it up a bit via hooks and CSS. Theming the backend is more like child theming than full-blown WordPress theming.
    Even still, this seems like the more logical approach. I wouldn't want to attempt to make my own "add a page" page.

  6. #6
    Pat in Michigan's Avatar
    Pat in Michigan is offline Hello World
    Join Date
    Jan 2012
    Location
    Lincoln Park, Michigan (Near Detroit)
    Posts
    6

    Default

    I would recommend Windows Live Writer. I use it when the mood strikes.
    -Charles Patrick Adkins
    http://www.thoughtsandrantings.com --- http://www.kjvhost.com
    "Proudly a member of the bitter & clingy club!"

Posting Permissions

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