Jump to content


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


remove author and categories from meta bar, keep date

Recommended Posts


Hi, I have figured out how to hide the full metabar, and the author and categories using css, but I would like to keep the date. But now I have some other bits of text in there that I don't want, which means I probably have to edit a php file in a child theme instead, to get rid of the rest of it.  (it now says "By On 

November 20, 2013

 · · In [EDIT]")


How would I go about doing this? I just want the post title with the date underneath. I don't know which file to edit.


thanks for your help!

Share this post

Link to post
Share on other sites


There is no need to edit the PHP, we have an option which includes several or more shortcodes that you can use to customize the Post meta.


Simply go to one of your posts and on the Content/PostLoop section settings, find the following option Configure Full Width Post Metabar and Configure Clip Metabar.


Then click on the More Info button and a list of the available shortcodes that you can use will appear.


If you only want to display the date, then use the following - http://d.pr/i/eRVn

Please search our forums, before posting!

Share this post

Link to post
Share on other sites

Oh awesome!  Where can we find out this kind of stuff, other than asking here? Is there a book called Pagelines DMS for Dummies or something like that? Lynda videos?


thanks for your help, I'll try that.

Share this post

Link to post
Share on other sites

I've got this working but am now trying to figure out why I can't limit the categories of posts showing on my page. I tried using the posts-to-page plugin short code on my page and it is still showing all of them. I have an anyloop section in there as well which is working, but I'd rather use the main post loop because I've edited all of the styles for it now. Is there a short code for that too? It seems like it should be a relatively easy thing to do but there are no settings for it in there as far as I can see.


thanks again!

Share this post

Link to post
Share on other sites
James B

Hi there,


Are you entering the cat id in the shortcode like the examples seen here - http://wordpress.org/plugins/posts-to-page/faq/


Remember to clear/flush the cache before viewing again to see the changes.

Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post

Link to post
Share on other sites

  • Similar Content

    • bross51
      By bross51
      I was able to hide the metabar on the single post pages thanks to the included shortcodes however there are no shortcodes to hide the metabar on the remaining pages.  How can this be done?
      Thanks for the help.
    • seanocaside21
      By seanocaside21+
      Hi Guys,
      I am using category page to display all posts from a single category. However each post has a child category that separates each post into individual categories, in this case by county.
      Basically i am wondering is it possible to hide the parent category from the meta bar and just show the child?
    • sethoof
      By sethoof
      I am trying to post research paper abstracts for a client and have created a custom post type for doing so using Custom Post Type UI plugin. But I do not know how to customize the pagelines metabar in these posts to remove the date and comment link.  Ideally, I would replace these with some of the custom metadata (paper-author, paper-topic), but if that is not easy to do with custom css, I can just remove the metabar all together and put the info into the post content.
      This is the code I want to change as identified by firebug.
      <div class="metabar">
      Posted <time class="date time published updated sc" datetime="2014-04-18T07:30:14+00:00">April 18, 2014</time> · <span class="post-comments sc"> <a href="http://cidrzfoundation.flywheelsites.com/paper/zambian-womens-attitudes-toward-mass-nevirapine-therapy-to-prevent-perinatal-transmission-of-hiv/#comments">Add Comment</a> </span> </div>   Thanks in advance for any help!
    • rijans
      By rijans
      Why author link in metabar points to home site link? It should point to mysite.com/author/alex   ... right? but it is pointing to home page mysite.com . How do I solve this problem?
    • massmosaic
      By massmosaic
      Hi Pagelines staff,
      I believe I'm misunderstanding or misusing the "styling classes" field on the front-end editor... 
      I'm looking to remove the author username and "add comments" from my forum pages. Here's the url: http://rad.mosaicearth.com/discussions/community/
      I've found the correct class via firebug, and tried the following code on the custom frontend code editor, which works:
      .post-meta .metabar {display: none;}
      However this removes this metabar across all pages of the site. I would like to keep it in the posts of the site, and only want to remove on the forum pages....
      So I went to the "Section Options: Type" and "Section Options: Local" areas of this page and added this code into the styling classes box... but nothing is removed.
      Is this the correct use of the "styling classes" field??  If not, what is this area used for?? Also, I assume that "section options: type" will apply changes to that custom post type (bbpress pages) but am not sure.  I checked the Pagelines documentation and don't see any information on the Styling Classes field.  Any advise or references here is much appreciated.
      Thank you.