Schwarttzy's Open Graph

설명

Schwarttzy’s Open Graph is a lightweight WordPress plugin that automatically adds Open Graph meta tags to your website’s posts, pages, and front page. These tags optimize content sharing on social media platforms like Facebook, LinkedIn, and Twitter by providing rich previews with titles, descriptions, and images.

Key Features:
– Automatically adds Open Graph meta tags for posts, pages, and the front page.
– Uses post/page title, featured image, excerpt (or content trimmed to 300 characters), and permalink.
– Supports a configurable default image URL for when no featured image is set.
– Simple, lightweight, and easy to use with minimal configuration.
– Ensure your theme includes <?php wp_head(); ?> in its header.php file for meta tags to render.
– Test shared links using tools like the Facebook Sharing Debugger.
– This plugin focuses on simplicity and does not support archive pages or advanced image uploaders.

Support

For support, visit the WordPress.org support forum or contact the author at https://schwarttzy.com/contact-me/.

스크린샷

  • The settings page under Settings > Schwarttzy’s Open Graph where you can configure the default image URL featuring Mousse, the chocolate lab.

설치

  1. Upload the schwarttzys-open-graph folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Navigate to Settings > Schwarttzy’s Open Graph to configure the default image URL (e.g., https://example.com/default-image.jpg).

FAQ

How do I set a default image?

Go to Settings > Schwarttzy’s Open Graph and enter the full URL of your default image (e.g., https://example.com/default-image.jpg). This image is used when a post or page lacks a featured image.

What meta tags are added?

The plugin adds the following Open Graph meta tags:
og:title: Post/page title or site name (front page).
og:description: Excerpt or content trimmed to 300 characters (posts/pages), or site description (front page).
og:image: Featured image or default image URL.
og:url: Post/page permalink or home URL.
og:type: “article” (posts/pages) or “website” (front page).
og:site_name: Site name.
og:locale: Site locale for internationalization.
article:published_time: Post publication date (posts/pages only).

Does this plugin work with SEO plugins?

It may conflict with plugins like Yoast SEO or Rank Math that also add Open Graph tags, leading to duplicates. Consider disabling Open Graph features in those plugins or using this clean, simple alternative for focused social media sharing.

Can I use my own images?

Yes, upload an image to your server and enter its full URL in the Settings > Schwarttzy’s Open Graph page.

후기

2025년 11월 21일 답글 1개
featured images are your.. featured images. there’s a default featured image incase you dont have one. doesnt get any simpler.
2025년 8월 29일
This is my light weight and simple plugin to include Open Graph data for websites. Ever plugin I’ve ever used make things overly complicated. There’s no need to do that. The featured image should be the featured image. The title should be the title. Seems simple enough to me so I wrote this plugin.
모든 2 평가 읽기

기여자 & 개발자

“Schwarttzy's Open Graph”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “Schwarttzy's Open Graph”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

1.1

  • Added og:locale meta tag for better internationalization.
  • Improved description trimming to 300 characters for optimal social previews.
  • Added admin notice for conflicts with other SEO plugins, suggesting this simple alternative.
  • Updated “Tested up to: 6.9”.
  • Enhanced code comments for better maintainability.

1.01

  • Updated version number format to 1.01.
  • Added styling to settings page via admin.css.
  • Clarified description trim length (55 words) in documentation.

1.0

  • Initial release.