Button Shortcode
Button Shortcode

Button Shortcode

Harpreet Kumar

The Button Shortcode plugin allows you to easily insert a customizable button into your WordPress posts and pages using a simple shortcode. You can customize the button’s text and URL, whether it opens in a new window or directly from within your content.

Shortcode Example

[button text=”Click Here” url=”https://example.com” new_window=”yes” class=”custom-button-class”]

How do I customize the button appearance?

You can customize various attributes of the button using the shortcode attributes:
text: The text displayed on the button.
url: The URL the button links to.
new_window: Whether to open the link in a new window (yes or no).
class: Additional CSS classes for the button.

1.0

  • Initial release.
  1. Upload the button-shortcode folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Use the [button] shortcode with your desired attributes in your posts or pages.

Reviews

0 out of 5 stars

  • Version: 1.0
  • Last updated: 1 month ago
  • Active installations: 0
  • WordPress version: 6.0
  • Tested up to: 6.6.2
  • PHP version: 7.4