WordPress.org

Support

Support » How-To and Troubleshooting » 3.5 "Add Media" button in Frontend

3.5 "Add Media" button in Frontend

  • Hello,

    We are developing frontend feature theme and online site version is there http://themeton.com/themes/?theme=pressgrid&ref=themeton

    Steps:

    • Login with Facebook or Twitter
    • Click Add POSTS
    • Click Add MEDIA

    And if i upload the image or something then ERROR in console “Maximum call stack size exceeded error”

    We are called this code frontend add section.

    $post_content='content here';
    $args = array(
                            'textarea_name' => 'textareaid2',
                            'wpautop' => true,
                            'media_buttons' => true,
                            'editor_class' => 'frontend',
                            'textarea_rows' => 5,
                            'tabindex' => 1,
                    );                      
    
                    wp_editor( $post_content, 'textareaid2', $args );

    Any help will be appreciate Thank you.

  • The topic ‘3.5 "Add Media" button in Frontend’ is closed to new replies.