Code Amp
Forum Replies Created
-
Great, I’m trying to get both of those into a maintenence update at the moment (hopefully in the next day or two).
FYI I’ve just added (some basic) docs to the site:
https://customlayouts.com/documentation/template-elements- This reply was modified 5 years, 2 months ago by Code Amp.
Ah yes, that’s a bug that’s on our todo list, I forget it’s there sometimes because my test site pretty much has images on everything :/ I’ll try to make sure this gets in the next update.
Also, would it help if the template editor remembered the last preview post type selected? (feel free to let me know if you find any other bugs / things that are hard to use)
And thanks yes, our homepage does look better now! 🙂
Best
Hey @sarkanyjudo
If you click on the featured image (to bring up the inspector panel in the sidebar)
You will see an option to choose “image source size” – here you can choose to use different sizes for your templates to improve the quality.
On our homepage, I’ve just updated that example, to use “medium_large” image size instead of “medium” – does that look better to you? (just cleared our server cache so it might take a minute to show up) 🙂
Best
Great stuff – let us know if anything else comes up.
Forum: Plugins
In reply to: [Custom Layouts - Post + Product grids made easy] Custom FieldThe post type element just landed in 1.3.1 🙂
As of v1.3.1 – custom fields now have a “HTML” type – which will utilise the field as you wanted.
We also added this to the preview in the admin area 🙂
v1.3.1 has just been released which has a fix for this 🙂
Forum: Plugins
In reply to: [Custom Layouts - Post + Product grids made easy] Custom FieldThat’s a good idea, I’m thinking on how to setup a feature requests section for this plugin… A few things I need to get done first though (like the docs!)
Forum: Plugins
In reply to: [Custom Layouts - Post + Product grids made easy] Custom FieldHi @thales007
So I’ve had a look into this.
I think you are using a Plain Paragraph Text field or the WYSIWIG editor? And I’m assuming you see those
<p>tags in the admin layout editor too?I’ve realised that PODs is in fact adding markup (by nature of the field you’ve chosen) – so the issue is, that we were escaping all output as if it was plain text.
I’ve just updated the plugin (my dev version only) to allow for custom html on the frontend, so this will work in the next update.
The only issue is right now I’m not sure how to render that html in the admin area for an accurate preview, you’ll have to live with seeing the code there for now :/
Best
- This reply was modified 5 years, 2 months ago by Code Amp.
I think this is a cool feature to add – I’ll put this on roadmap – not sure how long it would take to implement yet though…
I’ll get back to you once I’ve had a better think on this – we’re prioritising a few other features at the moment but still fleshing those ideas out.
Ah yes, this is reproducible – I’ll look into and get back to.
Hey @thales007
It’s looks like wpautop is getting involved.
Can you tell me a couple of things about your setup:
1) How you are creating your layout, via our admin page (with shortcode) or the block editor?
2) Is this added to your page via the block editor/classic editor/page builder?
3) And how are you creating your custom field, via standard WP custom fields, or a plugin? (eg, ACF/PODs)Hopefully I can replicate this and fix – an update is due out on Monday.
Thanks
- This reply was modified 5 years, 2 months ago by Code Amp.
Forum: Plugins
In reply to: [Custom Layouts - Post + Product grids made easy] Shortcode in excerptHey @degn
Glad to hear you’re setup ok.
I did double check this, and it looks like by default, the excerpt does not execute shortcodes – so we’ll be respecting that and leaving it as is.
However, I did find this snippet which should allow shortcodes in excerpts should anyone need it:
https://wordpress.stackexchange.com/a/42745/37783Best
– Ross- This reply was modified 5 years, 2 months ago by Code Amp.
Forum: Plugins
In reply to: [Custom Layouts - Post + Product grids made easy] Shortcode in excerptHi degn
I’m going to have a look into this.
We should support the default WP behaviour, so I’ll test, and make sure we are aligned with that.
I’ll likely have an update about this later on today or tomorrow.
Thanks