How do you remove Link backs on Theme settings page?

Basic idea is to search theme files for text of the link and remove code that inserts it. Best case scenario it would be single line to remove. Worst case scenario – link would be added by highly obfuscated code and rigged to break theme if link is removed. Since theme you referenced is in … Read more

How do you install a .MO (language file) to use as part of a theme?

You need to load_theme_textdomain() in your theme. Place this in theme functions file: function theme_init(){ load_theme_textdomain(‘theme_name’, get_template_directory() . ‘/languages’); } add_action (‘init’, ‘theme_init’); Then you put you language files in you theme /languages folder you language files should be es_ES.mo and es_ES.po without the text domain at the front as the codex states File names … Read more

Making an IE only site (Like a Mobile only site)

maybe you can somehow use template redirect? I’m not too clear on how it works, but it may be worth investigating. function my_check_is_ie() { global $is_winIE; if ( ! $is_winIE ) return; // load template for IE include(TEMPLATEPATH . ‘/IE_template.php’); // or maybe? if( is_home() ) include(TEMPLATEPATH . ‘/IE_home.php’); elseif( is_single() ) include(TEMPLATEPATH . ‘/IE_single.php’); … Read more

Alternate header image

You can try this Random from a set of images : <img src=”http://www.mywebsite.com/images/image_<?php echo rand(1,10); ?>.jpg” alt=”” /> This would load a random image from image_1.jpg, image_2.jpg … to image_10.jpg or $images = array(“cool_image.jpg”, “nice_pic.jpg”, “sunset.jpg”); $rand = array_rand($images); <img src=”http://www.mywebsite.com/images/<?php echo $images[$rand]; ?>” alt=”” /> This would select a randow image from thoses specified … Read more

Using a _GET gives me a debug error (over my head)

The error is occurring as the $_GET array doesn’t have the item $_GET[‘do’] in it. Therefore it throws this notice. To check if something exisits in the array try: if( isset( $_GET[‘do’] ) ) $do_that = $_GET[‘do’]; else $do_that=””; or a cleaner method would be to use short hand notation $do_that = ( isset( $_GET[‘do’] … Read more

How to add template to theme in WP

WordPress does not allow adding files though the admin side of things, therefore you will need FTP or SSH access to the server to add a file to your theme directory at least to initially add the template then you can edit it though your hearts content in the admin. (there may be a plugin … Read more