Forum Replies Created
-
AuthorPosts
-
Hi Ismael,
Thank you again for your valuable help!The provided code partially fixes the issue: it does enable the comments, but it no longer takes into account the enable/disable comment settings in the page options. I asked ChatGPT to complete your solution, and I’m sharing it here:
function av_remove_parent_filters() { // Remove the filter that disables comments on ALB pages remove_filter('comments_open', 'av_comments_on_builder_posts_required'); } add_action('after_setup_theme', 'av_remove_parent_filters'); add_filter('comments_open', 'custom_comments_open_check', 9999, 2); /** * Check if comments are enabled for the current post. * * @param bool $open Whether comments are open. * @param int $post_id The ID of the current post. * @return bool Returns true if comments are enabled, false otherwise. */ function custom_comments_open_check($open, $post_id) { // Check if the post type supports comments if (!post_type_supports(get_post_type($post_id), 'comments')) { return false; } // Check if comments are enabled for this specific post if ('open' === get_post_meta($post_id, '_comments_status', true)) { return true; } return $open; }
It’s work for for me!
Thanks again for your time and assistance,
You can close this ticket as it is now resolved.
Best regards,
MarcHi Ismael,
Thank you for taking the time to find a solution to my issue!Unfortunately, the problem is not resolved:
I have indeed added the filter to the functions.php of my child theme as you instructed, and it correctly activates the comment options for the alb_customs_layout. So, I enabled comments for all my alb_customs_layout, but the comments are still closed on my page from the visitor’s side!You can see it for yourself with the private access I gave you (check the “Page B”).
Thanks again for your help and research!
Regards,
MarcJanuary 3, 2025 at 12:02 pm in reply to: Issue with alb_custom_layout and dynamic background image on section color #1474519Hello Mike,
Thank you for your clarifications. I’m adding this fix to my child theme!
You can close the topic; my issue is resolved.Thanks again for your help!
Best regards,Marc
January 2, 2025 at 12:16 pm in reply to: Issue with alb_custom_layout and dynamic background image on section color #1474475Hello Mike,
First of all, I wish you a happy and prosperous New Year 2025!Thank you for taking the time to look into my issue and find a solution!
It seems to be working well.Do you think this fix will be integrated “natively” into an upcoming theme update, or will I need to apply this fix to my child theme?
Thanks again for your help.
Best regards,
MarcDecember 23, 2024 at 5:20 pm in reply to: Issue with alb_custom_layout and dynamic background image on section color #1474189Hello Mike,
Thank you for taking the time to look into my issue. Unfortunately, your response came a bit late, and I had to find a functional workaround for this site, which belongs to a client I needed to deliver to quickly! I no longer use dynamic page content for the headers of my pages, which bypasses the issue but does not resolve it.
That said, the problem still exists, and I’ve set up a sandbox site with a reproduction of the issue.
I’ll send you the access details in a private message.
Thanks again for your help, and I hope you have a wonderful holiday season!
Best regards,
MarcHi Ismael,
I’ve the same issue with WP 5.6, Enfold 4.7.6.4 and ONLY on Chrome Version 87.0.4280.67 for Mac OS. All scroll animation are “slow” (no ease-in / out effect).
This issue don’t appear on Safari or Firefox for meTry the links of @jvingerhoets in Chrome please,
Marc
May 5, 2020 at 3:50 pm in reply to: Disable fade inout on mega menu, Enfold 2020 version (4.7.XX) #1210001Hi Yigit,
Thanks for this tips, it’s work now.
Thanks to Victoria too!May 5, 2020 at 11:44 am in reply to: Disable fade inout on mega menu, Enfold 2020 version (4.7.XX) #1209892Hi Victoria,
Thanks, but no effect when i edit this file. I’ve try to set all “300” occurrences to “0” on many line in file (line 11, 26, 135, 154).May 14, 2019 at 2:07 pm in reply to: Comeback of topic 'Problem with footer page and bbpress (displaying shortcodes)' #1100537Yes! I think it’s all good ;)
Thanks again for your help and your patienceRegards,
MarcMay 14, 2019 at 1:30 pm in reply to: Comeback of topic 'Problem with footer page and bbpress (displaying shortcodes)' #1100530It’s works!! …but not on forums root :D (see in private)
One more little thing?
Thanks again for your help
Regards,Marc
May 14, 2019 at 11:10 am in reply to: Comeback of topic 'Problem with footer page and bbpress (displaying shortcodes)' #1100464Hi Günter,
Your Git is empty (only a comment? It’s normal?) and so it don’t work!Thanks for your help,
Regards,
Marc,- This reply was modified 5 years, 8 months ago by Octopus4444. Reason: Add another view with broken footer (link in private)
May 9, 2019 at 12:01 pm in reply to: Problem with footer page and bbpress (displaying shortcodes) #1098882Hi Günter,
It’s works! You’re the best ;)
Do you think this solution will be integrated in an upcoming update?Thanks again for your help!
Regards,
MarcMay 7, 2019 at 2:16 pm in reply to: Problem with footer page and bbpress (displaying shortcodes) #1098077Hi Günter,
No problem, keep me informed as soon as the patch is availableRegards,
MarcMay 3, 2019 at 1:04 pm in reply to: Problem with footer page and bbpress (displaying shortcodes) #1096890Hi Günter,
Thanks for your help, unfortunately this solution does not work…
See in private this issue.
You can recreate the same issue with Enfold + BBpress + Footer is a page. You can too use my install for testing (see in private the access).Thanks again
Regards,
MarcApril 25, 2019 at 12:18 am in reply to: Problem with footer page and bbpress (displaying shortcodes) #1094220Hi Basilis,
I think you need a backend access (admin and FTP)? I can’t do this for this dev site, but I’ve setup another dev website with the same issue.
See in private the access (you’re admin on it).Sorry for the counter-time … I hope you can help me!
Regards,
MarcApril 22, 2019 at 11:02 pm in reply to: Problem with footer page and bbpress (displaying shortcodes) #1093430Hi Basilis,
I’m on WordPress 5.1.1- Enfold theme – Version Theme : 4.5.6
- BBpress – Version 2.5.14
- PHP version 7.2.15
I use the “Select a page to display as footer and socket” in my panel Enfold
Thanks for your help!
MarcApril 17, 2019 at 11:25 am in reply to: Change grid post by masonry grid post on Portfolio categories archive page #1091919Hi Victoria,
I understand, no problem.
I’ve customised the css of the default grid post on portfolio archive page and it’s fine.
Maybe an integration in a next update (choose different template for this archive pages :D )?Thanks again for your time!
Marc – Winsiders
April 15, 2019 at 11:28 am in reply to: Change grid post by masonry grid post on Portfolio categories archive page #1090923Hi Victoria,
I try this solution, but isn’t work for Portfolio taxonomy… Maybe because this taxonomy don’t use the same archive page? For the portfolio category, Enfold use taxonomy-portfolio_entries.php, not archive.php.Can you help for adapt this solution for the Portfolio category? If you look this page structure, the code is different than archive page for the post grid.
PS: your iframe is’nt show correctly (I see a blank square and I inspect the code for follow your link and see the topic https://kriesi.at/support/topic/how-to-change-category-tag-archive-etc-pages-to-look-like-avia-masonry-grid/, i’m on Chrome on Mac)
Thanks again for your help
Marc – WinsidersHi Basilis,
Thanks for your answer, but if a hook or filter are not the solution (I understand that), Josue say “rewrite all Mega menu function in function.php child theme with conditional” se this answer topic : https://kriesi.at/support/topic/show-description-along-with-link-on-mega-menu/#post-418985Can you help me for this solution?
Thanks again for your help and time!
Marc
Hi Ismael,
Thank you very much for your help! It’s works perfectly now!Just for know, it’s an unique issue for this website installation or it’s a “bug” of Enfold? You include a patch for the next Enfold version?
Thanks again for your help!
Marc
Hi Rikard,
Yup see access in privateThanks for your help
February 22, 2017 at 10:20 am in reply to: Add CSS Class when Submenu become fixed (sticky) on scroll (not in avia.js) #750368Thanks Yigit!
I understand no problem ;)I’m waiting to see the new Enfold version!! :D
Marc – Winsiders
February 21, 2017 at 10:18 am in reply to: Add CSS Class when Submenu become fixed (sticky) on scroll (not in avia.js) #749853Hi Yigit,
Thanks for your help!
I take your solution, it’s good for the moment ;)Do you think it’s possible to implement with Kriesi a native fixed class on scroll on submenu in next Enfold update?
Marc – Winsiders
December 14, 2016 at 10:03 am in reply to: Error if you choose shop page woocommerce at home page #724188OK thanks,
Do you think you will update enfold theme with this correction ?
Regards,Hi Yigit,
Thanks for your help, it’s “work”! :)
-> I add many custom CSS line for hide the main header on my home page but it’s the good result!Thanks again for your help, it’s done
Marc – Winsiders
- This reply was modified 8 years, 9 months ago by Octopus4444.
I have tying your code he doesn’t work on my site :/
Do you add any shortcode in your test-page? Can you give me a screenshot of your result?See in private the FTP access / WordPress Access
Hey Yigit,
Thanks for your help, but it’s not the answer of my problem :/ (I try your solution but i think is not the good answer).
I give a picture for more precisions (see in private).Thanks again for your time
Marc
Andy?
Hi Andy,
Thanks for your answer follow the private link.March 23, 2015 at 12:41 pm in reply to: Problem Boxed site background and new minimal header Enfold 3.1 #416340Hey Ismael!
You’re the best, it’s work!Thanks for your help.
Marc – Winsiders
-
AuthorPosts