iPhone 3gs/4gs on GoPhone Network

Here I will explain how I was able to use my iPhone with the AT&T GoPhone network, reducing my monthly bill from $130 a month to anywhere between $30 and $50 a month. Regardless of what you may have read other places… this IS POSSIBLE.

NOTE: Your iPhone device will need to be unlocked and jailbroken to use this feature. If your device is not unlocked and jailbroken, please do a google search and perform those steps first. Read more

Graphene Custom Functions

These are custom functions specific to the Graphene Theme.  I needed a place to store all the functions that I come across (or create) to extend the functionality of the Graphene Theme.
[break]

Limit Words in the Excerpt Areas

This function will control the count of words (not characters) in the excerpt areas.

function custom_excerpt_length($length) {
 return 55; // Change this word count to whatever you want.
}
add_filter('excerpt_length', 'custom_excerpt_length', 20 );

[break]

Change Dimensions of the Front Page Header Image

This function will adjust the width and height of the header image.

function graphene_custom_header_width(){
   return 960;  // The value of your custom width
}
function graphene_custom_header_height(){
   return 157;  // The value of your custom height
}
add_filter('graphene_header_image_width', 'graphene_custom_header_width');
add_filter('graphene_header_image_height', 'graphene_custom_header_height');

And this must be added to your child theme or custom css.

#header {
    width: 960px;  /* Must match value above */
    height: 157px;  /* Must match value above */
}

[break]

Change Default Text Strings

This function can help you change the text in hard coded text lines. For example, the “View Full Post” button, or the “Leave a Comment” link. NOTE: If you use this function for more than one translation, you will need to adjust the function name for each one to be unique.

function graphene_filter_gettext( $translated, $original, $domain ) {
	$strings = array(
		'View full post' => 'Read More', // "View Full Post" should be changed to the exact string you want to replace; "Read More" should be the exact string you want to use.
	);
	if ( ! empty( $strings[$original] ) ) {
		$translations = &get_translations_for_domain( $domain );
		$translated = $translations->translate( $strings[$original] );
	}
	return $translated;
}
add_filter( 'gettext', 'graphene_filter_gettext', 10, 3 );

WordPress Custom Welcome Messages

WordPress Custom Welcome Messages

Wordpress Custom Welcome Message

[break]
This is plugin written for the WordPress framework.

This plugin will allow you to add a custom welcome message to your login/register screens. It will also allow you to add a separate custom message for your logout screen. The admin page allows you to add HTML code into the message boxes, so you can include images, links, videos, or any other HTML code. The options are only limited by your imagination. Check out the screenshots for an example. Read more