ThemeShaper Forums » Power Blog


How to remove meta data from posts

(6 posts)
  1. sober

    I am using the power blog theme as a CMS and do not want any meta data to show. How exactly can i remove

    By CRF | Published: September 18, 2009 | Edit


    Posted in Category-1, Category-2, Category-3, Category-4 | Leave a comment | Edit

    Posted 12 years ago #
  2. sober

    I found out it but I am still unsuccessful removing the

    " Category Archives: Category Name "

    that is found at the beginning of the category page. I am using the power blog

    Posted 12 years ago #
  3. Try adding this to the powerbolg theme's style.css

    .entry-meta, .entry-utility  {

    Note that while the bowser wont render that info all of it will still be in the source code. If you want it totally gone from the source then you'll have to dive into the functions.php of your theme and filter the thematic_postheader() and thematic_postfooter()

    Posted 12 years ago #
  4. sober

    I copy pasted the above code in the power blog style sheet as well as in the thematic default style but the " " Category Archives: Category Name " " still shows up .

    Posted 12 years ago #
  5. Sorry I'm not familiar with that theme so I had to look at the demo to get a clearer picture of what your problem is. Try this:

    .category.archive h1 {display:none}

    It's pretty simple to figure out and fix with the right tools. The next time you run across a problem like this Install the firebug extension for firefox. Use the inspect html tool to see what tag & attributes are assigned and then use firebugs edit css feature to make live edits to your style.css until you make the changes you desire. Then add the final code into you style.css.

    In this case the " Category Archives: Category Name " is in a generic h1 tag so we'll use body classes specific to affecting changes to h1 tags on only these types of pages. Those classes would would be "category" and "archive". Put it all together and voila it's not rendered in the browser but still providing solid SEO in the source.

    Posted 12 years ago #
  6. sober

    Thanks em hr, for the solution, and to be exact, i had to put it in the default.css in the thematic mother theme.

    Posted 12 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.