Plugin Directory

Changeset 2897355


Ignore:
Timestamp:
04/11/2023 05:12:09 PM (3 years ago)
Author:
Hakik
Message:

v1.0.1: block added

Location:
hello-lyrics/trunk
Files:
16 added
2 edited

Legend:

Unmodified
Added
Removed
  • hello-lyrics/trunk/hello-lyrics.php

    r2872355 r2897355  
    11<?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
    516 */
    6 /*
    7 Plugin Name: Hello Lyrics
    8 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 Zaman
    11 Version: 1.0.0
    12 Author URI: https://github.com/hakikz
    13 License:     GPL2
    14 License URI: https://www.gnu.org/licenses/gpl-2.0.html
    15 */
    1617
    1718function hls_register_settings(){
     
    2930
    3031function 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" ) );
    3233}
    3334
    3435function hls_lyric_field_callback(){
    3536    $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);
    3738}
    3839
    3940function hls_lyric_title_callback(){
    4041    $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);
    4243}
    4344
    4445function hls_lyric_by_callback(){
    4546    $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);
    4748}
    4849
     
    120121add_action( 'admin_head', 'hls_chosen_lyrics_css' );
    121122
     123/*
     124========================================================================================
     125Introduce Hello Lyrics Block
     126========================================================================================
     127*/
     128require plugin_dir_path( __FILE__ ) . 'block/index.php' ;
    122129
     130
     131
  • hello-lyrics/trunk/readme.txt

    r2872350 r2897355  
    11=== Hello Lyrics ===
    22Contributors: 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
     3Donate link: https://github.com/hakikz
     4Tags: lyrics, poem, quote, dashboard quote, favorite song quote, display verses from holy scriptures, block
     5Requires at least: 4.7
     6Tested up to: 6.2
     7Stable tag: 1.0.1
     8Requires PHP: 7.3
    89License: GPLv2 or later
    910License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    4445== Changelog ==
    4546
     47= 1.0.1 =
     48* Feature: Added block to display random quotes from the lyrics/lines.
     49* Improvement: Settings fields visualization.
     50
    4651= 1.0 =
    4752* Initial version.
Note: See TracChangeset for help on using the changeset viewer.