• I am in the process of creating a new post and I am embedding videos and other links into the post. For some reason, all of a sudden, every time I add the codes they disappear right after I add them. If I add them and then save the post, the codes are gone. Can someone please help me. I am trying to get my post out soon.

Viewing 9 replies - 61 through 69 (of 69 total)
  • Compare this:

    This seems to work for the WP default editor (without having TinyMCE installed & active).

    To this:

    add_filter('tiny_mce_before_init', 'fb_change_mce_options');

    I don’t understand why you think you don’t have TinyMCE installed/active? You’re filtering the $init argument array for TinyMCE. You’re hooking into the before_init hook for TinyMCE.

    Perhaps some other Visual editor can use this specific argument array, and the TinyMCE before_init hook; but if so, I would be incredibly surprised.

    @ Chip.
    Oh, sorry for the confusion. TinyMCE ADVANCED plugin (by ANdrew Ozz) has the option in its settings page to allow iFrame tags just by ticking a box.
    I didn’t know the default WP editor was also called TinyMCE. In any event, the code above (basically same as yours??) does the trick for the default editor that comes with WP

    The TinyMCE Advanced Plugin does not install a new Visual editor. Rather, it merely allows for advanced configuration to be applied to the default Visual editor, i.e. TinyMCE.

    That’s why the code looks similar, and why it affects the “default editor”: because the “default editor” isn’t changing.

    Cool, did not know that. In any event, easy enough to prevent iFrame tags from getting stripped out, either by inserting the code into the functions.php file or by installed TinyMCE advanced and ticking the box. Works for me, don’t know how others feel.

    Since that whole conversation went so far above my head – I think I’ll stick with my plugin ??

    Thread Starter Alexis403

    (@alexis403)

    LOL, Me too Coach Debra. The plugin works fine for me!

    Brian

    (@womensradio)

    Thank you coachdebra for this information! We also recommend using the plugin titled, ‘EmbedIt’, which can be acquired here –> https://www.matteoionescu.com/wordpress/embed-html/

    Instead of modifying the HTML code in the HTML editor, you can embed the iFrame in a custom field when composing a new post/page.

    All you need to do after that is include the custom shortcode provided by the plugin wherever you’d like the player to appear on your self-hosted WordPress site!

    Please feel free to contact AudioAcrobat directly for any additional questions at https://bit.ly/aa-support

    Again, many thanks for providing this information ??

    Actually in my previous wordpress incarnation, we did use a custom field. My designer coded his own plugin. But when I switched from aMember to Wishlist Member that would no longer work.

    See, I didn’t want to hide the entire post, like I had to with aMember. The advantage of Wishlist Member is that you can have member’s only information hidden on an otherwise public post. But you need to sandwich the information between 2 bits of code. And putting the sandwich code into the custom field didn’t work, believe me I tried!

    So, I had to have the audio acrobat <iframe> code in the body of the post. Hence the issue with the code disappearing and the solution with the [iframe] plugin.

    And that’s working – so you may want to add that possibility into your support documentation.

    BTW – I love audio acrobat!

    Thank you all for suggesting the various solutions. Tried both iframe loader and TinyMCE ADVANCED plugins, they both worked. I prefer the the TinyMCE ADVANCED approach as you don’t need to change the IFRAME tags in every post. Also you get some useful features with the advanced plugin such as Tables…

Viewing 9 replies - 61 through 69 (of 69 total)
  • The topic ‘My codes keep disappearing’ is closed to new replies.