The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

swfObject Reloaded
[resolved] Not working on second wysiwyg editor (5 posts)

  1. mascatu
    Posted 4 years ago #

    Glade to find your plugin but…i cant make it working on custom box field. I have a second wysiwyg editor on post page when id like to use your plugin but it display only text on single page, not flash. For now, the plugin display only shortcode text, something like: [swfObject]805[/swfObject]. Can anyone help me please? Thank you.


  2. CodeAndReload
    Plugin Author

    Posted 4 years ago #

    I don't know what you're using for a second wysiwyg editor, but it appears that however it is inserting content onto the page it is not parsing shortcodes.

    Do any shortcodes work in the wysiwyg?

    If not: see the do_shortcode function in the docs here: http://codex.wordpress.org/Function_Reference/do_shortcode .

    I'd ask for shortcode support for however you have a second wysiwyg whether it is a theme or plugin, or look to see if the plugin or theme your using has any way to add a custom filter that will pass it through do_shortcode() and return the results.

  3. mascatu
    Posted 4 years ago #

    Already solved!
    You are right!
    I am using a custom metabox field for he second editor.
    Simply replacing $content with my custom meta field name in
    <?php echo do_shortcode( $content ) ?>, solved my problem.
    Thanks anyway!

    Btw, is your plugin free to use in themes developement?

    Best regards!

  4. CodeAndReload
    Plugin Author

    Posted 4 years ago #

    It like all the other plugins in the WordPress official repository is licensed under a GPL license.

    I'd recommend having your theme check to see if the plugin exists and is up-to-date via wp-cron, than get it from the official WordPress repository over including it directly in a theme, to make it easier to update as the SVN gets updated, especially if you do not want your theme to be GPL.

  5. mascatu
    Posted 3 years ago #

    Good point! Thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • swfObject Reloaded
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic