Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor eskapism

    (@eskapism)

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

    Thread Starter 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 Contributor eskapism

    (@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 ??

    Thread Starter 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.