1579 posts Chris Robinson
  • United States
  • Sold between 250 000 and 1 000 000 dollars
  • Elite Author
  • Has been a member for 5-6 years
  • Author had a File in an Envato Bundle
  • Referred between 500 and 999 users
  • Author had a Free File of the Month
+5 more
contempoinc says

This article from Konstantin about the “Lock in Effect” in WordPress themes got me thinking a lil’ bit.

Theres many things he outlines but one we can solve simply is CPT naming, most themes feature at least one CPT most commonly a portfolio. Now its up to the author to name this CPT which can be anything from “portfolio” (like myself) to a prefixed name like “ct_portfolio”, etc…

This can be troublesome for buyers as they purchase one theme, add their content, then maybe down the road purchase another but this new theme uses a prefixed name for the portfolio so that user now has to either re-input all their content or do a SQL UPDATE command.

So I’m proposing something simple at least for the authors on TF, lets standardize our CPT naming.

Proposed examples:

  • portfolio
  • testimonials
  • products
  • slider
  • etc…

Thoughts?

3418 posts
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Community Moderator
  • Bought between 100 and 499 items
  • Referred more than 2000 users
  • Has been a member for 4-5 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
+4 more
sevenspark Volunteer moderator says

I read the same article this morning and was thinking along the same lines. Going hand in hand with this, I think plugin authors should then namespace their custom post types so as to avoid collisions.

So I think it’s a good idea; but on the other hand, it doesn’t do much good for meta fields, since those would be more problematic (impossible?) to standardize.

In general: standards are good :) It’d be great if WordPress would actually adopt an official stance on the matter, and offer a best practice standard, actually.

2566 posts Put a Donk On It
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • United Kingdom
  • Exclusive Author
  • Attended a Community Meetup
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Referred between 100 and 199 users
+5 more
ThemeProvince says

I think its this and the slug used that needs to be standardised. People use the permalink /portfolio on a page with a theme where that slug is reserved for portfolio posts etc. and therefore generates a 404 error. I’m too lazy to change the slugs myself but i’d encourage others to change this.

1579 posts Chris Robinson
  • United States
  • Sold between 250 000 and 1 000 000 dollars
  • Elite Author
  • Has been a member for 5-6 years
  • Author had a File in an Envato Bundle
  • Referred between 500 and 999 users
  • Author had a Free File of the Month
+5 more
contempoinc says

So I think it’s a good idea; but on the other hand, it doesn’t do much good for meta fields, since those would be more problematic (impossible?) to standardize.

Agreed, this is just one piece to the puzzle, custom taxonomies and metaboxes are a whole nother story. Although you could propose a small standardized set for different uses, like for products (price, size, shipping, etc…).

3192 posts
  • Sold between 5 000 and 10 000 dollars
  • United States
  • Bought between 10 and 49 items
  • Has been a member for 4-5 years
  • Exclusive Author
organicbee says

I also agree, I think another thing that should be standardized is shortcodes / standard widgets though I think for some of that would be impossible

9 posts
  • Bought between 1 and 9 items
  • Elite Author
  • Exclusive Author
  • Has been a member for 3-4 years
  • Referred between 50 and 99 users
  • Sold between 100 000 and 250 000 dollars
  • United States
wearepixel8 says

Some form of standardization is definitely a step in the right direction. The true trick is to get everyone to embrace the idea without thinking they are compromising their product in some way.

Count us in!

1579 posts Chris Robinson
  • United States
  • Sold between 250 000 and 1 000 000 dollars
  • Elite Author
  • Has been a member for 5-6 years
  • Author had a File in an Envato Bundle
  • Referred between 500 and 999 users
  • Author had a Free File of the Month
+5 more
contempoinc says

Really the way to get this to work is getting Envato behind it, setting a standard and making it apart of the review process.

Calling all staffers…

369 posts
  • Envato Studio (Microlancer) Beta Tester
  • Sold between 10 000 and 50 000 dollars
  • Most Wanted Bounty Winner
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 3-4 years
kaaz says

Really the way to get this to work is getting Envato behind it, setting a standard and making it apart of the review process. Calling all staffers…
+1
by
by
by
by
by
by