WordPress.org

Ready to get started?Download WordPress

Forums

WordPress 3.5 missing embed item on media (5 posts)

  1. GhostMaster
    Member
    Posted 1 year ago #

    WordPress 3.5 misses embed settings under media tab...

    Any fix?

  2. keesiemeijer
    moderator
    Posted 1 year ago #

  3. GhostMaster
    Member
    Posted 1 year ago #

    Thats bad...

  4. keesiemeijer
    moderator
    Posted 1 year ago #

    You can still set the dimensions in the shortcode:

    [embed width="123" height="456"]...embed URL... [/embed]
  5. GhostMaster
    Member
    Posted 1 year ago #

    I fix the error with this:

    add_filter( 'embed_defaults', 'wpse_76102_new_embed_size' );

    function wpse_76102_new_embed_size()
    {
    // adjust these pixel values to your needs
    return array( 'width' => 600, 'height' => 400 );
    }

    on theme functions.php

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags