Suggestions on organization - story vs home (4 posts)

  1. phpchick
    Posted 3 years ago #

    Hi, I'm building a website where we write stories on Stocks.

    The stories are currently being posted as a custom post type called "stock" and each post has an associated meta called "symbol".

    Now I want to build mini-home pages for each stock that we have a story on.

    Example: http://seekingalpha.com/symbol/lulu?source=search_general&s=lulu http://finance.yahoo.com/q?s=lulu&ql=1

    I'm not sure how to organize this within the wordpress construct.

    Should I create a "Page" for each stock? or should I make a new custom post type? I'm pretty sure wordpress has something built in for exactly what I want to do but I'm not familiar enough, I was hoping someone here could provide some color/insight.

    Thank you so much!! <3 <3

  2. bythegram
    Posted 3 years ago #

    Just an idea: if all the 'mini-homepages' are going to look the same you could customize the "stock" archive page to look/work the way you want it and then http://www.yousite.com/stock?s=stockname should filter only "stories" for that stock (based on wordpress' search).

    This might help: http://codex.wordpress.org/Post_Types#Archive_template

  3. phpchick
    Posted 3 years ago #

    I may want to include more than only that specific post type in this "mini-homepage" though.

    Archives by default only display one type of post right?

    In addition it is dynamically generated by the URL it seems like, so a user could arrive at a archive page with no stock just by modifying the URL. It doesn't seem like a good idea for SEO purposes either since it is only one URL with dynamically generated content?

  4. bythegram
    Posted 3 years ago #

    For your first point: since you'd be making a custom archive template you could include as many 'loops' as you want really.

    But your url/seo concerns make sense.

    You might have to make a page template then create the 'mini-homepages' individually. Really wound't be that much more work plus it would lend itself to a little more 'stock' specific content.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.