{"id":9423,"date":"2010-06-15T00:20:24","date_gmt":"2010-06-15T00:20:24","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/christian-science-bible-lesson-subjects\/"},"modified":"2026-02-06T01:13:24","modified_gmt":"2026-02-06T01:13:24","slug":"christian-science-bible-lesson-subjects","status":"publish","type":"plugin","link":"https:\/\/os.wordpress.org\/plugins\/christian-science-bible-lesson-subjects\/","author":37705,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.2","stable_tag":"2.2","tested":"6.9.4","requires":"5.0","requires_php":"7.2","requires_plugins":null,"header_name":"Christian Science Bible Lesson Subjects","header_author":"Gabriel Serafini (ShareThePractice.org)","header_description":"","assets_banners_color":"e9ebea","last_updated":"2026-02-06 01:13:24","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/sharethepractice.org\/plugins\/christian-science-bible-lesson-subjects\/","header_plugin_uri":"http:\/\/sharethepractice.org\/plugins\/christian-science-bible-lesson-subjects\/","header_author_uri":"http:\/\/sharethepractice.org\/","rating":0,"author_block_rating":0,"active_installs":10,"downloads":3960,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0":{"tag":"1.0","author":"gserafini","date":"2010-06-15 06:45:09"},"1.1":{"tag":"1.1","author":"gserafini","date":"2015-04-20 20:38:07"},"1.2":{"tag":"1.2","author":"gserafini","date":"2016-10-19 01:27:23"},"1.3":{"tag":"1.3","author":"gserafini","date":"2016-12-20 03:32:45"},"1.4":{"tag":"1.4","author":"gserafini","date":"2016-12-20 03:22:26"},"1.5":{"tag":"1.5","author":"gserafini","date":"2017-11-09 00:50:32"},"1.6":{"tag":"1.6","author":"gserafini","date":"2018-03-09 23:20:06"},"1.7":{"tag":"1.7","author":"gserafini","date":"2018-10-31 23:01:45"},"1.8":{"tag":"1.8","author":"gserafini","date":"2020-11-26 01:43:37"},"1.9":{"tag":"1.9","author":"gserafini","date":"2024-04-04 17:12:27"},"1.9.1":{"tag":"1.9.1","author":"gserafini","date":"2024-04-04 17:12:27"},"2.0":{"tag":"2.0","author":"gserafini","date":"2024-10-31 07:34:13"},"2.1":{"tag":"2.1","author":"gserafini","date":"2024-11-07 05:43:45"},"2.2":{"tag":"2.2","author":"gserafini","date":"2026-02-06 01:13:24"}},"upgrade_notice":{"2.1":"<ul>\n<li>Security Fix for possible XSS injection in shortcode - please upgrade!<\/li>\n<\/ul>","1.7":"<ul>\n<li>Tested to WordPress 5.0<\/li>\n<li>Fix for CSPS Internet Player playlist URL<\/li>\n<\/ul>","1.6":"<ul>\n<li>Add CSPS Internet Player <code>[csps_internet_radio]<\/code> shortcode to plugin<\/li>\n<\/ul>","1.5":"<ul>\n<li>Latest version of plugin now includes Spanish language translation<\/li>\n<\/ul>","1.4":"<ul>\n<li>Upgrade now to get correct 2017 Bible Lesson subjects<\/li>\n<\/ul>","1.3":"<ul>\n<li>Upgrade now to include 2016 Thanksgiving Bible Lesson link<\/li>\n<\/ul>","1.1":"<ul>\n<li>Fix to synchronize weekly Bible study lesson topics for 2013<\/li>\n<\/ul>","1.0":"<p>Initial Release<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":{"banner-1544x500.jpg":{"filename":"banner-1544x500.jpg","revision":651210,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":651210,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1","1.2","1.3","1.4","1.5","1.6","1.7","1.8","1.9","1.9.1","2.0","2.1","2.2"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":651209,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":651209,"resolution":"2","location":"assets","locale":""}},"screenshots":{"1":"Widget configuration options","2":"Output of widget in a sidebar"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[17404,17402,6970,17401,234260],"plugin_category":[39,43],"plugin_contributors":[90615],"plugin_business_model":[],"class_list":["post-9423","plugin","type-plugin","status-publish","hentry","plugin_tags-bible-lesson","plugin_tags-christian-science","plugin_tags-church","plugin_tags-cs","plugin_tags-csps","plugin_category-business","plugin_category-customization","plugin_contributors-gserafini","plugin_committers-gserafini"],"banners":{"banner":"https:\/\/ps.w.org\/christian-science-bible-lesson-subjects\/assets\/banner-772x250.jpg?rev=651210","banner_2x":"https:\/\/ps.w.org\/christian-science-bible-lesson-subjects\/assets\/banner-1544x500.jpg?rev=651210","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/christian-science-bible-lesson-subjects_e9ebea.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/christian-science-bible-lesson-subjects\/assets\/screenshot-1.png?rev=651209","caption":"Widget configuration options"},{"src":"https:\/\/ps.w.org\/christian-science-bible-lesson-subjects\/assets\/screenshot-2.png?rev=651209","caption":"Output of widget in a sidebar"}],"raw_content":"<!--section=description-->\n<p>Display upcoming Christian Science Bible Lesson topics in any widget area on your site.  Also includes shortcode and Spanish translation.  Bonus new feature: Embed CSPS Internet Radio player in your site.<\/p>\n\n<h4>Widget Features:<\/h4>\n\n<ul>\n<li>Select number of upcoming subjects to display (default is 3 weeks)<\/li>\n<li>Select whether to display 'more info' link to <a href=\"https:\/\/biblelesson.christianscience.com\" title=\"More information about Bible Lessons at ChristianScience.com\">ChristianScience.com<\/a><\/li>\n<li>Configure number of days in advance of Thanksgiving Day service to display explanatory message<\/li>\n<li>Option to disable Thanksgiving Day message if desired<\/li>\n<\/ul>\n\n<h4>Shortcodes:<\/h4>\n\n<p><em>Christian Science Bible Lesson topics shortcode<\/em><\/p>\n\n<p>Insert <code>[cs_subject_of_the_week]<\/code> into any post or page to insert the default number of upcoming subjects<\/p>\n\n<p>Optional shortcode parameters<\/p>\n\n<pre><code>[cs_subject_of_the_week weeks_to_display=\"3\" display_more_info_link=\"1\" thanksgiving_days_in_advance=\"30\"]\n<\/code><\/pre>\n\n<ul>\n<li>weeks_to_display - configure number of weeks in advance to display<\/li>\n<li>display_more_info_link - Set to '1' to show more info link, '0' to hide (Default)<\/li>\n<li>thanksgiving_days_in_advance - Set to 0 to disable, or number of days in advance of Thanksgiving Day to show special message<\/li>\n<\/ul>\n\n<p><em>CSPS Internet Radio embed shortcode<\/em><\/p>\n\n<p>Insert <code>[csps_internet_radio]<\/code> in post or page to embed the player<\/p>\n\n<p>Optional shortcode parameters<\/p>\n\n<pre><code>[csps_internet_radio customize_player=false show_title_bar=true iframe_height=\"380\" iframe_width=\"100%\"]\n<\/code><\/pre>\n\n<ul>\n<li>customize_player - Default is false, load standard script directly from JSH site<\/li>\n<li>show_title_bar - Include the standard title bar graphic for the player? Default is true<\/li>\n<li>iframe_height - height of embedded playlist iframe - Default is 380 (px)<\/li>\n<li>iframe_width - width of embedded playlist iframe - Default is 100%<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Unzip the ZIP file and drop the folder straight into your wp-content\/plugins directory.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<\/ol>\n\n<h4>Use as a widget<\/h4>\n\n<ol>\n<li>Navigate to 'Appearance' -&gt; 'Widgets'<\/li>\n<li>Drag the 'CS Bible Lesson Topics' widget into a sidebar to display in that sidebar<\/li>\n<li>Configure widget if you'd like to change the default settings<\/li>\n<\/ol>\n\n<h4>Use as a shortcode<\/h4>\n\n<ol>\n<li><p>Insert <code>[cs_subject_of_the_week]<\/code> into any post or page to insert the default number of upcoming subjects<\/p>\n\n<p>Optional shortcode parameters<\/p>\n\n<pre><code>[cs_subject_of_the_week weeks_to_display=\"3\" display_more_info_link=\"1\" thanksgiving_days_in_advance=\"30\"]\n<\/code><\/pre>\n\n<ul>\n<li>weeks_to_display - configure number of weeks in advance to display<\/li>\n<li>display_more_info_link - Set to '1' to show more info link, '0' to hide (Default)<\/li>\n<li>thanksgiving_days_in_advance - Set to 0 to disable, or number of days in advance of Thanksgiving Day to show special message<\/li>\n<\/ul><\/li>\n<li><p>Publish and  view post or page to see output.<\/p><\/li>\n<\/ol>\n\n<h4>Use in Templates for Theme authors<\/h4>\n\n<p>You can use this plugin in your themes if you wish instead of using it as a widget.<\/p>\n\n<p>Place into your theme to display list of upcoming subjects:\n    &lt;?php if (function_exists('stp_getBibleLessonSubjects')) echo stp_getBibleLessonSubjects( 3, true, 30); ?&gt;<\/p>\n\n<p>Function parameters are ( weeks_to_display, display_more_info_link, thanksgiving_days_in_advance).<br \/>\nYou can also call the function without parameters and the defaults will be used.<\/p>\n\n<h4>CSS Classes for adding custom styles<\/h4>\n\n<p>Add the following declarations to your stylesheet if you'd like to further customize the output of this plugin:<\/p>\n\n<pre><code>\/* Enclosing div *\/\n.stp_cs_bible_lesson_topics_widget { }\n\n\/* span surrounding date in outputted list *\/\n.stp_cs_bible_lesson_topics_date { }\n\n\/* span surrounding subject in outputted list *\/\n.stp_cs_bible_lesson_topics_subject { }\n\n\/* class on enclosing li tag for more info link *\/\n.stp_cs_bible_lesson_topics_more_info_link { }\n\n\/* enclosing class for special Thanksgiving message *\/\n.stp_cs_bible_lesson_topics_thanksgiving_message { }\n<\/code><\/pre>\n\n<!--section=faq-->\n<dl>\n<dt id=\"is%20this%20provided%20by%20the%20christian%20science%20publishing%20society%3F\"><h3>Is this provided by the Christian Science Publishing Society?<\/h3><\/dt>\n<dd><p>No, this has been coded by <a href=\"http:\/\/sharethepractice.org\/\">ShareThePractice.org<\/a> for use by branch churches and societies.<\/p><\/dd>\n<dt id=\"is%20support%20available%3F\"><h3>Is support available?<\/h3><\/dt>\n<dd><p>Yes, use the contact form on the ShareThePractice.org <a href=\"http:\/\/sharethepractice.org\/contact\/\">website<\/a>.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.2<\/h4>\n\n<ul>\n<li>Security: Add ABSPATH check to prevent direct file access<\/li>\n<li>Improvement: Add proper GPL license header<\/li>\n<li>Improvement: Remove deprecated load_plugin_textdomain call (WordPress 4.6+ loads translations automatically)<\/li>\n<li>Coding standards: Full PHPCS WordPress-Extra compliance<\/li>\n<\/ul>\n\n<h4>2.1<\/h4>\n\n<ul>\n<li>Release date: November 6, 2024<\/li>\n<li>Security fix - Possible XSS: escape passed arguments in shortcode attributes (thanks to PatchStack for responsibly reporting)<\/li>\n<\/ul>\n\n<h4>2.0<\/h4>\n\n<ul>\n<li>Release date: October 31, 2024<\/li>\n<li>Fix for PHP 8.2 - removed deprecated use of strftime<\/li>\n<li>Fix for PHP 8.2 - refactored how to instantiate WP_Widget class<\/li>\n<li>Tested up to WordPress 6.7<\/li>\n<\/ul>\n\n<h4>1.9.1<\/h4>\n\n<ul>\n<li>Release date: March 11, 2024<\/li>\n<li>Update link to point to sample Bible Lesson, change to https<\/li>\n<li>Tested using WordPress 6.4.3<\/li>\n<\/ul>\n\n<h4>1.8<\/h4>\n\n<ul>\n<li>Release date: November 12, 2018<\/li>\n<li>Fix PHP notice about undefined constant<\/li>\n<\/ul>\n\n<h4>1.7<\/h4>\n\n<ul>\n<li>Release date: October 31, 2018<\/li>\n<li>Tested to upcoming WordPress 5.0 version<\/li>\n<li>Improve grammar \/ display of Thanksgiving date<\/li>\n<li>Update CSPS Internet Player playlist URL<\/li>\n<\/ul>\n\n<h4>1.6<\/h4>\n\n<ul>\n<li>Release date: March 9, 2018<\/li>\n<li>Add CSPS Internet Player <code>[csps_internet_radio]<\/code> shortcode to plugin<\/li>\n<\/ul>\n\n<h4>1.5<\/h4>\n\n<ul>\n<li>Release date: May 30, 2017<\/li>\n<li>Add Spanish language translation of Bible Lesson subjects<\/li>\n<\/ul>\n\n<h4>1.4<\/h4>\n\n<ul>\n<li>Release date: December 19, 2016<\/li>\n<li>Permanent fix for correctly calculating week numbers using Sunday as start day for the week<\/li>\n<\/ul>\n\n<h4>1.3<\/h4>\n\n<ul>\n<li>Release date: November 16, 2016<\/li>\n<li>Add 2016 Thanksgiving Bible Lesson link to special Thanksgiving message box.  Change styling to use div instead of ul.<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Release date: January 12, 2016<\/li>\n<li>Fix to re-synchronize weekly Bible study lesson topics for 2016<\/li>\n<li>Update \"More info about Bible Lesson\" link to point to new URL<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Release date: January 9, 2013<\/li>\n<li>Fix to re-synchronize weekly Bible study lesson topics for 2013<\/li>\n<li>Fix widget so it correctly shows the More Info link depending on user input in widget options<\/li>\n<li>Update \"More info about Bible Lesson\" link to point to new URL<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Release date: January 9, 2013<\/li>\n<li>Initial public release of plugin<\/li>\n<\/ul>","raw_excerpt":"Provides configurable widget and shortcode for displaying upcoming weekly Christian Science Bible Lesson subjects.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/9423","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=9423"}],"author":[{"embeddable":true,"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/gserafini"}],"wp:attachment":[{"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=9423"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=9423"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=9423"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=9423"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=9423"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=9423"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}