Jump to content

Archived

This topic is now archived and is closed to further replies.

vegetarianepicurean

Splitting meta bar information

Recommended Posts

vegetarianepicurean

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
Danny

Hi,

 

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


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
vegetarianepicurean

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
erin-wsk

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
Rob

erin-wsk Thank you for that great contribution!


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites

  • Similar Content

    • Steve Webb
      By Steve Webb+
      I am having an issue with DMS editor not loading.  Just keeps spinning and spinning.
      Have tried several things - Logged in and out, cleared cache, deactivated all plugins, but the issue persists.
      I even had our host restore from a backup a few weeks ago, when I know it WAS working, as I edited a text box on the homepage.  The restore from backup didn't help either.
      Also, the front end of the site shows that the site is framed, or boxed now (whatever you call it), instead of full width as it was previously (last week).
      Dev console shows that there are php errors in Google maps - file is attached.
      Can someone please help?  Not sure what else I can do here...
      Thanks in advance.
      -Matt

    • tuciudadenred
      By tuciudadenred+
      Hi everyone, what happens is that the web page metrosalarmas.com has a google tags which I have not attacked where I can look to remove those tags and be able to locate the correct ones.
    • Steve Webb
      By Steve Webb+
      I am having an issue with DMS editor not loading.  Just keeps spinning and spinning.
      Have tried several things - Logged in and out, cleared cache, deactivated all plugins, but the issue persists.
      I even had our host restore from a backup a week ago, when I know it WAS working, as I edited a text box on the homepage.  The restore from backup didn't help either.
      Also, the front end of the site shows that the site is framed, or boxed now (whatever you call it), instead of full width as it was previously (last week).
      Dev console shows that there are php errors in Google maps - file is attached.
      Can someone please help?  Not sure what else I can do here...
      Thanks in advance.
      -Matt

    • JawDesigns
      By JawDesigns
      Hi everyone,
      Flywheel have reported errors on my clients site 'www.racewaredirect.co.uk' and it's not loading. Can someone please provide some information on how to fix this? The site has never experienced these issues before.
      Thanks,
      James Wilson
    • MissT
      By MissT+
      Hi there,
      I've got an issue with 3 websites built with DMS since I migrated them from http to https that I need help with please.
      When any changes are made - e.g. new posts added or existing posts amended - certain sections of the live site seem to break e.g. image headers hang and don't load (b/g on canvas section), sliders hang and don't load (Revslider), flipper section doesn't load.
      Logging in and then clicking 'Edit the site using DMS' seems to fix the problem. Often if I try to open up another browser window to edit the site / re publish I'm unable to as the page wont load / hangs while trying to load.
      Any ideas how to fix this? On a couple of the sites I've installed a caching plugin as I thought it might be a loading speed issue but it's still happening.
      Website URL's can be provided privately.
      Many thanks in advance.
×