Title: Custom button
Last modified: August 12, 2026

---

# Custom button

 *  Resolved [revixi5](https://wordpress.org/support/users/revixi5/)
 * (@revixi5)
 * [3 days ago](https://wordpress.org/support/topic/custom-button-21/)
 * Hi, I love the simplicity of your plugin. But in order to use my own download
   buttons (generated by my theme) is the only way to do that is to copy manually
   the url generated by the shortcode? Because the “permalink” button only give 
   the direct url of the file (useless for counting the downloads)…
 * Thanks a lot.

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

 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [2 days, 21 hours ago](https://wordpress.org/support/topic/custom-button-21/#post-18991664)
 * Glad to help, but not sure if I understand which buttons/URL you are asking about..
   can you maybe share a screenshot or provide further explanation? That way I can
   follow along, try to understand, and provide accurate information asap, thank
   you.
 *  Thread Starter [revixi5](https://wordpress.org/support/users/revixi5/)
 * (@revixi5)
 * [2 days, 13 hours ago](https://wordpress.org/support/topic/custom-button-21/#post-18991984)
 * As you know, WordPress themes use their own button styles, and you can apply 
   the file URL to them to create a simple direct download button.
 * When you use your shortcode on a page, it generates a “special” text link to 
   track downloads. How do you use these links on your websites? Do you leave them
   as plain text, or do you copy the URL and paste it into your buttons? Thanks 
   a lot.
 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [2 days, 9 hours ago](https://wordpress.org/support/topic/custom-button-21/#post-18992073)
 * Thank you. Still not sure if I understand correctly, but if you are trying to
   display a link for users to download an item, you can use the following shortcode:
 * `[sdc_count id="123"]`
 * The URL is created dynamically based on the `id` parameter. No need to copy/paste
   any URLs.
 * Edited to add: remember to change the `id` value to the actual download id.
    -  This reply was modified 2 days, 9 hours ago by [Jeff Starr](https://wordpress.org/support/users/specialk/).
 *  Thread Starter [revixi5](https://wordpress.org/support/users/revixi5/)
 * (@revixi5)
 * [2 days, 8 hours ago](https://wordpress.org/support/topic/custom-button-21/#post-18992080)
 * Thanks for you answers. The problem is that the shortcode display a text link,
   not a styled button. If I want to ad a nice button “Download the PDF” styled 
   with CSS, the only way possible is to copy and paste the URL created dynamically
   by the shortcode on my button?
 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [2 days, 8 hours ago](https://wordpress.org/support/topic/custom-button-21/#post-18992102)
 * Hmm maybe try this:
 *     ```wp-block-code
       [sdc_download id="123" type="button"]
       ```
   
 *  Thread Starter [revixi5](https://wordpress.org/support/users/revixi5/)
 * (@revixi5)
 * [2 days, 6 hours ago](https://wordpress.org/support/topic/custom-button-21/#post-18992148)
 * Interesting, it’s working, and it become centered if i add :
 *     ```wp-block-code
       <div style="text-align: center;">[sdc_download id="224254" type="button"]</div>
       ```
   
 * Thanks a lot.
 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [1 day, 21 hours ago](https://wordpress.org/support/topic/custom-button-21/#post-18992692)
 * Ok great, also just fyi these shortcodes, all of their attributes, and much more
   all explained in the [plugin documentation](https://wordpress.org/plugins/simple-download-counter/#installation).
   Feel free to post again with any further questions, thank you.

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

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcustom-button-21%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/simple-download-counter/assets/icon-256x256.png?rev=2787275)
 * [Simple Download Counter](https://wordpress.org/plugins/simple-download-counter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-download-counter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-download-counter/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-download-counter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-download-counter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-download-counter/reviews/)

 * 10 replies
 * 2 participants
 * Last reply from: [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * Last activity: [1 day, 21 hours ago](https://wordpress.org/support/topic/custom-button-21/#post-18992692)
 * Status: resolved