{"id":286026,"date":"2026-03-06T14:56:25","date_gmt":"2026-03-06T14:56:25","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/office-quote-of-the-day\/"},"modified":"2026-03-06T15:00:27","modified_gmt":"2026-03-06T15:00:27","slug":"theofficelines-quote-of-the-day","status":"publish","type":"plugin","link":"https:\/\/li.wordpress.org\/plugins\/theofficelines-quote-of-the-day\/","author":23459678,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.1","stable_tag":"1.0.1","tested":"6.9.4","requires":"6.0","requires_php":"7.4","requires_plugins":null,"header_name":"TheOfficeLines Quote of the Day","header_author":"The Office Lines","header_description":"Display a daily quote from The Office (US) with a video clip in your sidebar, posts, or pages. Not affiliated with NBC or the creators of The Office.","assets_banners_color":"f5f1e9","last_updated":"2026-03-06 15:00:27","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/theofficelines.com\/api\/","header_author_uri":"https:\/\/theofficelines.com","rating":0,"author_block_rating":0,"active_installs":0,"downloads":252,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"nathantranquilla","date":"2026-03-06 14:55:44"},"1.0.1":{"tag":"1.0.1","author":"nathantranquilla","date":"2026-03-06 15:00:27"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3476504,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3476504,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3476504,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3476504,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":{"theofficelines-quote-of-the-day\/quote-of-the-day":{"name":"theofficelines-quote-of-the-day\/quote-of-the-day","title":"Quote Of The Day"}},"tagged_versions":["1.0.0","1.0.1"],"block_files":[],"assets_screenshots":[],"screenshots":{"1":"Quote widget displayed in a sidebar with light theme","2":"Gutenberg block in the editor","3":"Settings page with SFW toggle, theme selection, and cache controls"}},"plugin_section":[],"plugin_tags":[257264,16696,354,257263,162],"plugin_category":[43],"plugin_contributors":[257265],"plugin_business_model":[],"class_list":["post-286026","plugin","type-plugin","status-publish","hentry","plugin_tags-michael-scott","plugin_tags-quote-of-the-day","plugin_tags-quotes","plugin_tags-the-office","plugin_tags-widget","plugin_category-customization","plugin_contributors-nathantranquilla","plugin_committers-nathantranquilla"],"banners":{"banner":"https:\/\/ps.w.org\/theofficelines-quote-of-the-day\/assets\/banner-772x250.png?rev=3476504","banner_2x":"https:\/\/ps.w.org\/theofficelines-quote-of-the-day\/assets\/banner-1544x500.png?rev=3476504","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/theofficelines-quote-of-the-day\/assets\/icon-128x128.png?rev=3476504","icon_2x":"https:\/\/ps.w.org\/theofficelines-quote-of-the-day\/assets\/icon-256x256.png?rev=3476504","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Adds a beautifully styled daily quote from The Office (US) to your WordPress site. Each day features a different memorable quote paired with a relevant YouTube video clip.<\/p>\n\n<p><strong>Disclaimer:<\/strong> This plugin is not affiliated with, endorsed by, or connected to NBC, Universal Television, or the creators of The Office. All quote content is sourced from a fan-maintained database.<\/p>\n\n<p><strong>Features:<\/strong><\/p>\n\n<ul>\n<li><strong>Sidebar Widget<\/strong> \u2014 Drag and drop into any widget area<\/li>\n<li><strong>Gutenberg Block<\/strong> \u2014 Insert anywhere in the block editor<\/li>\n<li><strong>[office_qotd] Shortcode<\/strong> \u2014 For classic editor users<\/li>\n<li><strong>Click-to-play video<\/strong> \u2014 YouTube thumbnail loads first, iframe on click (fast page loads)<\/li>\n<li><strong>Light &amp; Dark themes<\/strong> \u2014 Matches your site design<\/li>\n<li><strong>SFW mode<\/strong> \u2014 Filter out quotes that may not be appropriate for all audiences<\/li>\n<li><strong>Zero external dependencies<\/strong> \u2014 No JavaScript libraries, no CSS frameworks<\/li>\n<li><strong>Cached<\/strong> \u2014 Fetches the daily quote once per day, caches locally<\/li>\n<\/ul>\n\n<p>Data powered by <a href=\"https:\/\/theofficelines.com\">The Office Lines<\/a>, a free quote search engine with 60,000+ lines from every episode of The Office (US).<\/p>\n\n<h3>Third-Party Service<\/h3>\n\n<p>This plugin fetches daily quote data from the <strong>The Office Lines API<\/strong>:<\/p>\n\n<ul>\n<li><strong>Service:<\/strong> <a href=\"https:\/\/theofficelines.com\">theofficelines.com<\/a><\/li>\n<li><strong>Endpoints used:<\/strong> <code>https:\/\/theofficelines.com\/data\/qotd.json<\/code> and <code>https:\/\/theofficelines.com\/data\/qotd-sfw.json<\/code><\/li>\n<li><strong>Data sent:<\/strong> None \u2014 the plugin only reads publicly available JSON data via a GET request.<\/li>\n<li><strong>Frequency:<\/strong> Once per day (cached locally via WordPress transients for 24 hours).<\/li>\n<li><strong>Terms of service:<\/strong> <a href=\"https:\/\/theofficelines.com\/api\/\">theofficelines.com\/api\/<\/a><\/li>\n<li><strong>Privacy policy:<\/strong> No personal data is collected or transmitted. The API returns static JSON with no tracking.<\/li>\n<\/ul>\n\n<p>YouTube video thumbnails are loaded from <code>img.youtube.com<\/code>. When a user clicks play, a YouTube embed iframe is loaded. YouTube's <a href=\"https:\/\/www.youtube.com\/t\/terms\">Terms of Service<\/a> and <a href=\"https:\/\/policies.google.com\/privacy\">Privacy Policy<\/a> apply to that interaction.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>theofficelines-quote-of-the-day<\/code> folder to <code>\/wp-content\/plugins\/<\/code><\/li>\n<li>Activate the plugin through the 'Plugins' menu<\/li>\n<li>Add the widget to a sidebar via Appearance &gt; Widgets, or use the Gutenberg block, or add <code>[office_qotd]<\/code> to any post\/page<\/li>\n<li>(Optional) Configure SFW mode and theme under Settings &gt; Office QOTD<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"where%20does%20the%20quote%20data%20come%20from%3F\"><h3>Where does the quote data come from?<\/h3><\/dt>\n<dd><p>Quotes are served from the free public API at <a href=\"https:\/\/theofficelines.com\/api\/\">theofficelines.com<\/a>. A new quote is selected each day at 6am UTC.<\/p><\/dd>\n<dt id=\"does%20this%20slow%20down%20my%20site%3F\"><h3>Does this slow down my site?<\/h3><\/dt>\n<dd><p>No. The daily quote is cached for 24 hours using WordPress transients. The video uses a click-to-play pattern \u2014 only a lightweight thumbnail loads initially. The YouTube iframe only loads when a visitor clicks play.<\/p><\/dd>\n<dt id=\"can%20i%20show%20an%20attribution%20link%3F\"><h3>Can I show an attribution link?<\/h3><\/dt>\n<dd><p>Yes. Go to Settings &gt; Office QOTD and check \"Show attribution link.\" Keeping it on helps support the free API that powers this plugin.<\/p><\/dd>\n<dt id=\"what%20if%20the%20api%20is%20down%3F\"><h3>What if the API is down?<\/h3><\/dt>\n<dd><p>The plugin gracefully degrades. If the API is unreachable, it serves the last cached quote for up to an hour. If there is no cached data at all, the widget simply renders nothing.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Handle optional video field \u2014 display quote-only card when no video clip is available<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release \u2014 sidebar widget, Gutenberg block, shortcode<\/li>\n<li>Light and dark theme support<\/li>\n<li>SFW mode toggle<\/li>\n<li>Click-to-play YouTube video facade<\/li>\n<li>Daily caching with WordPress transients<\/li>\n<\/ul>","raw_excerpt":"Display a daily quote from The Office (US) with a YouTube video clip in your WordPress sidebar, posts, or pages.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/li.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/286026","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/li.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/li.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/li.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=286026"}],"author":[{"embeddable":true,"href":"https:\/\/li.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/nathantranquilla"}],"wp:attachment":[{"href":"https:\/\/li.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=286026"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/li.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=286026"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/li.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=286026"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/li.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=286026"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/li.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=286026"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/li.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=286026"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}