This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> | |
<script> | |
(adsbygoogle = window.adsbygoogle || []).push({ | |
google_ad_client: "ca-pub-76782292xxxxxxxx", | |
enable_page_level_ads: true | |
}); | |
</script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
header('Location: https://google.com'); // Manual atau dokumentasi dari http://php.net/manual/en/function.header.php | |
?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php wp_nav_menu( array( 'theme_location' => 'new-menu' ) ); ?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function register_my_menus() { | |
register_nav_menus( | |
array( | |
'menu-baru' => __( 'New Menu' ), | |
'second-menu' => __( 'Second Menu' ) | |
) | |
); | |
} | |
add_action( 'init', 'register_my_menus' ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function register_my_menu() { | |
register_nav_menu('new-menu',__( 'New Menu' )); | |
} | |
add_action( 'init', 'register_my_menu' ); |