Title: instructa's Replies | WordPress.org

---

# instructa

  [  ](https://wordpress.org/support/users/instructa/)

 *   [Profile](https://wordpress.org/support/users/instructa/)
 *   [Topics Started](https://wordpress.org/support/users/instructa/topics/)
 *   [Replies Created](https://wordpress.org/support/users/instructa/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/instructa/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/instructa/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/instructa/engagements/)
 *   [Favorites](https://wordpress.org/support/users/instructa/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 15 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Adsense. Insert members Pub-ID](https://wordpress.org/support/topic/adsense-insert-members-pub-id/)
 *  Thread Starter [instructa](https://wordpress.org/support/users/instructa/)
 * (@instructa)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/adsense-insert-members-pub-id/#post-2681098)
 * Any Help? Ckech out what an authors page looks like. The ads on their story pages
   belong to the authors [InstructaZine](http://instructazine.com/author/alicecan)
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Sidebar Widgets cover-wp](https://wordpress.org/support/topic/sidebar-widgets-cover-wp/)
 *  Thread Starter [instructa](https://wordpress.org/support/users/instructa/)
 * (@instructa)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/sidebar-widgets-cover-wp/#post-2333509)
 * [simple copy paste switch in sidebar.php](http://instructazine.com/)
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Add Gravatars For The Post Author](https://wordpress.org/support/topic/add-gravatars-for-the-post-author/)
 *  Thread Starter [instructa](https://wordpress.org/support/users/instructa/)
 * (@instructa)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/add-gravatars-for-the-post-author/#post-2374831)
 * [Solved with this](http://instructazine.com/author/alicecan)
    `<?php echo get_avatar(
   $curauth->user_email, $size = '64', $default = '<path_to_url>' ); ?>`
 * Thank You Adam
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [author page, query, post, Over my head](https://wordpress.org/support/topic/author-page-query-post-over-my-head/)
 *  Thread Starter [instructa](https://wordpress.org/support/users/instructa/)
 * (@instructa)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/author-page-query-post-over-my-head/#post-2377196)
 * Resolved [Here](http://wordpress.org/support/topic/query_posts-from-individual-authors?replies=4)
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [author, query, post, hack help (going crazy!) (gone)](https://wordpress.org/support/topic/author-query-post-hack-help-going-crazy-gone/)
 *  Thread Starter [instructa](https://wordpress.org/support/users/instructa/)
 * (@instructa)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/author-query-post-hack-help-going-crazy-gone/#post-2377195)
 * Thank you for the reply Marventus
    This was solved[ here](http://wordpress.org/support/topic/query_posts-from-individual-authors?replies=4)
 * But agian Thank You!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [query_posts from individual authors](https://wordpress.org/support/topic/query_posts-from-individual-authors/)
 *  Thread Starter [instructa](https://wordpress.org/support/users/instructa/)
 * (@instructa)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/query_posts-from-individual-authors/#post-2377703)
 * **Thank You Big Bagel agian** you to Rev. Voodoo
    Second time you made my day
   Big Bagel! I refer to [this](http://wordpress.org/support/topic/php-in-header-out-of-the-loop?replies=9)
   Thanks a Million!
 * By the By heres my new [Author page!](http://instructazine.com/author/alicecan)
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [author, query, post, hack help (going crazy!) (gone)](https://wordpress.org/support/topic/author-query-post-hack-help-going-crazy-gone/)
 *  Thread Starter [instructa](https://wordpress.org/support/users/instructa/)
 * (@instructa)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/author-query-post-hack-help-going-crazy-gone/#post-2377053)
 *     ```
       <h3><?php _e('Featured','cover-wp') ?></h3>
       <?php query_posts("caller_get_posts=1&showposts=3&category_name=".get_option('cover_wp_featured_cat', 'Featured')); $i = 1; ?><?php if(have_posts()) : while(have_posts()) : the_post(); ?>
       ```
   
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Can I add the url to the user page?](https://wordpress.org/support/topic/can-i-add-the-url-to-the-user-page/)
 *  [instructa](https://wordpress.org/support/users/instructa/)
 * (@instructa)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/can-i-add-the-url-to-the-user-page/#post-2376442)
 * `
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Add Gravatars For The Post Author](https://wordpress.org/support/topic/add-gravatars-for-the-post-author/)
 *  Thread Starter [instructa](https://wordpress.org/support/users/instructa/)
 * (@instructa)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/add-gravatars-for-the-post-author/#post-2374711)
 * No that does not work
    `<?php echo get_avatar( get_the_author_meta('ID'), 64 );?
   >` That shows the mystery man, which is not even my default avatar. By the by,
   Avatar Display, Show Avatars, radio box is checked, so set to true. Thanks for
   the try but, any other ideas?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Allow authors to create sub catagories. Hide 1 cat from all but admin](https://wordpress.org/support/topic/allow-authors-to-create-sub-catagories-hide-1-cat-from-all-but-admin/)
 *  Thread Starter [instructa](https://wordpress.org/support/users/instructa/)
 * (@instructa)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/allow-authors-to-create-sub-catagories-hide-1-cat-from-all-but-admin/#post-2341075)
 * Forget the Sub Categories How to let authors create categories but not delete
   them Any Help?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Allow authors to create sub catagories. Hide 1 cat from all but admin](https://wordpress.org/support/topic/allow-authors-to-create-sub-catagories-hide-1-cat-from-all-but-admin/)
 *  Thread Starter [instructa](https://wordpress.org/support/users/instructa/)
 * (@instructa)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/allow-authors-to-create-sub-catagories-hide-1-cat-from-all-but-admin/#post-2341006)
 * Got the featured category figured out with this plug in [admin-only-category](http://wordpress.org/extend/plugins/admin-only-category/)
   Now how to let authors **create** categories but not **delete** them Any Help?
   
   Thanks!
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [php in header out of the loop](https://wordpress.org/support/topic/php-in-header-out-of-the-loop/)
 *  Thread Starter [instructa](https://wordpress.org/support/users/instructa/)
 * (@instructa)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/php-in-header-out-of-the-loop/#post-2325089)
 * **Thank You Big Bagel**you to brasofilo.
    Worked like a charm! I’m just an old
   copy n paste hack and really wish I understood more of PHP. Hats off to you! 
   Thanks again!
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [php in header out of the loop](https://wordpress.org/support/topic/php-in-header-out-of-the-loop/)
 *  Thread Starter [instructa](https://wordpress.org/support/users/instructa/)
 * (@instructa)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/php-in-header-out-of-the-loop/#post-2325068)
 * Let me try to clarify what I’m trying to do.
    I’m setting up an adsense share.
   In my users (lets call them authors) profiles I have a field where they enter
   their adsense publisher id. (pub-xxxxxxxxxxxxxxxx) I then use this field and 
   insert it into two ads using
 *     ```
       <script type="text/javascript"><!--
       google_ad_client = "<?php the_author_meta('google_id');?>";
       google_ad_width = 468;
       google_ad_height = 60;
       google_ad_format = "468x60_as";
       google_ad_type = "text_image";
       google_ad_channel ="";
       google_color_border = "F4F1E9";
       google_color_bg = "F4F1E9";
       google_color_link = "CC0000";
       google_color_text = "000000";
       google_color_url = "CC0000";
       //--></script>
       <script type="text/javascript"
         src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
       </script>
       ```
   
 * This gives them 100% ownership of these two ads.
    This is great **_if_** they
   already have an Adsense account. However, I would like them to be able to apply
   for an Adsense account thru my domain. (As opposed to say Blogger.com)
 * But google wants you to have a website.
 * Now to verify a site Google webmaster central gives you two options.
    1.) upload
   a file 2.) Add a meta tag to the top of your page. like this, `<meta name="google-
   site-verification" content="455_h5u_f2h_6sw_b21_66i_v8e_5ml_554_1k2" />`
 * I have a second field in the author profile called google-site-verification
    
   where they can enter the 455_h5u_f2h_6sw_b21_66i_v8e_5ml_554_1k2
 * So what I want to do is post the user field google-site-verification
    into here
   in the header `<meta name="google-site-verification" content="POSTHERE" />` so
   that google will consider their profile and every page authored by them as their
   website.
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [php in header out of the loop](https://wordpress.org/support/topic/php-in-header-out-of-the-loop/)
 *  Thread Starter [instructa](https://wordpress.org/support/users/instructa/)
 * (@instructa)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/php-in-header-out-of-the-loop/#post-2325066)
 * Yes but what I’m trying to do is allow users to verify
    b_http://mysite.com/theirPages
   as their own. To allow them to verify then set up adsense.
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [php in header out of the loop](https://wordpress.org/support/topic/php-in-header-out-of-the-loop/)
 *  Thread Starter [instructa](https://wordpress.org/support/users/instructa/)
 * (@instructa)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/php-in-header-out-of-the-loop/#post-2324906)
 * Ah! yes. That works in the header. thank you
 * Now what i want to do is take what this renders.
    `<?php the_author_meta('google_verification'
   1);?>` (which is a string like this, oheG_Lp3GVqp-_WY_cK03iW9rJWfpDF2ZEOSxpJAT5c)
 * And Insert it here
 *     ```
       <head>
       <meta name="google-site-verification" content="Insert it here" />
       </head>
       ```
   
 * On the fly depending in page Author.

Viewing 15 replies - 1 through 15 (of 15 total)