WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. mascatu
    Member
    Posted 1 year ago #

    Hi,
    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.

    http://wordpress.org/extend/plugins/swfobject-reloaded/

  2. CodeAndReload
    Member
    Plugin Author

    Posted 1 year 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
    Member
    Posted 1 year 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
    Member
    Plugin Author

    Posted 1 year 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
    Member
    Posted 1 year ago #

    Good point! Thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic