• Hello there, Thanks for this awesome plugin.

    I need little help.

    I have a post with single audio attachement.
    Now is there any chance i can use shortcoder to auto detect audio attachement link(url) like it auto discovers post title, featured image etc…

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author vaakash

    (@vaakash)

    Hi @bgmsquad,

    Sorry for the delay. I’ll look into this behavior and check if I can provide a solution.
    I’ll get back to you in a couple of days.

    Thanks,
    Aakash

    Plugin Author vaakash

    (@vaakash)

    Hi @bgmsquad,

    Auto embeds are activated only to WordPress content.

    It is not enabled for shortcoder content.
    It requires a code change to activate.

    Can you please add the below line in shortcoder\shortcoder.php at line number 78?

    $sc_content = apply_filters('the_content', $sc_content);

    When the plugin is upgraded, the changes will be overwritten.
    I’ll let you know when there is a permanent solution.

    The other solution would be to simply use the [audio src="myfile.mp3"] in the shortcode content.

    Thanks,
    Aakash

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Auto detect attachement’ is closed to new replies.