Det här tillägget har inte testats med någon av de 3 senaste huvudversionerna av WordPress. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem när det används tillsammans med nyare versioner av WordPress.

Youtube Videos

Beskrivning

Youtube Videos Widget lets you add the latest youtube video anywhere in your WordPress blog. You can add it to a post or a page with the short code [youtube_videos], or to a sidebar with the included widget. Customize options in the options page and on the widget itself.

Arbitrary section

Skärmdumpar

  • Youtube widget area where you can change options.

Installation

  1. Upload youtube-videos.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ’Plugins’ menu in WordPress
  3. Place <?php echo do_shortcode('youtube_videos'); ?> in your templates where you want your video to appear or place the widget in any sidebar. Or [youtube_videos] in your post or page.

Vanliga frågor

Can I use this in my .php template files?

Yes. Add <?php echo do_shortcode('youtube_videos'); ?> anywhere in your template files.

How come I cannot customize width and height on the short code version?

You can use the backend options to add custom width and height

Recensioner

Detta tillägg har inga recensioner.

Bidragsgivare och utvecklare

”Youtube Videos” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

Översätt ”Youtube Videos” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.

Ändringslogg

1.1 Manage username for both shortcode and widget in the Settings > Youtube Videos Options panel
1.2 Added error handling for no username.
1.3 Fixed issue with saving widget options. Added ability to resize videos in the backend.