Archive for the ‘PHP’ Category

WordPress PlugIn Example with Full I18N Internationalization with the standard files POT PO MO

Thursday, August 13th, 2015

I am sure now days there are many fully internationalized plug ins for WordPress but this is the first one I have noticed.  I am noting it here along with the plugin archive because I will be writing an internationalized software package soon.

WARNING: Do not download and use with your wordpress installation because I will not be keeping it up to date.  It is only here for study of the internationalization process.

   Archivewp-fb-share-like-button.1.9.zip

 

Controlling which picture is used for FaceBook thumbnail

Sunday, April 21st, 2013

The following code inserted into the header.php passes off the thumbnail in the article.

 <?php
if (is_home()) {
	echo '<meta property="og:image" content="http://www.amarketplaceofideas.com/wp-content/uploads/2013/04/Wavy-Arm-Guy.jpg"/>';
}
elseif (function_exists("has_post_thumbnail") && has_post_thumbnail() && !is_home() ) { 
	thumbnail = wp_get_attachment_image_src( get_post_thumbnail_id(post->ID), full ); ?>
</p>
<meta content="<?php echo $thumbnail[0]; ?>" property="og:image" />
<?php } ?>
<p>
	

Working with PHP in the Eclipse IDE Environment

Monday, January 12th, 2009

  

 

 

10 Principles of the PHP Masters

Friday, September 12th, 2008

10 Principles of the PHP Masters