WordPress.org

Ready to get started?Download WordPress

Forums

3.5 "Add Media" button in Frontend (1 post)

  1. Uranbold
    Member
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic