• 0

Splitting meta bar information


Question

Posted · Report post

Hi -

 

I'm interested in splitting the meta bar information - keeping the date up top but moving the comments and tags (and removing the author) to the bottom.

 

Is this something I can do in Pagelines Pro with DMS? 

Share this post


Link to post
Share on other sites

4 answers to this question

  • 0

Posted · Report post

Hi,

 

Can you provide an example of this please, as I am not entirely sure what you're trying to achieve.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Thanks for responding -

 

I'm hoping to have something like this blog does: http://www.thefauxmartha.com/

 

Where the date is under the post heading, but the comment numbers and tags are at the bottom (after the continue reading).  I don't need an author necessarily, because I don't really do guest posts (yet at least)

 

Thanks!

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Hey, 

 

Thats actually one of my sites and we used a hooked (childtheme_after_post_content). That site is still running the framework and I haven't tried it with DMS but I know you will have to use a base theme or the pagelines customize plug-in. Here's what we did to give you a start (but again, can't tell you if it works with DMS...)

add_action('pagelines_loop_after_post_content', 'childtheme_after_post_content');
function childtheme_after_post_content($hook_name, $hook_area_id) {
	global $post;
?>
<div class="childtheme-post-meta">
	<span class="comments">
		<a href="<?php echo get_comments_link($post->ID) ?>">
			<i class="icon-chat"></i> 
        </a>
             <?php comments_popup_link('Add a comment', '1 comment', '% comments'); ?>
	</span>
	<span class="separator">&nbsp;|&nbsp;</span>
	<span class="categories">
		<span class="text">Categories</span>
		<?php echo get_the_category_list(',', '', $post->ID); ?>
	</span>
</div>	
<?php
}

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

erin-wsk Thank you for that great contribution!

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