[btnclass] not working – btn classes not generated

in Download Manager Free

Viewing 19 posts - 1 through 19 (of 19 total)
Feb 24, 2016 at 7:38 am
#41456
Member
dst
OP

Hello,

after the last updates (since the last two, I think) WPDM Download-Button is no longer displayed.

In my WordPress functions.php I found the code from this Tutorial to display a bootstrap button:

Using Bootstrap Buttons as WPDM Download Button

The [btnclass] does not generate any class like .btn .btn-primary

what’s wrong?

Feb 24, 2016 at 9:30 am
#41471
Keymaster
Shahjada
Staff

Better option is available, please use this free add-on http://www.wpdownloadmanager.com/download/wpdm-image-button/

Feb 24, 2016 at 12:19 pm
#41484
Member
dst
OP

thx for your response.

I installed the plugin-add-on. The Image Buttons work fine, but the Bootstrap Buttons without image, won’t still work.

The shortcode [btnclass] still does not generate any class…

Here an example: http://www.dupp.de/download/dupp-support-tool-meeting/

Mar 2, 2016 at 8:24 am
#41827
Member
dst
OP

any ideas?

Mar 3, 2016 at 6:54 am
#41863
Spectator
Jass

Seems like you disabled Style & Script from admin panel► settings►Misc Settings.

Mar 3, 2016 at 7:32 am
#41868
Member
dst
OP

Yes, I have disabled the Style & Script, because I already use Bootstrap CSS und JS in my Theme, so that I don’t need it twice.
But it doesn’t make any difference, if I enable these.

The shortcode [btnclass] still does not generate any class…

Mar 3, 2016 at 11:54 am
#41890
Keymaster
Shahjada
Staff

[btnclass] replaced or not, if you select bootstrap btn from add-on and you theme has bootstrap css, then button should be visible properly, however, please give me temporary wp-admin login info in a private reply, I shall check the issue.

Mar 3, 2016 at 3:30 pm
#41903
Member
dst
OP
This reply has been marked as private.
Mar 6, 2016 at 5:05 am
#41978
Spectator
Jass

Sorry, Cant login with the credentials.

Mar 7, 2016 at 7:48 am
#42002
Member
dst
OP
This reply has been marked as private.
Mar 8, 2016 at 7:51 am
#42073

Same here, any updates?

Mar 16, 2016 at 8:28 am
#42675
Member
dst
OP

*push*

Mar 16, 2016 at 1:23 pm
#42696
Keymaster
Shahjada
Staff

Releasing update with the fix within next 1-2 hours.

Mar 18, 2016 at 11:05 am
#42839
Member
dst
OP

mhh.. can’t see new version?!

Mar 21, 2016 at 10:09 am
#42967
Spectator
Jass

Please update your plugin.
Thank you

Mar 29, 2016 at 6:29 am
#43299
Member
dst
OP

I’m sorry, but it still does not work. Version 2.8.93

Feb 15, 2017 at 3:23 am
#53726

Yeah is still doesn’t work, but there is another way.

add_filter(“wpdm_after_fetch_template”, function ($template){
$template = str_replace(‘[btnclass]’, ‘btn btn-default’, $template);
return $template;
});

Jun 27, 2017 at 4:57 am
#59528
Participant
Jeff Klein

Nice Hack @bruno. Any updates on a real fix for this?

Jun 29, 2017 at 5:32 am
#59706
Keymaster
Shahjada
Staff

Use this add-on:

WPDM Image Button

Viewing 19 posts - 1 through 19 (of 19 total)

The topic "[btnclass] not working – btn classes not generated" is closed to new replies.