Search
 
SCRIPT & CODE EXAMPLE
 

PHP

wordpress custom theme style.css

//default code you should write in custom css
/*
 Theme Name:   Custom theme
 Theme URI:    http://example.com/theme/
 Description:  Twenty Fifteen Child Theme
 Author:       Kinjal Suryavanshi
 Author URI:   http://example.com
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready, custom-background
 Text Domain:  my-custom-theme
*/
Comment

function for style your theme wordpress

function register_styles() {
  wp_register_style( 'theme_styles', get_template_directory_uri() . '/styles/main_global.css' );
  wp_enqueue_style( 'theme_styles' );
}
Comment

PREVIOUS NEXT
Code Example
Php :: php go to another page 
Php :: throwexception laravel 
Php :: laravel carbon get year number 
Php :: php add element to array first position 
Php :: Disable update notification for individual plugins 
Php :: url encode php 
Php :: date_default_timezone_set for india in php laravel 
Php :: php string to array 
Php :: php foreach echo key value 
Php :: wp custom rest endpoint 
Php :: php round down 
Php :: Unable to locate publishable resources. Publishing complete. 
Php :: datetime difference in php 
Php :: php error reporting show warnings 
Php :: styling not working in laravel breeze 
Php :: php get url path name 
Php :: init hook wordpress 
Php :: uuid package generator laravel 
Php :: larael drop foreign key 
Php :: ian holm 
Php :: valide email php 
Php :: show php erros 
Php :: insert php mysql 
Php :: php echo alert js 
Php :: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress. 
Php :: check input value is integer or not in php 
Php :: pre_r 
Php :: save html form data to text file using php 
Php :: re migrate laravel 
Php :: yii2 redirect back 
ADD CONTENT
Topic
Content
Source link
Name
6+6 =