Written in C++ (rather than Java like Minecraft itself) Cuberite is a Free and Open Source (FOSS) Minecraft-compatible Game Server. It is designed with performance, configurability, and extensibility in mind, and also aims to accurately recreate most vanilla features.
Customise WordPress Admin Footer
Change the message that appears in the admin footer, why not give yourself a credit for the theme?
1 2 3 4 5 |
// Customise the footer in admin area function itlc_footer_admin () { echo 'Theme designed and developed by <a href="#" target="_blank">YourNameHere</a> and powered by <a href="http://wordpress.org" target="_blank">WordPress</a>.'; } add_filter('admin_footer_text', 'itlc_footer_admin'); |
Hello World in C
This is how you would display “Hello World” in C.
1 2 3 4 5 6 7 |
#include<stdio.h> main() { printf("Hello World"); } |
Theme the WordPress Login Page
Loads a CSS file into your login page so you can override default styles. Just add wp-login.css
into your theme folder.
1 2 3 4 5 6 |
// Custom CSS for the login page // Create wp-login.css in your theme folder function itlc_loginCSS() { echo '<link rel="stylesheet" type="text/css" href="'.get_bloginfo('template_directory').'/wp-login.css"/>'; } add_action('login_head', 'itlc_loginCSS'); |
Hello World in PHP
This is how you would display “Hello World” to the browser in PHP.
1 2 3 4 5 |
<?php echo "Hello World"; ?> |