Jump to content
Sign in to follow this  
jasonh1234

Google+ link support to iBlogPro?

Recommended Posts

Simon

Looking at the files, iBlog does not have a hook there, so you will need to edit the file yourself `library/_post_footer.php` is the file.

Share this post


Link to post
Share on other sites
jasonh1234

Hmmm. The code you referenced doesn't look at all like what's there now. Here's the _post_footer.php:

	<div class="hl"></div>
		<div class="post-footer">
			<?php if(is_single() || pagelines('post_footer_link')=='always_social'):?>
				<div class="left">
					<?php edit_post_link(__('Edit Post', TDOMAIN), '', ' | ');?>
					<?php e_pagelines('post_footer_social_text', '');?>
				</div>
				<div class="right">
						<?php if(pagelines('share_facebook')):?>&t=<?php the_title();?>" title="<?php _e('Share on',TDOMAIN);?> Facebook" rel="nofollow" target="_blank">/icons/ico-facebook.png" alt="Facebook" /><?php endif;?>
						<?php if(pagelines('share_twitter')):?>%20<?php echo get_permalink(); ?>" title="<?php _e('Share on',TDOMAIN);?> Twitter" rel="nofollow" target="_blank">/icons/ico-twitter.png" alt="Twitter" /><?php endif;?>
						<?php if(pagelines('share_delicious')):?>&title=<?php the_title(); ?>" title="<?php _e('Share on',TDOMAIN);?> Delicious" rel="nofollow" target="_blank">/icons/ico-del.png" alt="Delicious" /><?php endif;?>
						<?php if(pagelines('share_mixx')):?>" title="<?php _e('Share on',TDOMAIN);?> Mixx" rel="nofollow" target="_blank">/icons/ico-mixx.png" alt="Mixx" /> <?php endif;?>
						<?php if(pagelines('share_stumbleupon')):?>&title=<?php the_title(); ?>" title="<?php _e('Share on',TDOMAIN);?> StumbleUpon" rel="nofollow" target="_blank">/icons/ico-stumble.png" alt="StumbleUpon" /> <?php endif;?>
						<?php if(pagelines('share_digg')):?>&title=<?php the_title(); ?>" title="<?php _e('Share on',TDOMAIN);?> Digg" rel="nofollow" target="_blank">/icons/ico-digg.png" alt="Digg" /><?php endif;?>
	
				</div>
			<?php else:?>
				<div class="left">
					<span><?php comments_number(0, 1, '%'); ?></span>
					#comments" title="<?php _e('View Comments', TDOMAIN);?>"><?php _e('Comments',TDOMAIN)?>
				</div>
				<div class="right">
					<?php edit_post_link(__('Edit Post', TDOMAIN), '', ' | ');?>
					<?php if(pagelines('post_footer_link') != 'hide'):?>
						<span>
						<?php if(pagelines('post_footer_link')=='post_link'):?>
							">
								<?php e_pagelines('post_footer_text', __('View Full Post »',TDOMAIN));?>
							
						<?php else:?>
							#respond">
								<?php e_pagelines('post_footer_text',__('Leave A Response', TDOMAIN));?>
							
	
						<?php endif;?>
						</span>
					<?php endif;?>
				</div>
			<?php endif; ?>
			<br class="fix" />
	
		</div>
	[/code]

Share this post


Link to post
Share on other sites
jasonh1234

I currently am using a plugin but would like to have in inline with the other sharing icons instead for a neater appearance.

Share this post


Link to post
Share on other sites
cmunns

Well you can see the if statements there for the current icons all withing the `

` area right? Add to the front of those this code ` Google Buzz `

Share this post


Link to post
Share on other sites
jasonh1234

Here's a Google+ icon I made that matches iBlogPro's existing share icons...

ico-google_plus.png

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×