Creative Themes
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Blocksy] Function returns NULL type for blog/search pagesHi @zax007,
Thanks again for the reply.
1. Yes, correct, both actions will have
$typeas they argument
2. Why you call this action if the element itself is not present on the page? If you need to put something even if hero isn’t present, you need a more higher level action, not the one tied to that element.
3. Disabled means fully removed from HTML
4. I totally understand your concern about default values, but in your case you were already playing with the framework internals. And when you start to do that, you need to take care of doing things exactly like the framework is doing. You can copy a half solution and then hope everything will just work.I hope this makes sense.
Forum: Themes and Templates
In reply to: [Blocksy] Function returns NULL type for blog/search pages@zax007 Thanks for your reply.
1, 2. If
blocksy_get_page_title_sourceis null then you can be sure that the page title is disabled. Ifblocksy_akg_or_customizer('hero_section', blocksy_get_page_title_source());returns null, then this means that the valuehero_sectionis not present yet in the resulting array (user didn’t make any changes to that option) so you need to supply the default. This is not pure guessing, this is how the Blocksy’s options system works. If you want your custom code to work correctly, you need to respect these rules, this was done so to not compromise on performance issues.
3. Yes,blocksy:header:afterwould be also covered by this change, you’ll be able to access it as an argument so you don’t have to go through the hassle of computing it yourself. If the hero is disable, this action won’t be called at all obviously. This change will be available in the next release, if you need it earlier — please let me know.Hope this makes sense.
Forum: Themes and Templates
In reply to: [Blocksy] Function returns NULL type for blog/search pagesHi @zax007,
Sorry for the delayed reply.
It’s totally normal that you get
nullin response for this function. First of all, you need to understand thatblocksy_get_page_title_source()function is dependent on the current page and it returnsnullif the page title is disabled for the page you’re currently on.That is, before attempting to even call
blocksy_akg_or_customizer, you need to make sureblocksy_get_page_title_source()is non-null.
Also,blocksy_akg_or_customizer()has a 3rd argument, which is absolutely needed to cover all the cases — the default value.
If you’d look ininc/components/hero-section.php, we provide a correct default value when attempting to compute the hero type (type-1ortype-2):$actual_type = blocksy_akg_or_customizer( 'hero_section', blocksy_get_page_title_source(), $default_type );—
But, to make things easier for you, we could supply the hero type as an argument to the
blocksy:hero:afteraction, so you don’t have to compute it yourself.Please let me know if this sounds good and I’ll prepare this small improvement for the action for the next update.
Sorry again for the delayed reply. All the best!
- This reply was modified 3 years, 10 months ago by Creative Themes.
- This reply was modified 3 years, 10 months ago by Creative Themes.
Forum: Themes and Templates
In reply to: [Blocksy] Function returns NULL type for blog/search pagesHi @zax007,
We received your request, please be patient, we will reply as soon as possible.We are giving more importance to real support tickets and reply to feature request once we have time.
Hope you will understand me right.
- This reply was modified 3 years, 10 months ago by Creative Themes.
Forum: Reviews
In reply to: [Blocksy Companion] ExcellentHi @ruianacleto,
Thank you very much for your kind words 🙂Forum: Themes and Templates
In reply to: [Blocksy] Not option to full width in pagesHi @prabuddh09,
Please note, you don’t have to share the credentials of your site in a public forum, that is agains WordPress forums rules.
Forum: Themes and Templates
In reply to: [Blocksy] Not option to full width in pagesHi @prabuddh09,
Could you please share a link to the page where this happens?Forum: Themes and Templates
In reply to: [Blocksy] Breadcrumbs below hero section using hooksHi @zax007,
Could you please share a link to your website so we could see the result you are getting?Forum: Plugins
In reply to: [Blocksy Companion] php function is_readable bug@crewstyle thanks for the reply. That one has a good value too… Very strange…
Is the Olympus framework that you mentioned public? How can we test it on our end?
Or, if you could do a minimal setup in LocalWP and send us over an export of the setup with reproduction, we’ll take care of the fix from the Companion side.Waiting for your reply and thanks again for your messages!
Forum: Reviews
In reply to: [Blocksy] Blocksy Is Super Fast!@errorbook, thank you very much for your kind words, we are really glad that you like our theme 🙂
Have a wonderful and productive week!
Forum: Plugins
In reply to: [Blocksy Companion] php function is_readable bugHi Achraf,
Thanks a lot for the research that you’ve done.
If
BLOCKSY_PATHhas a good value, then, most likely, theread_installed_extensions()method gets anullfrom somewhere. Can you please post here the output ofglob($single_path . '/*', GLOB_ONLYDIR)from this method? We will see which of the returned values cause the issue with trying to read theconfig.phpfile of the extension.I’m thinking there is a small miss (like an empty directory or an unusual file) in your filesystem that is breaking the extensions discovery mechanism that we use.
If you could dig a little deeper in this direction and post your findings, that would be great.
Of course we can just blindly add theis_null()check, this is not hard, but first we want to understand the situation that we are dealing with.Also, besides that, could you please reach out at
hq at creativethemes dot com? We have a small proposal for a potential colaboration between us.Thanks and looking forward to hear from you soon.
Forum: Plugins
In reply to: [Blocksy Companion] Demo importer bugsHi Achraf,
Thanks a lot for the feedback and for going into details.
Both of these are confirmed and we will have a fix for them in the next public release.Thanks again and have a great day!
Forum: Themes and Templates
In reply to: [Blocksy] How to use this areaForum: Plugins
In reply to: [Blocksy Companion] Quick View issueHello @larsvonhierblau,
That’s weird, everything works fine on our end, no errors in the console.Could you please share your website url so we could take a closer look at your setup?
Forum: Themes and Templates
In reply to: [Blocksy] Lazy load does not work after updatingI understand what do you mean now 🙂
Well, in past we had our own lazy load functionality and we where able to add a CSS transition/animation to all images that are in the process of lazy loading.
In the previous update we got rid of our solution and implemented the WordPress native lazy loading functionality because it has already a very good support in all browsers.
The only thing is that the WordPress native lazy loading doesn’t have a transition applied to all images while they load, but this doesn’t mean that your images are not lazy loaded 🙂If you will take a closer look at your website source code, you can see that all images have an attribute
loading="lazy", please see this video – https://d.pr/v/lUBbHpSo, to sum up, everything works like it should, the only thing is that there is no image animation when the image is loaded, but that’s not a problem from our side, this is how WordPress lazy load works.
Hope this makes sense.