Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7970039
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T07:20:06+00:00 2026-06-04T07:20:06+00:00

I’m currently creating a simple CMS and I would really, really like to use

  • 0

I’m currently creating a simple CMS and I would really, really like to use the editor and mainly, image uploader from WordPress on my site. Is this possible?

I am aware that WordPress uses TinyMCE and that they do offer an image manager as a commercial add-on, which I will probably use if this is not possible.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T07:20:07+00:00Added an answer on June 4, 2026 at 7:20 am

    You can use the wp function the_editor:

    http://codex.wordpress.org/Function_Reference/the_editor

    If you look up that function on google you’ll find a bunch of pages describing how to insert the wordpress editor into plug-ins. They provide lots of different ways of doing what you’re hopefully looking for.

    I used something like:

    <form id="new_post" name="new_post" method="post" action="" enctype="multipart/form-data">
    
    <div><h2>Title</h2>
    
    <input type="text" id="title" value="" tabindex="1" name="title" AUTOCOMPLETE=OFF/>
    
    <div>
    <h2>Description</h2>
    <?php  the_editor('', 'description', 'title', true); ?>
    </div>
    
    <input type="hidden" name="action" value="post" />
    
    <p align="right"><input type="submit" value="Publish" tabindex="6" id="submit" name="submit" /></p>
    
    <?php wp_nonce_field( 'new-post' ); ?>
    
    </form>
    

    Which you then have to save to the wordpress db using something like:

    if( 'POST' == $_SERVER['REQUEST_METHOD'] && !empty( $_POST['action'] )) {
    
    // Do some minor form validation to make sure there is content
        if (isset ($_POST['title'])) {
            $title =  $_POST['title'];
        } else {
            echo 'Please enter a title';
        }
        if (isset ($_POST['description'])) {
            $description = $_POST['description'];
        } else {
            echo 'Please enter the content';
        }
    
        // Add the content of the form to $post as an array
        $post = array(
            'post_title'    => $title,
            'post_content'  => $description,
        /*  'post_category' => array('cat' => '3'), */ // Usable for custom taxonomies too
            'post_status'   => 'pending',           // Choose: publish, pending, draft, auto-draft, future, etc.
            'post_type' => 'post'  // Use a custom post type if you want to
        );
        $newID = wp_insert_post($post);  // Pass  the value of $post to WordPress the insert function
                                // http://codex.wordpress.org/Function_Reference/wp_insert_post
    
    //  wp_redirect( home_url() );
    } // end IF
    
    // Do the wp_insert_post action to insert it
    do_action('wp_insert_post', 'wp_insert_post'); 
    

    That’s the basics of it… Good luck!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to count the length of a string with PHP. The string
For some reason, after submitting a string like this Jack’s Spindle from a text
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I want use html5's new tag to play a wav file (currently only supported
I would like to run a str_replace or preg_replace which looks for certain words
I am currently running into a problem where an element is coming back from
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have just tried to save a simple *.rtf file with some websites and
I am trying to understand how to use SyndicationItem to display feed which is
I've got a string that has curly quotes in it. I'd like to replace

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.