Code Amp
Forum Replies Created
-
Forum: Plugins
In reply to: [Custom Layouts - Post + Product grids made easy] Modify color paletteHi Sallie – I would assume the above would work.
A couple of questions if you don’t mind:
– Which theme you are using?
– Also, does the theme provide its own colour palette, or do you need to register all the colours yourself? (ie, the theme does not have built in theme support for color palettes)Thanks
– RossHey @jlop77
Do you mean the heading element?
You can add custom styles by using rules like this (we’ll be making it simpler in that update):
.cl-template .cl-element.cl-element-title { color: #f00; font-family: "Times New Roman", Times, serif; }If you have the title linking to the post, you would need to use this instead:
.cl-template .cl-element.cl-element-title a { color: #f00; font-family: "Times New Roman", Times, serif; }*There is an addition
ain the CSS rule.Let me know if that works for you?
Best
- This reply was modified 4 years, 10 months ago by Code Amp.
Hey @jlop77 – yeah we are a bit behind on this release – should be another month or two.
Sure fire over what you need to do regarding CSS and I’ll try to advise – just to note – we are unable to offer writting custom CSS in general – but hopefully I can give you a good point in the right direction.
If you have a URL that would be handy too.
Thanks
Forum: Plugins
In reply to: [Custom Layouts - Post + Product grids made easy] Install without ftp?Hey @barthuis
Thanks for the detailed info.
After looking through other tickets of a similar nature, the best bet I can see is that a configuration issue on the server is causing WP to try to trigger this mode, when it should not (specifically when a plugin like ours is using
WP_Filesystem)However, it looks like some other plugin authors have managed to work around this.
I’ll try see if we can achive something similar, but its going to be next week before I can have a proper look at this – probably not an ideal scenario when testing out a new plugin I know!
I will update with my findings next week.
Best
– RossForum: Plugins
In reply to: [Custom Layouts - Post + Product grids made easy] Install without ftp?Hey @barthuis
Sorry to hear you’re having troubles.
That is most odd, we use a WP function for creating a CSS file in your
/uploadsfolder.If your site doesn’t have that write access or FTP access, then we will load the CSS in your pages.
In any event, an error should not be thrown, because all cases should be handled :/
This sounds like it might be an issue with this particular function in WP, and your environment (I can only guess at this stage).
Some things I would do (and please let me know answers to see if I can help more)
1 – What version of WP are you, can you update to latest?
2 – Are your plugins out of date, can you update them to latest?3 – Are you on a shared host?
3 – When you add other plugins, do you have similar issues?
4 – The error message, is it on activation (preventing actual activation)? Could you share a screenshot?Some similar / related issues I found that I’m reading through at the moment:
https://ww.wp.xz.cn/support/topic/ftp_nlist-expects-parameter-1-to-be-resource-null-given/#post-13864001
https://ww.wp.xz.cn/support/topic/ftp_nlist-and-ftp_pwd-error/
https://wordpress.stackexchange.com/questions/365737/ftp-nlist-and-ftp-pwd-warnings
https://wpml.org/forums/topic/warning-ftp_nlist-expects-parameter-1-to-be-resource-null-given-in-var-www/Thanks
- This reply was modified 4 years, 10 months ago by Code Amp.
Thanks so for the kind words Valerie! Glad you are all setup 🙂
Forum: Plugins
In reply to: [Custom Layouts - Post + Product grids made easy] Checkfield List RenderHey Marian
I think what you will need to do is use one of our filters to change the output of one of the elements in your template.
How are you with a bit of coding?
I can give the outline of what you would need, I assume metabox has some functions for displaying the values?
Best
So glad it worked out for you 🙂
Hey @divydovy , my install was just a clean install with the Custom Layouts plugin (and S&F).
In the gif, you can see me creating the first custom template, mostly default settings.
Why don’t you create a temp site here to show me the issue (first one is free I think, and doesn’t require sign-up)?
tastewp.com
I’ll then be able to tinker with this to.find out the issue (I’m keen to resolve!)
Best
Best
Also, try
get_the_ID()inside this hookcustom-layouts/element/render_outputand let me know if it works for you?In regards to the filters – you can find them here:
https://customlayouts.com/documentation/action-filter-reference/The one you probably want is this:
custom-layouts/element/render_outputThis allows you to completely replace the HTML of the element.
- This reply was modified 4 years, 10 months ago by Code Amp.
Hi Valerie
Just before I double check this, are you on the latest version (1.4.2)?
I believe in a recent update we made these vars available in our loops – if not then I will need to track down a bug it looks like :/
Thanks
- This reply was modified 4 years, 10 months ago by Code Amp.
Hi Valerie
If you use one of our filters to modify the output of an element, you should be able to get the post ID by doing (recommended):
get_the_ID()?Otherwise, this should work:
global $post; $post->ID; // this is the varLet me know how you get on 🙂
Best
- This reply was modified 4 years, 10 months ago by Code Amp.
Forum: Plugins
In reply to: [Custom Layouts - Post + Product grids made easy] Message no product foundHi Silvia
This looks like an issue with the S&F ajax settings.
Please get in touch with S&F support on how to configure those options 🙂
Best
Hey @divydovy
I’ve had a chance to go through and test but can’t replicate your issue.
I’m probably doing something different so maybe a peek at my setup might help?
https://drive.google.com/file/d/19XMuGUg2QaJtDvh779ONnphu_LMlMIV0/view?usp=sharingIf you could send a recording of your setup and how it works that might guide me in the right direction? Otherwise, recreating the issue on another environment we can both access might be the best way forward…
A couple of questions:
1) Can you recreate the issue with Search & Filter disabled? (my guess is yes)
2) Is this on a clean install? Can we try reverting to a default theme + disable other plugins to verify?Re wp_reset_query – we don’t actually use functions like
the_post()for going over our loops – exactly to avoid the kinds of messes created by missuse of these functions.We do however, store the results of the query in WP transients, for faster loading.
To bypass this (for testing) you can add this to wp-config:
define( 'CUSTOM_LAYOUTS_DEBUG', true );This only disables the internal plugin caching (for now).
Let me know your feedback on the above!
Best