Linux 软件免费装
Banner图

Ohara - Feed Builder For YouTube

开发者 iqbal1hossain
更新时间 2026年9月11日 01:08
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

youtube youtube feed youtube channel youtube gallery video gallery

下载

1.0.1

详情介绍:

Ohara turns a YouTube channel into a clean, fast, responsive feed you can drop anywhere on your WordPress site — with a real feed builder instead of a wall of shortcode attributes. Create a feed in a guided four-step wizard (Type, Source, Layout, Review), then fine-tune it in a two-pane editor: settings on the left, a live desktop/tablet/mobile preview on the right with undo and redo. When you are happy with it, copy the shortcode, insert the block, or paste a PHP snippet. Every feed is server-rendered first, so your videos are visible to search engines and to visitors without JavaScript, and then progressively enhanced into an interactive React app in the browser. Key features Getting started
  1. Install and activate the plugin.
  2. Go to Ohara → Settings → General and paste a YouTube Data API v3 key.
  3. Go to Ohara → All Feeds → Create Feed and follow the wizard.
  4. Copy the shortcode from the Embed modal and paste it into any post, page, or widget.
For developers Ohara ships a namespaced REST API under ohara/v1 and a set of filters for extending the feed types and layouts it supports: Every list is validated server side, so a filter is the supported way to add your own. ohara_feed_types only ever adds to the built-in type; it cannot remove it. The YouTube API client exposes request(), remember(), clamp_count(), and normalize_item() so an add-on's feed type reuses this plugin's API key, transport, and cache rather than reimplementing them. Source code and contributing Ohara is developed in the open. The full, human-readable source — including the uncompiled React and SASS sources behind the bundles in build/, and the build scripts used to produce them — lives at: https://github.com/wp-shark/ohara-feed-builder-for-youtube Bug reports, feature requests, and pull requests are welcome there. To build the plugin from a checkout, run composer install && npm install && npm run build in the plugin directory.

安装:

From your WordPress dashboard
  1. Go to Plugins → Add New.
  2. Search for "Ohara Feed Builder For YouTube".
  3. Click Install Now, then Activate.
Manual upload
  1. Download the plugin zip.
  2. Go to Plugins → Add New → Upload Plugin and choose the zip.
  3. Click Install Now, then Activate.
FTP
  1. Unzip the plugin and upload the ohara-feed-builder-for-youtube folder to /wp-content/plugins/.
  2. Activate the plugin through the Plugins screen in WordPress.
After activating Go to Ohara → Settings → General and add a YouTube Data API v3 key, then create your first feed from Ohara → All Feeds.

屏幕截图:

  • All Feeds: search, filter, sort, and bulk actions across every saved feed.
  • The Create Feed wizard: Type, Source, Layout, and Review in four steps.
  • The feed editor with its live, device-responsive preview.
  • The Embed modal: shortcode, block, and PHP snippet.
  • A grid feed on the front end.
  • Settings: API key, caching interval, and cache controls.

升级注意事项:

1.0.0 Initial release.

常见问题:

Do I need a YouTube API key?

Yes. YouTube requires an API key for all data requests. Create a free Google Cloud project, enable the YouTube Data API v3, generate an API key, and paste it into Ohara → Settings → General. The plugin validates the key as soon as you save it.

Will this use up my API quota?

Rarely. Feed responses are cached in your database using the WordPress Transients API, so visitors are served from the cache and YouTube is only contacted when the cache expires. You can change the caching interval — or clear all caches — under Ohara → Settings → Feeds.

How do I display a feed?

Every saved feed has an Embed modal with three options: the [ohara_feed id="123"] shortcode, the Ohara YouTube Feed block, and a PHP snippet for use in theme templates.

Can I use the same feed in more than one place?

Yes. A feed is a saved, reusable record. Embed it as many times as you like; editing the feed once updates every place it appears.

Does it work without JavaScript?

Yes. Each feed is rendered as real HTML on the server first, so search engines and visitors without JavaScript still see your videos. The interactive layer loads on top of that markup.

Can I change how the feed looks?

Each feed has its own header, title, and date toggles, plus optional background, text, and accent color overrides. For anything beyond that, use the CSS editor built into WordPress at Appearance → Customize → Additional CSS, or your theme's stylesheet.

What happens to my feeds if I delete the plugin?

Deleting the plugin removes its settings, cached feed data, and saved feeds. Deactivating it leaves everything in place, so you can safely deactivate and reactivate without losing your work.

How can I contribute, or report a bug?

Development happens on GitHub at https://github.com/wp-shark/ohara-feed-builder-for-youtube — open an issue for bugs and feature requests, or send a pull request. The repository's CONTRIBUTING.md covers coding standards, the security checklist, and what is expected in a PR.

Which feed types are available?

Channel — a feed of a channel's latest videos. It is built in and works as soon as you have added an API key; there is nothing in this plugin to unlock. Developers can add further feed types with the ohara_feed_types and ohara_feed_type_sources filters, and an add-on plugin may ship its own.

Which layouts are available?

Grid, List, and Masonry. Developers can register additional layouts with the ohara_allowed_layouts and ohara_feed_layout_renderers filters.

更新日志:

1.0.0