Code Amp
Forum Replies Created
-
Forum: Plugins
In reply to: [Search & Filter] Not translatableTotally, our next version is translation ready 🙂
Hey @mtosh that’s awesome thank you for sharing!
I think I’ll do a write up of that and add it to our docs (until we add the other features to natively support icons 🙂 )
Best
Thanks for the review Ade, it is much appreciated 🙂
Forum: Plugins
In reply to: [Custom Layouts - Post + Product grids made easy] Binary Values Checkbox?Hey Ade!
So its not an option within the UI, but with a bit of coding, you would be able to do this.
How are you with WP hooks?
I would use this filter here –
custom-layouts/element/render_output:
https://customlayouts.com/documentation/action-filter-reference/#elements-render_outputAnd modify the output, by replacing
>1<with>Yes<using the php functionstr_replace– https://www.php.net/manual/en/function.str-replace.phpBest
This has been fixed in the latest update (1.4.1) + a new option to disble this text completely.
Best
Forum: Plugins
In reply to: [Custom Layouts - Post + Product grids made easy] Cannot Add Custom TaxonomyNo problem Ade – glad this issue is sorted!
BTW, if you feel inclined (no worries if not), a review from you would be lovely
https://ww.wp.xz.cn/support/plugin/custom-layouts/reviews/Best
Forum: Plugins
In reply to: [Custom Layouts - Post + Product grids made easy] Hide on Mobile?Hi Ade
That’s a great idea – I was thinking to add something like this – no idea how to add it in just now, but a great feature to add.
The roadmap is pretty stacked at the moment, so there won’t be any movement on this for a while, but I’ll keep this ticket open and get back to you further down the line.
Best
Forum: Plugins
In reply to: [Custom Layouts - Post + Product grids made easy] Excerpt not linking to postHey @maho1569
I think we got confused – 1.4.0 was released just before I mentioned making changes – so it wasn’t in there!
However, I’ve just release 1.4.1, and these fixes are in there.
I decided to do a bit of a u-turn, and I kept the theme functionality of adding “read more” text (and fixed the link), but I also added an option to disable it, from the excerpt element in our plugin 🙂
Let me know how you get on.
Best
– Ross- This reply was modified 5 years ago by Code Amp.
Forum: Plugins
In reply to: [Custom Layouts - Post + Product grids made easy] Cannot Add Custom TaxonomyHey @adeparker
Just to let you know we’ve just pushed a release with this fix in.
RE where does it look, our plugin just asks WP for the label (using a WP function) – I assume that is in one of columns of the taxonomy tables.
I’ll close this for now then.
Best
– Ross- This reply was modified 5 years ago by Code Amp.
Forum: Plugins
In reply to: [Custom Layouts - Post + Product grids made easy] Alt Text StatusHey @erdemozden
Just to let you know we’ve just pushed a release with this fix in.
I’ll close this for now then.
Best
– RossHey @mtosh
Just to let you know the official udpate just landed, feel free to upgrade – you probably won’t notice much difference.
Regarding your suggestion – absolutely – we’re planning on supporting the full block library at some point – so the idea is, you could create a “row”, add in your icon, and add in your template element next to it.
For now though, you could try adding icons with CSS as outlined in this post:
https://ww.wp.xz.cn/support/topic/dash-icon-before-taxonomy/#post-14376048I’ll close this ticket for now then!
PS, I’m trying to get feedback and reviews for this plugin – yours would be most appreciated if you are so inclined – https://ww.wp.xz.cn/support/plugin/custom-layouts/reviews/#new-post
Best
– RossHey @mtosh
We’re still testing/tweaking a few things to do with this update so won’t be releasing just yet.
If you’re interested you can grab the beta from here (which has the comment count element): https://drive.google.com/file/d/1PSVawXeqjYXncy6Qc3MfB9B_jRdT_IB1/view?usp=sharing
Best
@mtosh just to let you know we’re nearly finished building this and shortly on to testing – I think we will release it tomorrow.
Best
Forum: Plugins
In reply to: [Custom Layouts - Post + Product grids made easy] Cannot Add Custom TaxonomyHey @adeparker
Thanks for all the detailed info!
So yeah I can see the issue from your great debugging.
As we cycle through your available taxonomies, we reach a taxonomy called
post_statusand itslabelis defined as false…All your other taxonomies have a label, so don’t fail at this step just this one.
I’ve just added a “fix” to our plugin (so at least it doesn’t throw an error), so that if a taxonomy doesn’t have a label, it doesn’t get shown.
You can test this yourself by changing the offending line:
return t.label.toLocaleLowerCase() === e.toLocaleLowerCase()to:
return t.label && t.label.toLocaleLowerCase() === e.toLocaleLowerCase()However, I think the real question is, what is this taxonomy? Strange it is called
post_status…Anyway let me know how you get on with this workaround for now, and lets see if we can identify the root of this issue.
Thanks
Forum: Plugins
In reply to: [Custom Layouts - Post + Product grids made easy] Cannot Add Custom TaxonomyHey @adeparker
So I managed to take a look at this. Odd thing is, on my first go it seems to work – typical! :/
I’m wondering, perhaps a setting in the taxonomy field is throwing this off.
I would check all the settings and make sure they have sensible defaults.
Based on the error message I would check:
1) Labels -> Label + Singular Label are both filled
2) Advanced -> Public is tickedHere are my test setting that worked:
https://drive.google.com/file/d/1o3w2Ja-St2Gbfv4Z6Q0118RTHwxuhP0g/view?usp=sharingHappy to take a look at your setup to see if I can spot anything?
Best