hint: ‘new products’ and ‘our products’.
Ok, it seems I’ve overworked today. Still looking for solution.
Ok, I’ve might solved that myself Second option with ‘slug’ => ’’ might be a solution, tho, still need to test that out.
Why should anyone would want to remove that framework folder? Users usually install themes to use them, not to break them.
So, I’m working on a theme which will have custom post type for galleries/portfolio. And, as this is the first time I’m making a commercial theme, I’m wondering what’s the best way to do it.
I’m stuck at the logic, which way should I create my templates for that cpt.
1. Using has_archive is great, but.. Lets say, I name my cpt ‘portfolio’ then index for that will be sitename.xx/portfolio (and what if someone likes my theme but, lets say, they want to use it for travelling galleries? URL with /portfolio would look weird.)
2. Create cpt with any name, and make page template with custom loop in it for quering those portfolio/gallery items. (This way I could use any permalink (page title) for my portfolio index, but then.. single items would also redirect to sitename.xx/portfolio/singleitem)
So what’s the best way to do it, in case, not to stick to URL defined by default (defined @ cpt registration)?
Sorry to say that, but imo it won’t get accepted.
First thing, you should polish the design some more, cause now it has some serious problems with visual hierarchy and spacing.
Also, you should create some inner pages like single post, galleries index, gallery single and so on
< sarcasm > Yeah, that software is called FileZilla. I used it to download lots of websites from servers. < /sarcasm >
Obviously is a good practice to build themes that don’t rely too much on plugins, try to create your code for as many components as you can… also because not all the plugins out there are really well made and updated.Parker
I wouldn’t agree with that.
For example, lot of theme authors are including SEO options in their theme framework/options panel. Imo, that’s a bad practice. Why so? Let’s say I’m a blogger and already have my WordPress website running for a few years. And now I decide to change the lookandfeel of my site, so I buy fully packed premium WordPress theme. I install it, do all the setting up stuff (SEO stuff, in our case) and happily use my precious new theme. After a while, I decide to get a new theme.. Oh crap. I have to set up all those ‘premium’ options.. again. And again. Anyone likes that?
So, in conclusion, yeah, options are cool, but imo they should only help user to get their site some kind of different from the original themes (design perspective). And to avoid my given situation, I would prefer to set up, let’s say, yoast SEO pack and use it independently from what theme I choose. That way, I can switch themes like crazy, but my SEO options stays the same. Always.