Code Amp
Forum Replies Created
-
Forum: Plugins
In reply to: [Search & Filter] Still active ? Because searchandfilter.com is brokenHi @ultramega + @faboulousfab31
Apologies, we don’t check these forums very often.
We had some issues with our site for a couple of days after performing some major updates but that should all be resolved now.
Let me know if you continue to have issues and I’ll make sure you get setup/renewed.
Thanks
Hey @gamicord
To answer your questions:
1. Currently we do not have a way to use the archive query itself – we create a custom query instead – we hope to add this as a feature in our next major version
For now you can use the Query Builder options in our layout panel as described at the bottom of this page:
https://customlayouts.com/documentation/layouts/2. This will be possible, but it requires custom CSS – if you can write CSS then you’ll be able to achieve this – there is no option in our plugin to do this
2b. Currently we cannot put the categories on top of hte featured image.
However, they are displayed inline, at the position you place them in your template.
3. Yes, we have a shortcode to add a layout to Elementor.
I hope that helps.
Best
Hey @chillmen
This plugin won’t be able to “figure out” the related posts itself.. however if you have a way to do that , then you could dynamically pass in the desired Post IDs into the layout.
It would require some PHP knowledge though – the idea is you would use a hook to modify the query that is run –
custom-layouts/layout/query_args
More info here: https://customlayouts.com/documentation/action-filter-reference/
What you would need to then do is update the
post__in
key to the IDs you want to show, eg:$query_args['post__in'] = array( 1, 2, 3 );
This would show posts with the IDs
1
,2
and3
I hope that helps!
Thanks
Forum: Reviews
In reply to: [Custom Layouts - Post + Product grids made easy] ExcellentThanks for the info @chillmen !
Forum: Reviews
In reply to: [Custom Layouts - Post + Product grids made easy] ExcellentThank @chillmen !
A question if you don’t mind – are you using the shortcode because our blocks don’t work in FSE?
I’m planning to look at FSE integration soon but it’s been a while since I looked at it!
Thanks
Hey @alfy40
We don’t display shortcodes in excerpts intentionally.
We tried to follow the way WP does this, and usually in a post list / archive, excerpts don’t process shortcodes.
I will see what we can do to support this – we could add a filter so you can enable this via your themes functions.php instead of modifying our plugin directly.
Need to think about this some more, and will let you know towards the end of the week.
Thanks
- This reply was modified 2 years, 4 months ago by Code Amp.
Forum: Plugins
In reply to: [Custom Layouts - Post + Product grids made easy] Display Number of resultHey @lajd
We don’t have an option for this right now, but we might have some code to do this (need to double check with the team)
I’ll get back to you as soon as I can and let you know if I’ve managed to find anything.
Thanks
Hey @momentumrising
Right now the only option we have for this is for columns (you can change the number of columns depending on the device)
Let me know if you’ve seen this?
Aside from that you’ll probably have to create two layouts (if you want completely different layouts) and show / hide the correct one based on if its mobile or not.
Thanks
Hey @matsiemaal
We do have an integration for Search & Filter plugin (we are the same team, and built both plugins!)
You can check how to integrate them here:
https://searchandfilter.com/documentation/search-results/custom-layouts/??
Great stuff, glad you are setup ??
Thanks for that.
I currently have one idea as to what it could be related to:
– I can see when I look at the code, the template (in your layout), has an ID of
0
– which means its using the default template settings (not your customised template).1. Can you check, in your layout, that you have chosen the correct template from the dropdown?
https://snipboard.io/SFRoJ3.jpg
Assuming that is correct, then I would try the following:
2. Create another template (with a new name), and try selecing the new template in your layout instead.
Let me know how you get on.
Thanks
Do you have a link I could look at?
It sounds like it could be a CSS generation issue (we create a CSS file after saving your layout).
In our settings screen, we have a “rebuild CSS” option – can you try that, and also let me know what it says the status is?
Thanks
Hey @momentumrising
What you need is the “posts layout” block…
Try having a look and see if that is installed?
Thanks
Marking this as resolved while we continue in the other support chat.
As discussed the issue was not strictly with the latest update ??
Best
I’m going to mark this as resolved for now, let me know (and re-open) if you want to go down the slightly complicated PHP route!
Best