baldidiot
Forum Replies Created
-
Forum: Plugins
In reply to: [Custom Content Shortcode] ACF WYSIWYG editor field formatting issuePerfect, thanks Peter – adding
format=trueworked a treat!Forum: Plugins
In reply to: [Custom Post Type UI] Two post types with the same custom rewrite slugOk, understood – thanks!
Forum: Plugins
In reply to: [Custom Post Type UI] Nesting Custom Post TypesYes that’s what I was thinking as the only other way around – the fields can be based on some kind of selector. Not quite as neat as I’d hoped but it’ll do the job!
Thanks again for the help and appreciate the work on the plug in, we use it all the time!
Forum: Plugins
In reply to: [Custom Post Type UI] Nesting Custom Post TypesHi Michael,
Thanks for the quick reply. Ah, I see. So the only way to do it really would be having one post type with multiple template versions?
In the example above we also have different sets of custom fields (using the Advanced Custom Fields plug in) so one for Food and one for Recipes – this was one of the main reasons why we wanted to separate them into different post types.
This is where the bigger issue comes because the Food post type will be fairly normal with an editor, but the Recipes post type wouldn’t use the normal editor – instead it’s made up of modular fields. Eg: Intro / Ingredients List / Method / and so on…
It’s partially for continuity but also to allow us to add in extra bits – lists of where to buy products that have been selected as ingredients, auto switching between measurement types and so on.
Is there any way to nest one custom post type under another – Eg: Have Recipes as a child post type of Food?
Or is this just asking for the moon on a stick?..
Forum: Plugins
In reply to: [Custom Content Shortcode] Multiple Orderby Not WorkingUnfortunately not. I ended up having to create the code for this shortcode in php.
Forum: Plugins
In reply to: [Custom Content Shortcode] Multiple Orderby Not WorkingThanks for the reply Peter.
Still doesn’t seem to be working – this is what I’m currently using:
[loop type=myposts orderby=field_num key=positioning order=desc orderby_2=field_num key_2=date order_2=desc]
It works as expected without the second parameter and also fine when only using the date parameter. It’s just combining them that doesn’t seem to be working.
- This reply was modified 7 years, 6 months ago by baldidiot.