Re: snippets google plus with wordpress

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2011-11-28 at 21:32 +0100, ml wrote:

> Hello list
> hello php
> hello bearded
> 
> I just finished partially implement the google snippets about wordpress
> 
> I say partially
> Indeed j arrives to recover as the author and date
> No I can not seem to recover to recover the image and description of 
> the subject
> 
> Here is the code that uses the j page themes index.php page.php 
> single.php
> 
>       <div itemscope itemtype="http://schema.org/Article";>
>        <h3 itemprop="name"><?php the_title(); ?></h3>
>        <img itemprop="image" src="<?php echo
> get_the_post_thumbnail($page->ID, 't\
> humbnail'); ?></img>
>        <p itemprop="description"><?php the_title();echo (" "); ?><?php
> the_author\
> (); ?> <?php the_time(  get_option( 'date_format' )); ?></p>
>      </div>
> 
> I get the title the author el date
> 
> how to properly run the snippets
> I thank you for your help our
> 
> -- 
>  http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x092164A7
>  gpg --keyserver pgp.mit.edu --recv-key 092164A7
> 
>  http://urlshort.eu fakessh @
>   http://gplus.to/fakessh
>   http://gplus.to/john.swilting
> 



I think for questions specific to Wordpress you really ought to ask on a
Wordpress list/forum. This one is for general questions about PHP, not
really the best place to ask specifics about a particular CMS. There's a
list of the forums available at http://wordpress.org/support/ 

-- 
Thanks,
Ash
http://www.ashleysheridan.co.uk



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux