Coder Social home page Coder Social logo

art2u / automatic-featured-images-from-videos Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jazzsequence/automatic-featured-images-from-videos

0.0 2.0 0.0 95 KB

If a YouTube or Vimeo video exists in the first few paragraphs of a post, automatically set the post's featured image to that vidoe's thumbnail.

PHP 100.00%

automatic-featured-images-from-videos's Introduction

=== Automatic Featured Images from Videos === Contributors: bradparbs, coreymcollins, jtsternberg, webdevstudios Donate link: http://webdevstudios.com/ Tags: video, youtube, vimeo, featured image Requires at least: 3.7 Tested up to: 3.9 Stable tag: 1.0 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html

If a YouTube or Vimeo video exists in the first portion of a post, automatically set the post's featured image to that video's thumbnail.

== Description ==

When placing a YouTube or Vimeo video within the first 1000 characters of a post, the thumbnail of that video will automatically be sideloaded and set as the featured image for the post as long as the post does not already have a featured image set.

In addition, after setting the video thumbnail as the featured image, an “is_video” post meta field is updated to allow for the use of conditional statements within your loop.

== Installation ==

= From your WordPress dashboard =

  1. Visit 'Plugins > Add New’.
  2. Search for 'Automatic Featured Images from Videos’.
  3. Activate Automatic Featured Images from Videos from your Plugins page.

= From WordPress.org =

  1. Download Automatic Featured Images from Videos.
  2. Upload the 'Automatic Featured Images from Videos' directory to your '/wp-content/plugins/' directory.
  3. Activate Automatic Featured Images from Videos from your Plugins page.

== Frequently Asked Questions ==

== Screenshots ==

== Changelog ==

= 1.0 =

  • Initial release

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.