Removing post meta data (author, date) on specific pages
-
I edited the CSS and successfully hid post meta data on ALL pages, but I would like to control this by page or post type.
For example, I want meta data hidden on these pages (it is hidden at this moment):
http://sacsgallery.org/category/artist-profiles/
http://sacsgallery.org/category/montgomery-al/art-genre/landscape/But I would prefer meta data shown on individual posts (currently hidden):
http://sacsgallery.org/2013/10/21/edward-brummal-the-old-ice-house-plant-montgomery/
http://sacsgallery.org/2014/04/17/ethnic-art-musings/
I am using the “Visual” theme.
The blog I need help with is: (visible only to logged in users)
-
Also, the “404 page not found” page is the only page that shows footer widgets.
Example:
http://sacsgallery.org/2014/04/17/no-page-here/
Any way to show widgets on other pages with CSS customizations?
-
-
For example, I want meta data hidden on these pages
http://sacsgallery.org/category/artist-profiles/
http://sacsgallery.org/category/montgomery-al/art-genre/landscape/We can do this by using the unique category body class on those pages, which is located in the opening body tag in the HTML for those pages. This will not hide the meta on the single post pages in those categories though, only on the categories pages.
.category-artist-profiles .entry-header .entry-meta, category-landscape .entry-header .entry-meta { display: none; }On the widgets, Visual is designed to show a sidebar on static pages and single post pages only. The 404 page is unique and is the only page that has the footer widgets to help a wayward user find what they are looking for and is created by the theme PHP script files. Even if we could cause it to appear on the other pages, there would be no way to add or edit the widgets since there isn’t a “footer widget” entry area at Appearance > Widgets.
- The topic ‘Removing post meta data (author, date) on specific pages’ is closed to new replies.