Forum Replies Created
-
AuthorPosts
-
Thank you, that’s useful to know. It’s a client project so I will forward your suggestions and see what they want to do.
Yes, please close this thread.
Yes, unfortunately, that is the plugin I have to use.
They are already implementing ob_start() but I guess it is in the wrong way or wrong place. They do not answer support requests so I will just have to live with the issue for now.
Thanks again, appreciate your help.
Thanks Rikard. Unfortunately this is the only plugin that performs this specific task so I can’t use a different one.
I’m using the latest version of the theme – updated yesterday.
Hello, I have to revisit this issue. To remind you, the DocCheck plugin restricts access to certain pages. I am currently logged out on every page load.
[21-May-2023 08:10:13 UTC] PHP Warning: Cannot modify header information - headers already sent in /home/mysitex/public_html/wp-content/themes/enfold/includes/helper-privacy.php on line 406
As the line above suggests, this is related to Enfold cookie handling. If I disable cookie consent messages in Enfold then I can browse pages without having to login on every page load. When I enable cookie consent messages, the login status is not remembered and I have to login on every page page load. It does not make a difference if I accept of reject cookies.
My cookie consent setting is “User must accept and must opt in, only essential cookies selected”
This line:
[21-May-2023 08:10:07 UTC] PHP Warning: session_start(): Session cannot be started after headers have already been sent in /home/mysitex/public_html/wp-content/plugins/doccheck-login/includes/class-dcl-base.php on line 304
Relates to this code:
session_start( [ 'cookie_lifetime' => 86400, 'read_and_close' => true, // READ ACCESS FAST ] );
Any ideas how I can keep using cookie consent but avoid the headers related warning messages so DocCheck stays logged in?
Thank you very much
Sorry for not spotting the difference and for the slow reply. Your code works and now I can successfully use the Post Types Order plugin to order posts.
Thanks
Thanks Mike but that’s literally exactly what I said I already tried and isn’t working.
Any other ideas?
Hi, we’re seeing the same behaviour. I have tried Post Types Order and Intuitive Custom Post Order but neither make a difference when using Post Slider or Blog Posts elements.
I’m not in a position to try this with a clean install but plugins and theme are all up-to-date.
I tried using the code snippet from here replacing ’tilte’ with ‘menu_order’ (the column Intuitive Custom Post Order uses for ordering) but still no difference.
add_filter('avia_blog_post_query', 'avia_modify_post_grid_query_desc'); function avia_modify_post_grid_query_desc( $query ) { $query['orderby'] = 'title'; $query['order'] = 'DESC'; return $query; }
Should the ordering plugins be working? Any ideas why they might not be?
Thanks
Thanks Rikard. Yes logged out on every page. I will try to run some further tests to determine if Enfold is impacting the plugin operation.
May 16, 2023 at 11:11 am in reply to: Undefined array key “key” in class-svg-shapes.php on line 515 #1407546Thanks Günter, much appreciated.
May 16, 2023 at 10:45 am in reply to: Undefined array key “key” in class-svg-shapes.php on line 515 #1407534Details in private
That’s very helpful, thank you Ismael.
Perhaps a mechanism to allow the user to filter blog post categories could be considered for future Enfold update.
Thanks again
Thanks Ismael
You mention “extend the functionality of the blog posts element”, is there a hook I can use to achieve that? I can probably do the development myself but would be good to know what options are available (if any)?.
Thanks
July 15, 2022 at 5:17 pm in reply to: Enfold not seeing available theme update on one site only #1358524Installed the market plugin.
Plugin recognised a later version of theme available.
Used plugin to try and update.
Plugin then reported ‘Updating failed The theme is at the latest version
Now Enfold ‘Theme Update’ panel shows an update is available
Use update now button
Update workedSo this is resolved for now but we’ll see what happens with the next Enfold update.
Thanks for your help. Good to know about the Envato plugin.
This reply has been marked as private.Thank you. I don’t believe your proposed solution is GDPR compliant so doesn’t address my issue. I think Enfold would benefit from greater control over cookies with an option to define if a custom cookie is essential and therefore prevent Enfold from acting on it.
To solve my issue I switched from using a cookie to sessionStorage. I would prefer more end user control but at least my site now works as expected.
Thanks
I don’t think the docs answer my question. I asked how to stop enfold from blocking an essential custom cookie. If this is answered in the docs could you please explain because the docs aren’t clear.
Thanks Victoria. Site provided in Private Content but the function I added removes the offending CSS so the error is no longer present. If my report is unclear please let know what else I can tell you.
January 28, 2020 at 1:24 pm in reply to: Stop Background-Video at last frame and keep showing it #1178993I’m also looking for a way to achieve this. I have a color section with a video background that, using the various solutions mentioned in these forums no longer loops but disappears completely when playback completes. I need it to stop on the final frame.
Any solution for this yet?
Thanks
A bit late but in case it helps someone in the future this was my solution:
$('svg.org-chart a').on('click',function (e) { e.preventDefault(); var $existingTab = $('.active_tc'); var existingTabHeight = $existingTab.height() || 0 ; if (existingTabHeight) { var existingTabPosition = $existingTab.offset().top; } else { var existingTabPosition = 0; } var target = $(this).attr('xlink:href'); var $target = $("p[data-fake-id='" + target + "']"); if (window.location.hash != target) { $target.click(); } var scrdis = $target.offset().top - 140 if (existingTabPosition < scrdis) { var scrdis =scrdis- existingTabHeight; } $('html, body').stop().animate({ 'scrollTop': scrdis }, 900, 'swing'); });
Thanks Dude but that’s not it.
On the page I have two SVGs, one using standard href links and the other using xlink:href links. Neither work.
Any other suggestions please?
Thanks
Can be closed. Thanks again.
Thank you Victoria, those two pages had had categories added to them somehow. I will review my code to find what caused the issue but for now it is fixed.
Thanks again. Excellent support as always.
One of the pages shares the name but the other doesn’t. The commonality between the two is that both pages which are displaying IN the feed also display the feed ON them. I tried renaming the page which shares the category name and it didn’t make a difference.
Shouldn’t it only display posts anyway? Any idea why it’s including pages at all?
Would it be possible to write a function to override the query so it only returns posts?
- This reply was modified 6 years, 4 months ago by Rustybucket.
I’m still looking for clarity on this but I’m not sure the post Mike referenced above is correct. Google’s post https://mapsplatform.googleblog.com/2018/05/introducing-google-maps-platform.html states:
‘…We’re simplifying our 18 individual APIs into three core products—Maps, Routes and Places…’
and
‘Beginning June 11, you’ll need a valid API key and a Google Cloud Platform billing account to access our core products. Once you enable billing, you will gain access to your $200 of free monthly usage to use for our Maps, Routes, and Places products.’
If you then look at their new pricing page https://cloud.google.com/maps-platform/pricing/sheet/ you get 28,000 dynamic map loads per month and it’s $7 per 1000 loads thereafter. So, if you currently use 25,000 per day it’s going to cost you around $5k per month to continue using.
Does Enfold use Dynamic Maps?
Interested in this too. I just created an API key under a new Google account and Enfold doesn’t see it as valid. The key is a valid Maps JavaScript API key, it is the correct value (copied and pasted), there are no restrictions and only Yoast SEO plugin installed.
Edit: It’s connected. Took about 3 hours to recognise the new Key.
- This reply was modified 6 years, 6 months ago by Rustybucket.
Many thanks for your support but managed to resolve this.
ThanksShould have thought of this before asking the question:
$page_string = avia_pagination($page_number_max, 'nav'); if ( !strpos($page_string, '/page/') ) { $page_string = preg_replace("/\/\d\//", "/page$0", $page_string); }
Hi guys, any help with this one please, looks like it’s an issue with 4.2?
ThanksNovember 21, 2016 at 8:05 pm in reply to: bbPress: How to display topics beneath forums in list on forum homepage? #714960Sorry, posted now
-
AuthorPosts