WordPress.org

Ready to get started?Download WordPress

Forums

Getting an iframe, object or a div from the wordpress post. (6 posts)

  1. dabanggknight
    Member
    Posted 1 year ago #

    I want to get a div with an id of something from a wordpress post and display it. I don't know how I am going to do it so I really need help. If I can't get the div then please tell me how do people get iframes and objects from the wordpress post? I have made a div tag which looks like <div id="featured_content"> // Some crap here // </div>.
    Remember I want to get the div along with all its content. Any help will be appreciated.

  2. Andrew
    Forum Moderator
    Posted 1 year ago #

    Are you using a custom template?

  3. dabanggknight
    Member
    Posted 1 year ago #

    I am using starkers naked wordpress theme by Elliot Jay Stocks.

  4. Manuel Schmalstieg
    Member
    Posted 1 year ago #

    I remember that on a multi-site setup I was running, when a user with admin status pasted <iframes> into the post, the code would be stripped.

    I had to give him super-admin (network-admin) status, so he was able to paste the <iframe> code (for a custom Vimeo player).

  5. Manuel Schmalstieg
    Member
    Posted 1 year ago #

    I just came across this page that gives some official information:

    http://codex.wordpress.org/Roles_and_Capabilities

    So the capability that is needed here is called unfiltered html.

    And indeed, in a multi-site setup this is reserved to the Super Admin. On a single-site installation, the normal Admin has that ability.

  6. Icematikx
    Member
    Posted 1 year ago #

    I'm having a severe issue with my WYSIWYG editor too. It's weird. Whenever I switch between visual and HTML, the whole post screws up. Right now, I can't get one of my posts back to the correct formats! My site is Ab Circle Pro. Any ideas?

Topic Closed

This topic has been closed to new replies.

About this Topic