WordPress.org

Support

Support » Plugins and Hacks » Simple Fields » [Plugin: Simple Fields] audio plug ins

[Plugin: Simple Fields] audio plug ins

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Pär Thernström

    @eskapism

    Hm, not sure I understand. Can you explain further, and perhaps give a link to a page where it doesn’t work?

    peter213

    @peter213

    Pär
    I can show you but I suspect it the audio plug-in itself that is the culprit and not simple fields.

    And to explain better, when i place [audio http//www.mysite.com/public_enemy.mp3 | Night of the Living Baseheads] in a simple field’s generated text area the WP Audio player does not appear, just the string of text. But again, I suspect it is WP Audio.

    P

    Plugin Author Pär Thernström

    @eskapism

    How do you show that field on the site? How does the PHP-code look like?

    You may have to do something like this:

    <?php
    $content = …get text content from simple fields text….;
    $content = apply_filters(‘the_content’, $content);
    $content = str_replace(‘]]>’, ‘]]>’, $content);
    echo $content;
    ?>

    That will make sure that shortcodes etc. works with the text you get from simple fields.

    Let me know if you understand this or need further assistance 🙂

    peter213

    @peter213

    thanks Pär, looking into it right now.
    p

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Simple Fields] audio plug ins’ is closed to new replies.
Skip to toolbar