Skip to content
This repository has been archived by the owner on Mar 16, 2023. It is now read-only.
/ faf-getasset Public archive

Wordpress Plugin media proxy to privatize media urls.

License

Notifications You must be signed in to change notification settings

fafiebig/faf-getasset

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DEPRECATED - DO NOT USE IT ANY LONGER!

faf-getasset

Wordpress Plugin media proxy to privatize media urls. Adds a private checkbox to media asset posts. You must be logged in to see private checked media assets.

Installation

  • Unzip and upload the plugin to the /wp-content/plugins/ directory
  • Activate the plugin in WordPress
  • Got to plugins page and use the optimization.

Installation with composer

  • Add the repo to your composer.json
"repositories": [
    {
        "type": "vcs",
        "url": "https://github.com/fafiebig/faf-getasset.git"
    }
],
  • require the package with composer
composer require fafiebig/faf-getasset 1.*

Shortcode Usage

Shortcodes will create a link that forces a download of the file.

// for images
[download_image id="<imageId>" title="<link title>" link="<link name>" class="<css classes>" size="<image size>"]

// for other files
[download_attachment id="<attachmentId>" title="<link title>" link="<link name>" class="<css classes>"]

About

Wordpress Plugin media proxy to privatize media urls.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages