16 posts
  • Bought between 50 and 99 items
  • Exclusive Author
  • Has been a member for 2-3 years
  • United Kingdom
ThemeClever says

Man, I was JUST about to release my first theme here too. Having read this WHOLE thread I am confused beyond belief to say the least. The coding standards part I am OK with. But let me get this right… even if I create custom post types they have to be in a plugin???? And to use an options panel such as SMOF I should turn that into a plugin too? Why, since many of the options will not be suited to any future theme?

Dear Envato – there is a very simple solution to all of this chaos and that is an example please.

15 posts
  • Bought between 50 and 99 items
  • Exclusive Author
  • Slovakia
  • Has been a member for 1-2 years
PeterOravec says
I understand that you can use TGM Plugin Activation – but if you’ve purchased an extended license, the user does not have access to the new version of the plugin file, making it extremely difficult for the user to update.

This is true, now I must solve this problem… i use TGM for Visual Composer but it wants to update. Now what… update link goes to purchase page.

114 posts
  • Elite Author
  • Sold between 100 000 and 250 000 dollars
  • Exclusive Author
  • Bought between 100 and 499 items
  • Referred between 50 and 99 users
  • Most Wanted Bounty Winner
  • Envato Studio (Microlancer) Beta Tester
  • Has been a member for 2-3 years
nagaemas says

Man, I was JUST about to release my first theme here too. Having read this WHOLE thread I am confused beyond belief to say the least. The coding standards part I am OK with. But let me get this right… even if I create custom post types they have to be in a plugin???? And to use an options panel such as SMOF I should turn that into a plugin too? Why, since many of the options will not be suited to any future theme? Dear Envato – there is a very simple solution to all of this chaos and that is an example please.

Just wait until a revision of the requirements is posted, then we’ll know what to do next.

Actualy you’re allowed to use SMOF, see page 2 of this thread where you can see Japh’s reply about that ;)

3007 posts
  • Author had a File in an Envato Bundle
  • Bought between 1 and 9 items
  • Elite Author
  • Europe
  • Exclusive Author
  • Has been a member for 4-5 years
  • Referred between 100 and 199 users
+2 more
duotive says

Ok, lets say we are using a custom post type called slide with the taxonomy slideshow. How you you order the slides in a particalar slideshow aka order custom post types for a particular term in a taxonomy? And not all of them at once. Also how do you add extra fields for customisation for the slideshows, aka add custom fields for taxonomies. If you have tutorials or ideas on this i can say that CPT are for us too. Give us an idea?

3007 posts
  • Author had a File in an Envato Bundle
  • Bought between 1 and 9 items
  • Elite Author
  • Europe
  • Exclusive Author
  • Has been a member for 4-5 years
  • Referred between 100 and 199 users
+2 more
duotive says

Also a little question – update option saves values for every website in a multisite or you have to manage that too? It does, dosen’t it?

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

Ok, lets say we are using a custom post type called slide with the taxonomy slideshow. How you you order the slides in a particalar slideshow aka order custom post types for a particular term in a taxonomy? And not all of them at once. Also how do you add extra fields for customisation for the slideshows, aka add custom fields for taxonomies. If you have tutorials or ideas on this i can say that CPT are for us too. Give us an idea?

you’d order them using WP_query same as posts ( I think this is what youre asking ).

tax custom fields http://pippinsplugins.com/adding-custom-meta-fields-to-taxonomies/

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

Also a little question – update option saves values for every website in a multisite or you have to manage that too? It does, dosen’t it?

For MS see

3007 posts
  • Author had a File in an Envato Bundle
  • Bought between 1 and 9 items
  • Elite Author
  • Europe
  • Exclusive Author
  • Has been a member for 4-5 years
  • Referred between 100 and 199 users
+2 more
duotive says

Thanks for the metafileds for the taxonomies. I had no idea of that tutorial :) For the order i mean drag and drop order and not the query order. Also thanks for the second link. Good info if i really need to use update_option :)

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

Thanks for the metafileds for the taxonomies. I had no idea of that tutorial :) For the order i mean drag and drop order and not the query order. Also thanks for the second link. Good info if i really need to use update_option :)

Its possible by adding the page attributes to the CPT “supports” plus setting the “hierarchical” to true so you can set the menu order(then youd query by menu order) but not sure if theres a tutorial on it and making it drag and drop on the admin side is a little more complex

1999 posts
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Author had a File in an Envato Bundle
  • Has been a member for 5-6 years
  • Author had a Free File of the Month
  • Won a Competition
  • Bought between 10 and 49 items
+4 more
bitfade says

Its possible by adding the page attributes to the CPT “supports” plus setting the “hierarchical” to true so you can set the menu order(then youd query by menu order) but not sure if theres a tutorial on it and making it drag and drop on the admin side is a little more complex

menu_order is a wp_posts field, meaning each post can only store a single value which isn’t enough in a scenario where the same post could be assinged multiple terms with a different custom order each time.

Using wp_term_relationships.term_order would be a better choice.

by
by
by
by
by
by