instructa
Forum Replies Created
-
Forum: Plugins
In reply to: Adsense. Insert members Pub-IDAny Help? Ckech out what an authors page looks like. The ads on their story pages belong to the authors InstructaZine
Forum: Themes and Templates
In reply to: Sidebar Widgets cover-wpForum: Themes and Templates
In reply to: Add Gravatars For The Post AuthorSolved with this
<?php echo get_avatar( $curauth->user_email, $size = '64', $default = '<path_to_url>' ); ?>
Thank You Adam
Forum: Hacks
In reply to: author page, query, post, Over my headResolved Here
Forum: Hacks
In reply to: author, query, post, hack help (going crazy!) (gone)Thank you for the reply Marventus
This was solved hereBut agian Thank You!
Forum: Fixing WordPress
In reply to: query_posts from individual authorsThank You Big Bagel agian you to Rev. Voodoo
Second time you made my day Big Bagel! I refer to
this
Thanks a Million!By the By heres my new Author page!
Forum: Hacks
In reply to: author, query, post, hack help (going crazy!) (gone)<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
In reply to: Can I add the url to the user page?`
Forum: Themes and Templates
In reply to: Add Gravatars For The Post AuthorNo 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
In reply to: Allow authors to create sub catagories. Hide 1 cat from all but adminForget the Sub Categories How to let authors create categories but not delete them Any Help?
Forum: Plugins
In reply to: Allow authors to create sub catagories. Hide 1 cat from all but adminGot the featured category figured out with this plug in admin-only-category Now how to let authors create categories but not delete them Any Help?
Thanks!Forum: Hacks
In reply to: php in header out of the loopThank You Big Bagelyou 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
In reply to: php in header out of the loopLet 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="https://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_1k2So 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
In reply to: php in header out of the loopYes but what I’m trying to do is allow users to verify
b_https://mysite.com/theirPages as their own. To allow them to verify then set up adsense.Forum: Hacks
In reply to: php in header out of the loopAh! 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.