Re: snippets google plus with wordpress
| From: | Ashley Sheridan | Date: | Mon, 28 Nov 2011 20:52:05 +0000 |
| Subject: | Re: snippets google plus with wordpress | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-315858@lists.php.net to get a copy of this message | ||
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