Skip to content

A WordPress plugin that allows you to receive files on your pages and posts using a SendThisFile website button.

License

Notifications You must be signed in to change notification settings

sendthisfile/wordpress-plugin

Repository files navigation

Contributors Forks Stargazers Issues MIT License


Logo

SendThisFile Wordpress Plugin

A WordPress plugin that allows you to receive files on your pages and posts using a SendThisFile website button.
Explore the docs »

View Demo · Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. License
  7. Contact
  8. Acknowledgments

About The Project

Installing this plugin in Wordpress will give you the ability to add a [sendthisfile] shortcode to your content. Placing a [sendthisfile] shortcode on your pages or posts will cause a button to be rendered. When clicked, that button will allow the visitor to your site to send you files.

The plugin requires you to add a buttonid, that you obtain when you create a "Website Button" at SendThisFile.

(back to top)

Built With

  • php

(back to top)

Getting Started

To get this WordPress plugin running, follow these simple steps.

Prerequisites

  1. Sign into SendThisFile. If you don't have an account, it's free to create one. However, you will need a business plan with one user to create a Website Button.

  2. Navigate to Integrations -> Website Button.

  3. Add a new button, if you don't already have one.

  4. Make sure you have added at least one recipient, and set the button to "Active".

  5. In the "Button Code" section you will see a reference to a "buttonid". Copy that buttonid to your clipboard. For example, given this "Button Code" content ...

    <sendthisfile-button label="Send files" buttonid="ABCD-1234-88FE-77D3"></sendthisfile-button>

    you would copy the ABCD-1234-88FE-77D3 id to your clipboard.

Installation

  1. Install this plugin using WordPress' Plugins admin tool.
  2. Activate the plugin.
  3. In the WP Admin, navigate to "SendThisFile".
  4. Enter your button id into the "Default Buttonid" field and save it.

You are now ready to use your [sendthisfile] shortcode.

(back to top)

Usage

You can add a ShortCode block, or edit your HTML and manually enter the [sendthisfile] shortcode on any page or post. Wherever you place a block or manually enter the [sendthisfile] code, will cause a button to be rendered at that location. You can add a button inline with your text.

When the button is clicked, it will open up a dialog that walks our website visitors through sending files to the recipient they select. If there is only one recipient, it will skip prompting them for the recipient.

(back to top)

Potential Roadmap

  • Add a live preview of the button to the setup screen.
  • Add ability to sign into SendThisFile and retrieve the buttonid automatically.

See the open issues for a full list of proposed features (and known issues).

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

License

Distributed under the GPLv3 License. See LICENSE.txt for more information.

(back to top)

Contact

Project Link: https://github.com/sendthisfile/wordpress-plugin

(back to top)

Acknowledgments

(back to top)

About

A WordPress plugin that allows you to receive files on your pages and posts using a SendThisFile website button.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages