ThemeShaper Forums » Thematic

[closed]

How to change how posts are displayed

(5 posts)
  • Started 7 years ago by astima
  • Latest reply from astima
  • This topic is not resolved
  1. astima
    Member

    Let me first start off by thanking everyone who answered by millions of questions. I know at times it was annoying, but thanks to you I learned a lot. As a result the site that I was building tests for practice is now going to be my friend's actual site.

    So here is my next question:

    You may have to look at my site to see what I am talking about (http://www.stimadesigns.com/ctc/home). I know that you can only have one blog per WordPress upload. And on my current site the images and posts create the blog. So in order to create a second blog I need to create a subsite and upload Word press.

    A friend asked me if I could make the "What's New" page a blog as well. So I need to make a blog that looks just like my gallery theme blog, but instead of image posts have it look more like a traditional blog. You know where it is the title of the post followed by an excerpt of the post.

    I know this is not probably the right place to ask this question, but I was hoping someone could help me get started . I'm sure a lot is involved I'm kind of just looking for what the first steps would be. Do I upload a gallery theme again and changed how the posts are displayed or do I use a different kind of theme? I am sure I'll have many questions as I get going but I am just looking for where to start.

    Thank you so much.

    Posted 7 years ago #
  2. First off, you will not need another installation of wordpress. The Gallery theme comes packed with custom "Post Types" which require a plugin to be installed.

    For Example; http://www.rossharms.com/cms/wordpress/2011/blog-test/

    So that is a normal post on the Gallery theme. I think you are asking how to do the categories. They way the theme is set up you won't find a category.php to make a "Category Template from. Because I just happened to need to do this, I really quickly made sure it was possible by hijacking another child theme called Commune (which is awesome, and it was easy to snag as it was on my test server) category.php file.

    From that point I just renamed communes category.php to category-blog.php (blog is the slug I used) and it worked. Keep in mind this needs quite a bit of CSS love to override the existing styles and looks like crap because it probably took me longer to write this post. :)

    Category Template Example; http://www.rossharms.com/cms/wordpress/category/blog/

    Hopefully this helps a little. ;)

    Posted 7 years ago #
  3. You are also probably going to want to exclude the category into it's own section (removing it from the index). You can see where I get schooled by helgatheviking and why I often try to not offer too much php advice. :P

    Use her snippet (not mine), to exclude categories from the index.

    Posted 7 years ago #
  4. doesn't thematic have a "blog template" that automagically shows the latest blog posts on any "page". you could always duplicate this into your child theme and modify the query parameters if it isn't pulling the right posts

    but it's late so i have to admit that i didn't completely read everything. not doing much schooling right this second. ;)

    Posted 7 years ago #
  5. astima
    Member

    When using the Gallery theme how do I write CSS that only effects the way things are displayed in a specific category. Reading your comments I didn't even think about attempting CSS, but I think that might solve my problem if I can just change the way the posts are displayed under my whatsnew category and not affect my other categories. So if I want to remove the image thumbnail when they are displayed in a specific category how would I do that?

    Posted 7 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.