3520 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?

623 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.

1677 posts Multimedia Artistry
    Has referred 100+ members Has sold $75,000+ on Envato Market and is now an Elite Author Has collected 10+ items on Envato Market Contributed a free file of the month
+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.

3520 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..

271 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.

1471 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
+3 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.
3520 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..

1471 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
+3 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.

271 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 ;) .

by
by
by
by
by
by