Changeset 2897355
- Timestamp:
- 04/11/2023 05:12:09 PM (3 years ago)
- Location:
- hello-lyrics/trunk
- Files:
-
- 16 added
- 2 edited
-
block (added)
-
block/build (added)
-
block/build/block.json (added)
-
block/build/index.asset.php (added)
-
block/build/index.css (added)
-
block/build/index.css.map (added)
-
block/build/index.js (added)
-
block/build/index.js.map (added)
-
block/build/render.php (added)
-
block/build/style-index.css (added)
-
block/build/style-index.css.map (added)
-
block/index.php (added)
-
block/package-lock.json (added)
-
block/package.json (added)
-
block/readme.txt (added)
-
hello-lyrics.php (modified) (3 diffs)
-
package-lock.json (added)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
hello-lyrics/trunk/hello-lyrics.php
r2872355 r2897355 1 1 <?php 2 /** 3 * @package Hello_Lyrics 4 * @version 1.0.0 2 /* 3 * Plugin Name: Hello Lyrics 4 * Plugin URI: http://wordpress.org/plugins/hello-lyrics/ 5 * Description: This is a plugin to display your favorite song/porem lyrics. Hello, Lyrics. When activated you will randomly see a lyric from your inserted lyric in the upper right of your admin screen on every page. 6 * Version: 1.0.1 7 * Requires at least: 5.2 8 * Requires PHP: 7.2 9 * Author: Hakik Zaman 10 * Author URI: https://github.com/hakikz 11 * License: GPL v2 or later 12 * License URI: https://www.gnu.org/licenses/gpl-2.0.html 13 * Update URI: http://wordpress.org/plugins/hello-lyrics/ 14 * Text Domain: hello-lyrics 15 * Domain Path: /languages 5 16 */ 6 /*7 Plugin Name: Hello Lyrics8 Plugin URI: http://wordpress.org/plugins/hello-lyrics/9 Description: This is a plugin to display your favorite song/porem lyrics. Hello, Lyrics. When activated you will randomly see a lyric from your inserted lyric in the upper right of your admin screen on every page.10 Author: Hakik Zaman11 Version: 1.0.012 Author URI: https://github.com/hakikz13 License: GPL214 License URI: https://www.gnu.org/licenses/gpl-2.0.html15 */16 17 17 18 function hls_register_settings(){ … … 29 30 30 31 function hls_section_title_callback(){ 31 echo "<p>".__( "Please set the lyric credintials here" )."</p>";32 printf("<p>%s</p>", __( "Please set the lyric credintials here", "hello-lyrics" ) ); 32 33 } 33 34 34 35 function hls_lyric_field_callback(){ 35 36 $hls_lyric_textarea_field = get_option( "hls_lyric_textarea_field" ); 36 printf("<textarea id='hls_lyric_textarea_field' name='hls_lyric_textarea_field' >%s</textarea>", $hls_lyric_textarea_field);37 printf("<textarea id='hls_lyric_textarea_field' name='hls_lyric_textarea_field' rows='15' cols='20' class='large-text code'>%s</textarea>", $hls_lyric_textarea_field); 37 38 } 38 39 39 40 function hls_lyric_title_callback(){ 40 41 $hls_lyric_text_title = get_option( "hls_lyric_text_title" ); 41 printf("<input type='text' id='hls_lyric_text_title' name='hls_lyric_text_title' ,value='%s' />", $hls_lyric_text_title);42 printf("<input type='text' id='hls_lyric_text_title' name='hls_lyric_text_title' class='regular-text' value='%s' />", $hls_lyric_text_title); 42 43 } 43 44 44 45 function hls_lyric_by_callback(){ 45 46 $hls_lyric_text_by = get_option( "hls_lyric_text_by" ); 46 printf("<input type='text' id='hls_lyric_text_by' name='hls_lyric_text_by' ,value='%s' />", $hls_lyric_text_by);47 printf("<input type='text' id='hls_lyric_text_by' name='hls_lyric_text_by' class='regular-text' value='%s' />", $hls_lyric_text_by); 47 48 } 48 49 … … 120 121 add_action( 'admin_head', 'hls_chosen_lyrics_css' ); 121 122 123 /* 124 ======================================================================================== 125 Introduce Hello Lyrics Block 126 ======================================================================================== 127 */ 128 require plugin_dir_path( __FILE__ ) . 'block/index.php' ; 122 129 130 131 -
hello-lyrics/trunk/readme.txt
r2872350 r2897355 1 1 === Hello Lyrics === 2 2 Contributors: hakik 3 Tags: lyrics, poem, quote, dashboard quote, favorite song quote, display verses from holy scriptures 4 Requires at least: 4.6 5 Tested up to: 6.1 6 Stable tag: 4.3 7 Requires PHP: 5.2.4 3 Donate link: https://github.com/hakikz 4 Tags: lyrics, poem, quote, dashboard quote, favorite song quote, display verses from holy scriptures, block 5 Requires at least: 4.7 6 Tested up to: 6.2 7 Stable tag: 1.0.1 8 Requires PHP: 7.3 8 9 License: GPLv2 or later 9 10 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 44 45 == Changelog == 45 46 47 = 1.0.1 = 48 * Feature: Added block to display random quotes from the lyrics/lines. 49 * Improvement: Settings fields visualization. 50 46 51 = 1.0 = 47 52 * Initial version.
Note: See TracChangeset
for help on using the changeset viewer.