236 posts
  • Has sold $10,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 1+ items on Envato Market
  • Sells items exclusively on Envato Market
+1 more

i have two questions i want to ask as i am working on a premium theme.

1. Is it good thing to integrate custom post types in theme (like portfolio). because if someone changes theme data will be lost(correct me if i am wrong)

2. I want display some details above breadcrumbs an striking theme http://kaptinlin.com/themes/striking/blog/ how can i do that (maybe custom field or any other better option)


3526 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $750,000+ on Envato Market
  • Located in United States
  • Helps us moderate the forums
+10 more

Hi atinder,

1. Yes, custom post types are a good thing in general. You’re right that it can be an issue if a user switches themes (the data won’t be lost but it’ll become inaccessible in all likelihood), but that’s just a fact of using advanced WP themes. It does mean, that to the extent you can, storing and cataloging content in standard ways will help the user if they ever decide to switch. For example, you would want to analyze whether certain functionality might be best implemented via Custom Post Type or via Post Format; because Post Format is standardized, if your piece of functionality makes sense to implement that way it can help your users out down the road (see http://markjaquith.wordpress.com/2010/11/12/post-formats-vs-custom-post-types/ for more details on making this determination).

2. That depends on the “details” you want to display, but in general custom fields are a good way of gathering post-specific data. For usability, make your custom fields into meta boxes.

Good luck with your theme development! :)

2067 posts
  • Has collected 50+ items on Envato Market
  • Has been part of the Envato Community for over 5 years
  • Sells items exclusively on Envato Market
  • Located in United States

It won’t be lost, it just won’t appear with other themes. If you switch back to it, you’ll see it again

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes