Skip to content

A Tainacan Wordpress plugin for enabling URL with embed or iframe as metadata values.

License

Notifications You must be signed in to change notification settings

tainacan/tainacan-metadata-type-url

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tainacan URL Metadata Type

This repo contains an URL Metadata Type plugin for Tainacan. It accepts URL values and, when possible, renders them as an embed.

Make the script executable:

chmod u+x build.sh

To simply build the necessary .vue files into bundled javascript:

./build.sh

To, besides that, move the necessary plugin files to your wordpress plugin directory:

./build.sh /var/www/html/wp-content/plugins/

If you don't like the script you can bundle things by yourself:

cd tainacan-metadata-type-url/metadata_type
npm install
npm run build

But keep in mind that the script also takes care of removing some source files not necessary for the plugin to work, such as .vue, package.json and webpack.config.json.