3666 posts Ruben Bristian
  • Sells items exclusively on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $500,000+ on Envato Market
  • Has been part of the Envato Community for over 6 years
+10 more
KrownThemes says

Is it ok with to have a really long string inside a single meta key on a post? I am talking about a heavy array inside a simple string..

Or should i look into multiple meta values in the same meta key?

631 posts
  • Has referred more than 5000 members
  • Has sold $2M+ on Envato Market
  • Has collected 100+ items on Envato Market
  • Had an item featured in a magazine
+9 more
Kriesi says

should be ok. my framework saves the whole theme options array into one field, I have tested it while I was building it, there were no performance differences compared to multiple fields.

1769 posts Multimedia Artistry
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has been part of the Envato Community for over 3 years
  • Contributed a free file of the month
  • Won a Most Wanted contest
+4 more
dnp_theme says

As far as I know all of the meta information (keywords, description, others) must be no more than 256 characters, no matter if you are on homepage or post page. The more concise the better.

If you are talking about incredibly long keywords they could be used when makes sense as a whole and ONLY if they are related to the page content. EG: [one way street] or [all round lenses]

Technically yes, you can use them. I’ve never encounter any limitation.

3072 posts
  • Has referred 50+ members
  • Has sold $40,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Had an item featured on Envato Market
+5 more
wickedpixel says

Wordpress, right?
From what I know, meta values are the same type as post_content fields – mysql longtext – stuff that can hold 4gb of data. Pretty big I can say. If you need all the data at once, then a single field can be good.

@dnp 255 characters is for the name of the metakey.

3666 posts Ruben Bristian
  • Sells items exclusively on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $500,000+ on Envato Market
  • Has been part of the Envato Community for over 6 years
+10 more
KrownThemes says

Yes, i am now trying to build my own content composer and wondered if it’s ok to hold the page data(arrays) into a hidden textarea and save that as a meta key..

272 posts The Dominant One
  • Has referred 50+ members
  • Has sold $250,000+ on Envato Market
  • Has collected 100+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+5 more
wptitans says

Are you using a separate panel for content composer or inside edit posts section, I earlier tried adding content composer to edit posts section and it got buggy :P .. Better to create a separate db table for it, that way you can create lots of templates independent of a theme.

1506 posts
  • Has referred 1+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Made it to the Authors' Hall of Fame
+2 more
OriginalEXE says

Are you using a separate panel for content composer or inside edit posts section, I earlier tried adding content composer to edit posts section and it got buggy :P .. Better to create a separate db table for it, that way you can create lots of templates independent of a theme.
Isn’t it better to create a custom post type then? That way you don’t have to create a separate table for it and you already have all the functions for management you could possibly need.
3666 posts Ruben Bristian
  • Sells items exclusively on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $500,000+ on Envato Market
  • Has been part of the Envato Community for over 6 years
+10 more
KrownThemes says

I was trying to do it inside the edit posts section..

1506 posts
  • Has referred 1+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Made it to the Authors' Hall of Fame
+2 more
OriginalEXE says

I was trying to do it inside the edit posts section..
I believe that is the best way to do it.

For example, you can create AJAX saving/loading of the templates, that way you save users some time as they do not have to recreate a teplate from scratch on each post/page.

And you can save templates as a custom post type that is hidden from the ui.

272 posts The Dominant One
  • Has referred 50+ members
  • Has sold $250,000+ on Envato Market
  • Has collected 100+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+5 more
wptitans says


Are you using a separate panel for content composer or inside edit posts section, I earlier tried adding content composer to edit posts section and it got buggy :P .. Better to create a separate db table for it, that way you can create lots of templates independent of a theme.
Isn’t it better to create a custom post type then? That way you don’t have to create a separate table for it and you already have all the functions for management you could possibly need.

that way we are back to posts meta, it is a personal choice imo . When you have a template not relating to any post you can re use it any where.
Goto edit post / custom post / page , select template from a drop it insert via shortcode done ;) .

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

by
by
by
by
by
by