Search
 
SCRIPT & CODE EXAMPLE
 

PHP

wordpress get theme uri

<img src="<?php echo get_template_directory_uri(); ?>/images/logo.png">
Comment

wordpress theme directory uri

add_action('wp_enqueue_scripts', 'wpdocs_scripts_method');
 
/*
 * Enqueue a script with the correct path.
 */
function wpdocs_scripts_method() {
    wp_enqueue_script(
        'custom_script',
        get_template_directory_uri() . '/js/custom_script.js',
        array('jquery')
    );
}
Comment

PREVIOUS NEXT
Code Example
Php :: db::statement in laravel 
Php :: optimize clear laravel not working 
Php :: php start server command 
Php :: cookie are not set in php 
Php :: php turney if 
Php :: random word using a wordlist php 
Php :: laravel form validation 
Php :: woocommerce check if user is logged in 
Php :: strtotime format 
Php :: format money with commas in php 
Php :: str_replace php 
Php :: logout in php 
Php :: sleep php 
Php :: delete record using laravel 
Php :: laravel validate enum field 
Php :: refresh a specific migration laravel 
Php :: https redirect in htacess for php laravel 
Php :: redirect back with input laravel in request 
Php :: laravel count group by date 
Php :: php shell command execution 
Php :: lat long in laravel validation 
Php :: how to check php version in php 
Php :: laravel eloquent select one column 
Php :: Flutter migrate to Android Studio 
Php :: php uppercase with accent 
Php :: php get first key of array 
Php :: $this- attribute laravel 
Php :: display custom post type 
Php :: php get parameter 
Php :: get parameter php 
ADD CONTENT
Topic
Content
Source link
Name
1+8 =