Link to WordPress Files

Description

On WordPress linking text to any external URL or existing content is a piece of cake but not to your Media files. Now with “Link to WordPress Files”, you can easily link any text on your article directly to your Media Files with a click.

You no longer need to go to Media, simply choose and copy the file URL then come back and insert it to your content any more.

For more information, please visit our website.

Todo

  1. Be able to configure link attributes such as title, class, id or events onclick and hover.
  2. Tracking file data such as clicks and click source.

Screenshots

  • Choose words to transform into a link.
  • Use "Link to WordPress file" button to choose file.
  • The result was generated.

Installation

This section describes how to install the plugin and get it working.

e.g.

  1. Upload pda-link-to-wp-file.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Place <?php do_action('plugin_name_hook'); ?> in your templates

Further details, you can check out our guide.

FAQ

What kind of files can this plugin be able to link to?

Link to WordPress Files supports all file types in WordPress Media example: PDF, docx, MP4, JPG…

Contributors & Developers

“Link to WordPress Files” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.0.2

  • Remove wrong declaration

1.0.1

  • Remove data-balloon tag

1.0.0

  • A “Link to WordPress file” button on tinymce editor
  • Generate a tag to show the file’s url