[btnclass] not working – btn classes not generated

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

dst
Member

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?

#41471

Shahjada
Keymaster

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

#41484

dst
Member

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/

#41827

dst
Member

any ideas?

#41863

Jass
Moderator

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

#41868

dst
Member

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…

#41890

Shahjada
Keymaster

[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.

#41903

dst
Member
This reply has been marked as private.
#41978

Jass
Moderator

Sorry, Cant login with the credentials.

#42002

dst
Member
This reply has been marked as private.
#42073

Clementtang
Member

Same here, any updates?

#42675

dst
Member

*push*

#42696

Shahjada
Keymaster

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

#42839

dst
Member

mhh.. can’t see new version?!

#42967

Jass
Moderator

Please update your plugin.
Thank you

#43299

dst
Member

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

#53726

Bruno barros
Member

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;
});

#59528

Jeff Klein
Participant

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

#59706

Shahjada
Keymaster

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.