Title: Placing a button in Header
Last modified: February 27, 2019

---

# Placing a button in Header

 *  Resolved [Host Magi](https://wordpress.org/support/users/mandraagora/)
 * (@mandraagora)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/placing-a-button-in-header/)
 * I want to place a custom button for direct stripe in the header.You can see I
   have created a button in the header here:
 * [https://bethdin.org/](https://bethdin.org/)
 * How can I connect this ti Direct Stripe?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fplacing-a-button-in-header%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Nicolas Figueira](https://wordpress.org/support/users/nahuelmahe/)
 * (@nahuelmahe)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/placing-a-button-in-header/#post-11267258)
 * Hello [@mandraagora](https://wordpress.org/support/users/mandraagora/) ,
 * Thank you for using Direct Stripe.
 * Direct Stripe doesn’t connect to a button but inserts a button.
    So in this case
   it depends how you are inserting current button, which I see is a link. Is it
   an option from your theme, a widget area or inserted within a file of your theme?
 * In order to insert a Direct Stripe button in an area that is not covered by the
   editor (Gutenberg or old version ), you can use a shortcode.
 * Shortcode format is [direct-stripe value=”ds-154185704588″] , ds-1541857045880
   being the unique ID of the button created at Direct Stripe settings under the
   Buttons Settings tab.
 * Then the button would require to be applied the styles you use for current link(
   in the case you want to keep same design ).
 * Best wishes,

Viewing 1 replies (of 1 total)

The topic ‘Placing a button in Header’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/direct-stripe_7787ff.svg)
 * [Direct Stripe](https://wordpress.org/plugins/direct-stripe/)
 * [Support Threads](https://wordpress.org/support/plugin/direct-stripe/)
 * [Active Topics](https://wordpress.org/support/plugin/direct-stripe/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/direct-stripe/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/direct-stripe/reviews/)

## Tags

 * [header](https://wordpress.org/support/topic-tag/header/)

 * 1 reply
 * 2 participants
 * Last reply from: [Nicolas Figueira](https://wordpress.org/support/users/nahuelmahe/)
 * Last activity: [7 years, 2 months ago](https://wordpress.org/support/topic/placing-a-button-in-header/#post-11267258)
 * Status: resolved