Title: Shortcode doesn&#8217;t trigger button
Last modified: September 19, 2017

---

# Shortcode doesn’t trigger button

 *  Resolved [nam1962](https://wordpress.org/support/users/nam1962/)
 * (@nam1962)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/shortcode-doesnt-trigger-button/)
 * HI there, I’m using your nice add-on for a long time, but I suddenly see that
   my pages don’t show the button anymore, just the short code as text : [dkpdf-
   button]​
 * Example on this page : [https://dolys.fr/forums/topic/check-list-de-nam1962-resolution-de-probleme/](https://dolys.fr/forums/topic/check-list-de-nam1962-resolution-de-probleme/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Thread Starter [nam1962](https://wordpress.org/support/users/nam1962/)
 * (@nam1962)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/shortcode-doesnt-trigger-button/#post-9528744)
 * Hi, I’m still stuck : shortcode doesn’t seem functional in BBpress anymore, I
   had it running perfectly until recently.
 *  Plugin Author [dinamiko](https://wordpress.org/support/users/dinamiko/)
 * (@dinamiko)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/shortcode-doesnt-trigger-button/#post-9588602)
 * Hi nam1962,
 * Looks like DK PDF is not activated or not working for some reason.
 * can you please check if this is an issue related to BBPress?
    – create a new 
   standard post and add the shortcode there, check it the button appears or not.
 * Thanks,
    Emili
 *  Thread Starter [nam1962](https://wordpress.org/support/users/nam1962/)
 * (@nam1962)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/shortcode-doesnt-trigger-button/#post-9588897)
 * Hi Emili,
    thank U for caring. It is installed, & active. I run it on bbpress
   topics Here is a test page I just made : [https://dolys.fr/forums/topic/dkpdf-test/](https://dolys.fr/forums/topic/dkpdf-test/)
 *  Plugin Author [dinamiko](https://wordpress.org/support/users/dinamiko/)
 * (@dinamiko)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/shortcode-doesnt-trigger-button/#post-9620719)
 * Hi nam1962,
 * I was talking about creating a regular post, like a blog post. but I’m not sure
   if this is possible with BBPress, I never used it.
 * Anyway, can you try to add the button in the PHP template? I mean something like
   this:
    `<?php echo do_shortcode('[dkpdf-button]'); ?>`
 * Thanks,
    Emili
 *  Thread Starter [nam1962](https://wordpress.org/support/users/nam1962/)
 * (@nam1962)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/shortcode-doesnt-trigger-button/#post-9623975)
 * Hi Emili,
    I did it in a BBPress topic as I don’t have posts, only topics 😉
 * DKpdf was perfectly functional until a couple of monthes ago.
 * I added you command in functions.php of both the theme & the child theme with
   no success… it just adds the button text in the header (not at the end of the
   post where I placed it) & no possible action on this very text.
 * I have to remove the command, then.
    -  This reply was modified 8 years, 7 months ago by [nam1962](https://wordpress.org/support/users/nam1962/).

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Shortcode doesn’t trigger button’ is closed to new replies.

 * ![](https://ps.w.org/dk-pdf/assets/icon-256x256.png?rev=3396282)
 * [DK PDF - WordPress PDF Generator](https://wordpress.org/plugins/dk-pdf/)
 * [Support Threads](https://wordpress.org/support/plugin/dk-pdf/)
 * [Active Topics](https://wordpress.org/support/plugin/dk-pdf/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/dk-pdf/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/dk-pdf/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [nam1962](https://wordpress.org/support/users/nam1962/)
 * Last activity: [8 years, 7 months ago](https://wordpress.org/support/topic/shortcode-doesnt-trigger-button/#post-9623975)
 * Status: resolved