snippets google plus with wordpress

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

 



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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[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