This plugin adds several Open Graph tags to the header of your WordPress site. These include meta information such as site name, a description (the excerpt of a post), the permalink, author, categories and images for your post. As a specialty, images from embedded video and audio players are retrieved as well. Other types of meta-tags are supported as well, including Google+ Snippets, Twitter Cards and canonical links.
Currently, these media embeds are supported:
- 8tracks
- Bambuser
- Bandcamp
- DailyMotion
- Flickr videos
- Hulu
- Internet Archive
- Livestream
- Mixcloud
- Muzu.tv
- MyVideo
- Official.fm
- SoundCloud
- Spotify
- Twitch.tv
- Ustream
- Vimeo
- YouTube
- JW Player
- NVB Player
- Standard HTML5 video-tags
Open Graph tags will be used by social network sites such as Facebook, Twitter or Google+ to style a shared link or webpages "liked" by any user. Images supposedly attract more attention, so you might find this plug-in useful.
The easiest way to install OGraphr is through the Plugin Directory, which you can access in the WordPress backend
-
Change directory to
wp-content/plugins
-
Clone repository
git clone https://github.com/idleberg/OGraphr.git meta-ographr
-
Activate and set up the plug-in in the WordPress backend
The provided gulpfile.js
will serve as our build tool. In order to use it, we need to have Node.js and Bower installed.
# install Gulp globally
npm install gulp -g
# install Node dependencies
yarn || npm install
Several gulp tasks are now available. Use gulp make
to build OGraphr or make use of the gulp lint
feature. You can also lint files by extensions (gulp css
, gulp js
& gulp php
.)
The Frequently Asked Questions have moved the Wiki
OGraphr is dual-licensed under The GNU General Public License v2.0 and The MIT License.
You are welcome support this project using Flattr or Bitcoin 17CXJuPsmhuTzFV2k4RKYwpEHVjskJktRd