Changeset 3076648
- Timestamp:
- 04/24/2024 06:57:40 PM (3 months ago)
- Location:
- kia-subtitle
- Files:
-
- 18 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
kia-subtitle/assets/banner-772x250.png
-
Property
svn:mime-type
changed from
application/octet-stream
toimage/png
-
Property
svn:mime-type
changed from
-
kia-subtitle/assets/screenshot-1.png
-
Property
svn:mime-type
changed from
application/octet-stream
toimage/png
-
Property
svn:mime-type
changed from
-
kia-subtitle/assets/screenshot-2.png
-
Property
svn:mime-type
changed from
application/octet-stream
toimage/png
-
Property
svn:mime-type
changed from
-
kia-subtitle/assets/screenshot-3.png
-
Property
svn:mime-type
changed from
application/octet-stream
toimage/png
-
Property
svn:mime-type
changed from
-
kia-subtitle/tags/4.0.1/assets/js/dist/index.asset.php
r3061381 r3076648 1 <?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-edit-post', 'wp-hooks', 'wp-i18n', 'wp-plugins', 'wp-primitives'), 'version' => ' 89467c066d9bed63b867');1 <?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-edit-post', 'wp-hooks', 'wp-i18n', 'wp-plugins', 'wp-primitives'), 'version' => ''); -
kia-subtitle/tags/4.0.1/assets/js/dist/index.js
r3061381 r3076648 1 (()=>{var e,t={582:(e,t,n)=>{"use strict";const r=window.React,l=window.wp.components,o=window.wp.data,a=window.wp.coreData,i=window.wp.editPost,s=window.wp.plugins,u=window.wp.i18n;(0,s.registerPlugin)("kia-subtitle",{render:e=>{const{getCurrentPostType:t}=(0,o.useSelect)("core/editor"),n=t();if(!n)return null;const[s,c]=(0,a.useEntityProp)("postType",n,"meta"),p=s?.kia_subtitle||"";return(0,r.createElement)(i.PluginDocumentSettingPanel,{name:"kia-subtitle-panel",title:(0,u.__)("Subtitle","kia-subtitle"),className:"kia-subtitle-panel"},(0,r.createElement)(l.TextControl,{value:p,onChange:e=>{c({...s,kia_subtitle:e})}}))},icon:"edit"});const c=window.wp.blocks,p=window.wp.primitives,d=(0,r.createElement)(p.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(p.Path,{d:"m4 5.5h2v6.5h1.5v-6.5h2v-1.5h-5.5zm16 10.5h-16v-1.5h16zm-7 4h-9v-1.5h9z"}));var g=n(942),m=n.n(g);const b=window.wp.blockEditor,k=window.wp.hooks,v=(0,window.wp.compose.createHigherOrderComponent)((e=>t=>{const{name:n,attributes:l}=t;return"kia/post-subtitle"!=n?(0,r.createElement)(e,{...t}):(0,r.createElement)(e,{...t,className:"subtitle"})}),"addSubtitleBlockClass");(0,k.addFilter)("editor.BlockListBlock","kia-subtitle/subtitle-block-class",v);const w=JSON.parse('{"UU":"kia/post-subtitle"}');(0,c.registerBlockType)(w.UU,{edit:function({attributes:{level:e,textAlign:t,isLink:n,rel:i,linkTarget:s},setAttributes:p,context:{postType:d,postId:g,queryId:k},insertBlocksAfter:v}){const w="h"+e,h=Number.isFinite(k),_=(f="postType",E=!h&&d,y=g,(0,o.useSelect)((e=>e("core").canUserEditEntityRecord(f,E,y)),[f,E,y]));var f,E,y;const[x,C]=(0,a.useEntityProp)("postType",d,"meta"),S=x?.kia_subtitle||"",T=e=>{C({...x,kia_subtitle:e})},[O]=(0,a.useEntityProp)("postType",d,"link",g),P=()=>{v((0,c.createBlock)((0,c.getDefaultBlockName)()))},B=(0,b.useBlockProps)({className:m()({[`has-text-align-${t}`]:t})}),N=(0,b.useBlockEditingMode)();console.debug("blockEditingMode",N);let A=(0,r.createElement)(w,{...B},(0,u.__)("Subtitle","kia-subtitle"));return d&&g&&(A=_?(0,r.createElement)(b.PlainText,{tagName:w,placeholder:(0,u.__)("No Subtitle","kia-subtitle"),value:S,onChange:T,__experimentalVersion:2,__unstableOnSplitAtEnd:P,...B}):(0,r.createElement)(w,{...B,dangerouslySetInnerHTML:{__html:S?.rendered}})),n&&d&&g&&(A=_?(0,r.createElement)(w,{...B},(0,r.createElement)(b.PlainText,{tagName:"a",href:O,target:s,rel:i,placeholder:S.length?null:(0,u.__)("No Subtitle","kia-subtitle"),value:S,onChange:T,__experimentalVersion:2,__unstableOnSplitAtEnd:P})):(0,r.createElement)(w,{...B},(0,r.createElement)("a",{href:O,target:s,rel:i,onClick:e=>e.preventDefault(),dangerouslySetInnerHTML:{__html:S?.rendered}}))),(0,r.createElement)(r.Fragment,null,"default"===N&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(b.BlockControls,{group:"block"},(0,r.createElement)(b.HeadingLevelDropdown,{value:e,onChange:e=>p({level:e})}),(0,r.createElement)(b.AlignmentControl,{value:t,onChange:e=>{p({textAlign:e})}})),(0,r.createElement)(b.InspectorControls,null,(0,r.createElement)(l.PanelBody,{title:(0,u.__)("Settings")},(0,r.createElement)(l.ToggleControl,{__nextHasNoMarginBottom:!0,label:(0,u.__)("Make subtitle a link","kia-subtitle"),onChange:()=>p({isLink:!n}),checked:n}),n&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(l.ToggleControl,{__nextHasNoMarginBottom:!0,label:(0,u.__)("Open in new tab"),onChange:e=>p({linkTarget:e?"_blank":"_self"}),checked:"_blank"===s}),(0,r.createElement)(l.TextControl,{__nextHasNoMarginBottom:!0,label:(0,u.__)("Link rel"),value:i,onChange:e=>p({rel:e})}))))),A)},icon:d,save:()=>null})},942:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function l(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=a(e,o(n)))}return e}function o(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return l.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=a(t,n));return t}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(l.default=l,e.exports=l):void 0===(n=function(){return l}.apply(t,[]))||(e.exports=n)}()}},n={};function r(e){var l=n[e];if(void 0!==l)return l.exports;var o=n[e]={exports:{}};return t[e](o,o.exports,r),o.exports}r.m=t,e=[],r.O=(t,n,l,o)=>{if(!n){var a=1/0;for(c=0;c<e.length;c++){for(var[n,l,o]=e[c],i=!0,s=0;s<n.length;s++)(!1&o||a>=o)&&Object.keys(r.O).every((e=>r.O[e](n[s])))?n.splice(s--,1):(i=!1,o<a&&(a=o));if(i){e.splice(c--,1);var u=l();void 0!==u&&(t=u)}}return t}o=o||0;for(var c=e.length;c>0&&e[c-1][2]>o;c--)e[c]=e[c-1];e[c]=[n,l,o]},r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={57:0,350:0};r.O.j=t=>0===e[t];var t=(t,n)=>{var l,o,[a,i,s]=n,u=0;if(a.some((t=>0!==e[t]))){for(l in i)r.o(i,l)&&(r.m[l]=i[l]);if(s)var c=s(r)}for(t&&t(n);u<a.length;u++)o=a[u],r.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return r.O(c)},n=globalThis.webpackChunkkia_subtitle=globalThis.webpackChunkkia_subtitle||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})();var l=r.O(void 0,[350],(()=>r(582)));l=r.O(l)})();1 (()=>{var e,t={582:(e,t,n)=>{"use strict";const )})(); -
kia-subtitle/tags/4.0.1/assets/js/dist/style-index.css
r3061381 r3076648 1 .wp-block-kia-post-subtitle{box-sizing:border-box;word-break:break-word}.wp-block-kia-post-subtitle a{display:inline-block} 1 .wp-block-kia-post-subtitle{box-sizing:border-box;word-break:break-word}.wp-block-kia-post-subtitle a{display:inline-block} -
kia-subtitle/tags/4.0.1/assets/js/subtitle.min.js
r3061381 r3076648 1 /*! kia-subtitle 4.0. 0*/1 /*! kia-subtitle 4.0. */ 2 2 !function(e){e("#the_subtitle").insertAfter("#title"),e(document).on("keydown","#title, #the_subtitle",function(t){9==(t.keyCode||t.which)&&(t.preventDefault(),"#the_subtitle"==(t="title"==e(this).attr("id")?"#the_subtitle":"textarea#content")||e("#wp-content-wrap").hasClass("html-active")?e(t).focus():tinymce.execCommand("mceFocus",!1,"content"))}),e("#the-list").on("click",".editinline",function(){inlineEditPost.revert(),tag_id=e(this).parents("tr").attr("id"),posttitlelabel=e(':input[name="post_title"]',".inline-edit-row").parents("label"),subtitle=e("div.kia-subtitle-value","#"+tag_id).text(),e("input.kia-subtitle-input",".inline-edit-row").val(subtitle).parents("label").insertAfter(posttitlelabel)})}(jQuery); -
kia-subtitle/tags/4.0.1/kia-subtitle.php
r3061381 r3076648 5 5 * Description: Adds a subtitle field to WordPress' Post editor 6 6 * Author: Kathy Darling 7 * Version: 4.0. 07 * Version: 4.0. 8 8 * Author URI: http://www.kathyisawesome.com 9 9 * License: GPL3 … … 48 48 * @since 1.6 49 49 */ 50 public $version = '4.0. 0';50 public $version = '4.0.'; 51 51 52 52 /** -
kia-subtitle/tags/4.0.1/languages/kia-subtitle.pot
r3061381 r3076648 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: KIA Subtitle 4.0. 0\n"5 "Project-Id-Version: KIA Subtitle 4.0.\n" 6 6 "Report-Msgid-Bugs-To: https://github.com/helgatheviking/kia-subtitle/issues/new/\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 2024-0 3-29T20:52:11-04:00\n"12 "POT-Creation-Date: 2024-0:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 "X-Generator: WP-CLI 2. 9.0\n"14 "X-Generator: WP-CLI 2..0\n" 15 15 "X-Domain: kia-subtitle\n" 16 16 17 17 #. Plugin Name of the plugin 18 18 19 #: includes/views/plugin-options.php:12 19 20 #: kia-subtitle.php:203 … … 22 23 23 24 #. Plugin URI of the plugin 25 24 26 msgid "http://www.kathyisawesome.com/436/kia-subtitle/" 25 27 msgstr "" 26 28 27 29 #. Description of the plugin 30 28 31 msgid "Adds a subtitle field to WordPress' Post editor" 29 32 msgstr "" 30 33 31 34 #. Author of the plugin 35 32 36 msgid "Kathy Darling" 33 37 msgstr "" 34 38 35 39 #. Author URI of the plugin 40 36 41 msgid "http://www.kathyisawesome.com" 37 42 msgstr "" -
kia-subtitle/tags/4.0.1/readme.txt
r3065687 r3076648 5 5 Requires at least: 6.1 6 6 Tested up to: 6.5.0 7 Stable tag: 4.0. 07 Stable tag: 4.0. 8 8 License: GPLv3 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 38 38 This plugin does _not_ attempt to output the subtitle. With an infinite number of themes, it is not possible for us to support that. The onus is on the user to customize their theme accordingly. The plugin provides two template tags that can be used to customize your theme as desired. 39 39 40 = `the_subtitle( string $before = '', string $after = '', bool $display = true ): void|string` =40 = `the_subtitle( string $before = , bool $display = true ): void|string` = 41 41 42 42 Displays or retrieves the current post subtitle with optional markup. … … 45 45 46 46 `$before` `string` `optional` 47 Markup to prepend to the title.48 Default: `''`47 Markup to prepend to the title. 48 Default: `''` 49 49 50 50 `$after` `string` `optional` 51 Markup to append to the title.52 Default: `''`51 Markup to append to the title. 52 Default: `''` 53 53 54 54 `$display` `bool` `optional` 55 Whether to echo or return the title. Default true for echo.56 Default: `true`55 Whether to echo or return the title. Default true for echo. 56 Default: `true` 57 57 58 58 … … 192 192 == Changelog == 193 193 194 195 196 194 197 = 4.0.0 = 195 198 * Important: Requires WordPress 6.1 -
kia-subtitle/trunk/assets/js/dist/index.asset.php
r3061381 r3076648 1 <?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-edit-post', 'wp-hooks', 'wp-i18n', 'wp-plugins', 'wp-primitives'), 'version' => ' 89467c066d9bed63b867');1 <?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-edit-post', 'wp-hooks', 'wp-i18n', 'wp-plugins', 'wp-primitives'), 'version' => ''); -
kia-subtitle/trunk/assets/js/dist/index.js
r3061381 r3076648 1 (()=>{var e,t={582:(e,t,n)=>{"use strict";const r=window.React,l=window.wp.components,o=window.wp.data,a=window.wp.coreData,i=window.wp.editPost,s=window.wp.plugins,u=window.wp.i18n;(0,s.registerPlugin)("kia-subtitle",{render:e=>{const{getCurrentPostType:t}=(0,o.useSelect)("core/editor"),n=t();if(!n)return null;const[s,c]=(0,a.useEntityProp)("postType",n,"meta"),p=s?.kia_subtitle||"";return(0,r.createElement)(i.PluginDocumentSettingPanel,{name:"kia-subtitle-panel",title:(0,u.__)("Subtitle","kia-subtitle"),className:"kia-subtitle-panel"},(0,r.createElement)(l.TextControl,{value:p,onChange:e=>{c({...s,kia_subtitle:e})}}))},icon:"edit"});const c=window.wp.blocks,p=window.wp.primitives,d=(0,r.createElement)(p.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(p.Path,{d:"m4 5.5h2v6.5h1.5v-6.5h2v-1.5h-5.5zm16 10.5h-16v-1.5h16zm-7 4h-9v-1.5h9z"}));var g=n(942),m=n.n(g);const b=window.wp.blockEditor,k=window.wp.hooks,v=(0,window.wp.compose.createHigherOrderComponent)((e=>t=>{const{name:n,attributes:l}=t;return"kia/post-subtitle"!=n?(0,r.createElement)(e,{...t}):(0,r.createElement)(e,{...t,className:"subtitle"})}),"addSubtitleBlockClass");(0,k.addFilter)("editor.BlockListBlock","kia-subtitle/subtitle-block-class",v);const w=JSON.parse('{"UU":"kia/post-subtitle"}');(0,c.registerBlockType)(w.UU,{edit:function({attributes:{level:e,textAlign:t,isLink:n,rel:i,linkTarget:s},setAttributes:p,context:{postType:d,postId:g,queryId:k},insertBlocksAfter:v}){const w="h"+e,h=Number.isFinite(k),_=(f="postType",E=!h&&d,y=g,(0,o.useSelect)((e=>e("core").canUserEditEntityRecord(f,E,y)),[f,E,y]));var f,E,y;const[x,C]=(0,a.useEntityProp)("postType",d,"meta"),S=x?.kia_subtitle||"",T=e=>{C({...x,kia_subtitle:e})},[O]=(0,a.useEntityProp)("postType",d,"link",g),P=()=>{v((0,c.createBlock)((0,c.getDefaultBlockName)()))},B=(0,b.useBlockProps)({className:m()({[`has-text-align-${t}`]:t})}),N=(0,b.useBlockEditingMode)();console.debug("blockEditingMode",N);let A=(0,r.createElement)(w,{...B},(0,u.__)("Subtitle","kia-subtitle"));return d&&g&&(A=_?(0,r.createElement)(b.PlainText,{tagName:w,placeholder:(0,u.__)("No Subtitle","kia-subtitle"),value:S,onChange:T,__experimentalVersion:2,__unstableOnSplitAtEnd:P,...B}):(0,r.createElement)(w,{...B,dangerouslySetInnerHTML:{__html:S?.rendered}})),n&&d&&g&&(A=_?(0,r.createElement)(w,{...B},(0,r.createElement)(b.PlainText,{tagName:"a",href:O,target:s,rel:i,placeholder:S.length?null:(0,u.__)("No Subtitle","kia-subtitle"),value:S,onChange:T,__experimentalVersion:2,__unstableOnSplitAtEnd:P})):(0,r.createElement)(w,{...B},(0,r.createElement)("a",{href:O,target:s,rel:i,onClick:e=>e.preventDefault(),dangerouslySetInnerHTML:{__html:S?.rendered}}))),(0,r.createElement)(r.Fragment,null,"default"===N&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(b.BlockControls,{group:"block"},(0,r.createElement)(b.HeadingLevelDropdown,{value:e,onChange:e=>p({level:e})}),(0,r.createElement)(b.AlignmentControl,{value:t,onChange:e=>{p({textAlign:e})}})),(0,r.createElement)(b.InspectorControls,null,(0,r.createElement)(l.PanelBody,{title:(0,u.__)("Settings")},(0,r.createElement)(l.ToggleControl,{__nextHasNoMarginBottom:!0,label:(0,u.__)("Make subtitle a link","kia-subtitle"),onChange:()=>p({isLink:!n}),checked:n}),n&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(l.ToggleControl,{__nextHasNoMarginBottom:!0,label:(0,u.__)("Open in new tab"),onChange:e=>p({linkTarget:e?"_blank":"_self"}),checked:"_blank"===s}),(0,r.createElement)(l.TextControl,{__nextHasNoMarginBottom:!0,label:(0,u.__)("Link rel"),value:i,onChange:e=>p({rel:e})}))))),A)},icon:d,save:()=>null})},942:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function l(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=a(e,o(n)))}return e}function o(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return l.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=a(t,n));return t}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(l.default=l,e.exports=l):void 0===(n=function(){return l}.apply(t,[]))||(e.exports=n)}()}},n={};function r(e){var l=n[e];if(void 0!==l)return l.exports;var o=n[e]={exports:{}};return t[e](o,o.exports,r),o.exports}r.m=t,e=[],r.O=(t,n,l,o)=>{if(!n){var a=1/0;for(c=0;c<e.length;c++){for(var[n,l,o]=e[c],i=!0,s=0;s<n.length;s++)(!1&o||a>=o)&&Object.keys(r.O).every((e=>r.O[e](n[s])))?n.splice(s--,1):(i=!1,o<a&&(a=o));if(i){e.splice(c--,1);var u=l();void 0!==u&&(t=u)}}return t}o=o||0;for(var c=e.length;c>0&&e[c-1][2]>o;c--)e[c]=e[c-1];e[c]=[n,l,o]},r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={57:0,350:0};r.O.j=t=>0===e[t];var t=(t,n)=>{var l,o,[a,i,s]=n,u=0;if(a.some((t=>0!==e[t]))){for(l in i)r.o(i,l)&&(r.m[l]=i[l]);if(s)var c=s(r)}for(t&&t(n);u<a.length;u++)o=a[u],r.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return r.O(c)},n=globalThis.webpackChunkkia_subtitle=globalThis.webpackChunkkia_subtitle||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})();var l=r.O(void 0,[350],(()=>r(582)));l=r.O(l)})();1 (()=>{var e,t={582:(e,t,n)=>{"use strict";const )})(); -
kia-subtitle/trunk/assets/js/dist/style-index.css
r3061381 r3076648 1 .wp-block-kia-post-subtitle{box-sizing:border-box;word-break:break-word}.wp-block-kia-post-subtitle a{display:inline-block} 1 .wp-block-kia-post-subtitle{box-sizing:border-box;word-break:break-word}.wp-block-kia-post-subtitle a{display:inline-block} -
kia-subtitle/trunk/assets/js/subtitle.min.js
r3061381 r3076648 1 /*! kia-subtitle 4.0. 0*/1 /*! kia-subtitle 4.0. */ 2 2 !function(e){e("#the_subtitle").insertAfter("#title"),e(document).on("keydown","#title, #the_subtitle",function(t){9==(t.keyCode||t.which)&&(t.preventDefault(),"#the_subtitle"==(t="title"==e(this).attr("id")?"#the_subtitle":"textarea#content")||e("#wp-content-wrap").hasClass("html-active")?e(t).focus():tinymce.execCommand("mceFocus",!1,"content"))}),e("#the-list").on("click",".editinline",function(){inlineEditPost.revert(),tag_id=e(this).parents("tr").attr("id"),posttitlelabel=e(':input[name="post_title"]',".inline-edit-row").parents("label"),subtitle=e("div.kia-subtitle-value","#"+tag_id).text(),e("input.kia-subtitle-input",".inline-edit-row").val(subtitle).parents("label").insertAfter(posttitlelabel)})}(jQuery); -
kia-subtitle/trunk/kia-subtitle.php
r3061381 r3076648 5 5 * Description: Adds a subtitle field to WordPress' Post editor 6 6 * Author: Kathy Darling 7 * Version: 4.0. 07 * Version: 4.0. 8 8 * Author URI: http://www.kathyisawesome.com 9 9 * License: GPL3 … … 48 48 * @since 1.6 49 49 */ 50 public $version = '4.0. 0';50 public $version = '4.0.'; 51 51 52 52 /** -
kia-subtitle/trunk/languages/kia-subtitle.pot
r3061381 r3076648 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: KIA Subtitle 4.0. 0\n"5 "Project-Id-Version: KIA Subtitle 4.0.\n" 6 6 "Report-Msgid-Bugs-To: https://github.com/helgatheviking/kia-subtitle/issues/new/\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 2024-0 3-29T20:52:11-04:00\n"12 "POT-Creation-Date: 2024-0:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 "X-Generator: WP-CLI 2. 9.0\n"14 "X-Generator: WP-CLI 2..0\n" 15 15 "X-Domain: kia-subtitle\n" 16 16 17 17 #. Plugin Name of the plugin 18 18 19 #: includes/views/plugin-options.php:12 19 20 #: kia-subtitle.php:203 … … 22 23 23 24 #. Plugin URI of the plugin 25 24 26 msgid "http://www.kathyisawesome.com/436/kia-subtitle/" 25 27 msgstr "" 26 28 27 29 #. Description of the plugin 30 28 31 msgid "Adds a subtitle field to WordPress' Post editor" 29 32 msgstr "" 30 33 31 34 #. Author of the plugin 35 32 36 msgid "Kathy Darling" 33 37 msgstr "" 34 38 35 39 #. Author URI of the plugin 40 36 41 msgid "http://www.kathyisawesome.com" 37 42 msgstr "" -
kia-subtitle/trunk/readme.txt
r3065687 r3076648 5 5 Requires at least: 6.1 6 6 Tested up to: 6.5.0 7 Stable tag: 4.0. 07 Stable tag: 4.0. 8 8 License: GPLv3 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 38 38 This plugin does _not_ attempt to output the subtitle. With an infinite number of themes, it is not possible for us to support that. The onus is on the user to customize their theme accordingly. The plugin provides two template tags that can be used to customize your theme as desired. 39 39 40 = `the_subtitle( string $before = '', string $after = '', bool $display = true ): void|string` =40 = `the_subtitle( string $before = , bool $display = true ): void|string` = 41 41 42 42 Displays or retrieves the current post subtitle with optional markup. … … 45 45 46 46 `$before` `string` `optional` 47 Markup to prepend to the title.48 Default: `''`47 Markup to prepend to the title. 48 Default: `''` 49 49 50 50 `$after` `string` `optional` 51 Markup to append to the title.52 Default: `''`51 Markup to append to the title. 52 Default: `''` 53 53 54 54 `$display` `bool` `optional` 55 Whether to echo or return the title. Default true for echo.56 Default: `true`55 Whether to echo or return the title. Default true for echo. 56 Default: `true` 57 57 58 58 … … 192 192 == Changelog == 193 193 194 195 196 194 197 = 4.0.0 = 195 198 * Important: Requires WordPress 6.1
Note: See TracChangeset
for help on using the changeset viewer.