Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Suggestion] Post Categories #39

Closed
RichToms opened this issue Nov 15, 2018 · 9 comments
Closed

[Suggestion] Post Categories #39

RichToms opened this issue Nov 15, 2018 · 9 comments

Comments

@RichToms
Copy link

I thought this would be a nice progression for this project, I'm typically finding that I want a category for a blog post and not just a list of tags

I understand that tags can be used in it's place

@themsaid
Copy link
Owner

I think having tags is enough, you can assign one or many tags to your post :)

@Menelion
Copy link

@themsaid I'm new to Wink, so please bear with me. As for categories, they can be parts of fancy URLs like my.blog/travel/trip-to-cyprus, or: my.blog/recipes/my-favorite-soup, where travel and recipes are category slugs.

@Lloople
Copy link
Contributor

Lloople commented Nov 15, 2018

You can do that with tags as well. But be sure to assign just one tag per post or you would end up with duplicate content for SEO

@Menelion
Copy link

@Lloople Sorry, but semantically tags are other thing than categories: category is something broad, like "travel", "gadgets", "clothing", "recipes"; tags, on the other part, are useful for searching, and one tag per post has kinda little sense.

@themsaid
Copy link
Owner

themsaid commented Nov 16, 2018 via email

@alvarezskinner
Copy link

alvarezskinner commented Nov 28, 2018

What i have ended up doing, is having a hardcoded array which has the tags that i consider or use as categories, and then in a foreach loop thru the tags, display as the category the first tag that is in that array and if not call it "general" category, not "pretty", requires you to be careful when adding tags, but its the only way i can think about, as i have several tags per post and then categories.

Seems like we have gotten to use to Wordpress and its categories and tags, i believe Ghost does the same as well? 😀

@devonzara
Copy link

devonzara commented Jan 26, 2020

I agree that tags are different than categories, but I don't think categories need to be implemented as a separate feature.

Instead, we could make use of the existing tag system by simply adding an is_category or is_topic boolean to each tag; and for those who wish to nest them, you could add a parent_id. I think this would be a simple solution that doesn't bloat Wink but acts as a compromise for those who do wish to have that added capability.

Until then, I too have hard-coded an array of tag slugs to act as categories for navigational purposes while retaining the ability to assign multiple tags to a post. Definitely not an ideal situation, but it suffices for the time being.

@vimalmistry
Copy link

I like this package but I can not use because there is no category functionality.
Tag is fine. Let' me explain

I have blog I am posting things like
news, snippets, tutorials etc => this are categories or we can say type.
Tag like laravel ,vuejs ,react etc can be used in any post. but Type is only one for per post.
Post => belongs to one => Category/Type/OrList
Post => many to many => Tags

@connecteev
Copy link

Agreed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants