Forum Replies Created
-
AuthorPosts
-
Hi Rikard,
you can close it.
GünterProblem solved.
Thanks!Hi Peter,
I have seen that polylang “how to”, but I did not know how to integrate the lang parameter into the query. Your code lines solved my problems!
Thank you very much for your help!
GünterHi Ismael,
I think it has it has to do with the server settings, ifa.or.at switched recently to https.
But all in all I must say: The new API system is a little bit overdone. You have a domain authentication. For which security relevant situations do you need additional URL restrictions?
I hope, You are not disappointed about that unsolved case.
Best regards
GünterHi Ismael,
It does not work. An “InvalidKeyMapError” stays, whatever I try. Inside Google Cloud platform I found no usefull further instructions. Maybe a server misconfiguration, maybe a plugin – I surrender. IFA needs a Map. I changed to a third party plugin.
Thank you for your help.
Best regards,
GünterHi,
The allowed URL were registered. After adding the explit URL “https://ifa.or.at/ifawp/wp-admin/admin.php?page=avia” from above the “Check API Key” in enfold settings works. But inserting a map does not work. Please look at the error message in screenshot.
I tried a lot of URL and wildcard versions. This is the current state.
Best regards
GünterHi Ismael,
it does not work. I enabled the Geocoding Services, generated a new key and set to “HTTP referrers (web sites)”.
On enfold settings “Check API Key” ends with: “Could not connect to Google Maps with this API Key.” And on page /work/, when I try to insert a map, the error is: “It seems that your Google API key is not configured correctly”Maybe can You give me a Google-valid email address. Then I will create a new user inside Google Cloud IAM for you. Please set your user account to that address. Maybe can you detect, inside Google what is going wrong.
Best regards,
GünterHi Victoria,
on Page https://ifa.or.at/work/ (https://ifa.or.at/ifawp/wp-admin/post.php?post=2542&action=edit). You find the valid API key in the pivate section.
Best reards,
GünterHi Basilis,
the login credentials…
At the moment Google Map Element is deactivated in enfold settings.Best regards,
GünterHi Rikard,
I had exactly zero plugins. (Now there is Yoast SEO).. After Upgrading to enfold 4.3.2 the scroll operates also when I am logged in.I thought: Maybe I have had under > enfold >> perfomance too many features disabled.
Thanks an best regards,
GünterHi,
for your information: the bug occurs only if I am logged in. We have no member area, Therefore it is no bug.
GünterHi,
today when I open the page, every scroll ends at the correct position. I don’t know why,but there is no problem anymore.
You may close my request as solved.Thank You,
GünterHi Günter,
my first assumption was wrong. I checked it again (with empty cache between each step) and I can say:
- it is not a problem of equal start times.
- there is no conflict with other plugins; I have disabled all the others
- it is not an specific enfold-problem; the error occurs also with a wp-standard-theme
So it’s no longer your (enfold support’s) duty. I will search for help in the plugin support areas.
But maybe you have an idea. The problem starts with an event, where the event organizer and the event location are the same – not the same slug, but the content (name, adress, …). Maybe there is the real source of the problem. I will make further tests in this direction.
Thank you and best regards,
GünterHi Yigit,
all problems are solved! It was only a question of the plugin-settings.
I disabled “Avia Framework” under “Use for these Post Types”. And I uncheck “Enable conditional dropdown values”, because this is described as “beta feature”. Whatever effected the troubles, now everything works fine.
You may close this thread as solved.
Sorry for wasting your time and thank you!
GünterHello Yigit,
thank you! This problem is solved, some new arised.
1) The plugin Beautiful taxonomy filters caused the problem. But I have about 800 entries in custum-post-type “material” and 200 in CPT “organisation”.With this quantities I need really urgently the option, ro filter the content by taxonomies.Can you recommend an alternative tool, which works with enfold?
2) As long, as the plugin was active, a modification of taxonomy-archives and the links (enfold_child/functions.php, line 399) works fine. It changed the taxonomy-archive-url from /taxonomy/term/ to /custom-post-type/taxonomy/term/. This was important, because some taxonomies are assigned to two different post-types and the post types need different layouts and sidebars.
With two separated archives like /material/tax/term/ and /organisation/tax/term/ I got only the intended entries from one CPT. And I could allocate the appropriate templates with archive-material.php and archive-organisation.php. Now, a click on “/term/” (in post-meta-infos) opens entries from “material” AND “organisation”.
How can I solve this Problems?
Best Regards,
GünterHello John,
here are the login credentials.Search terms with a lot of results are e.g. Lehrer or Gesundheit.
Best regards,
GünterHi Victora,
I am happy, because the problem seems to be solved. But it was a long way. For people, who have simiiar problems:
First I tried a copy enfold_child/framework/php/class-framework-widgets.php, but this mirror has no effect. The page falls back on enfold/framework/php/class-framework-widgets.php
Then I found in elder support questions the method “reuqire( ‘class-framework-widgets.php’ ) ” in functions.php to embed the file.
This causes the error message ‘No direct script access allowed’. So I had to comment out the first lie in class-framework-widgets.php: // if ( ! defined(‘AVIA_FW’)) exit(‘No direct script access allowed’);
Then I got the error: ‘Can not redeclare the class in line 1737’. I deleted everything after the part, related to facebook:
if (!class_exists('avia_fb_likebox')) { class avia_fb_likebox extends WP_Widget { ... } }
Now it really works!
Thank you for your help and for the helpful elder ressources in the forum,
GünterAugust 12, 2017 at 10:01 am in reply to: One Sidebar for one post type and all assigned taxonomies #837809Hey,
please forget my question! it is a permalink-problem and to complex for me. The link in the meta infos leads to “…/taxonomy/term” with results from “post-type-1” and from “post-type-2”, but I would need “../post-type-1/taxonomy/term” one time and “../post-type-2/taxonomy/term” the next time with an outcom from only one post type and so on…
I decided to disable the links in the meta infos and to solve my problem with the plugin Beautiful taxonomy filters. This plugin fulfills my needs.
You may close this thread as solved.
Best regards,
GünterHi,
3 weeks ago I asked for help. Is it yet foreseeable how long the editing of my request wiil stil need?
Best Regards,
GünterHi Torvik,
which code do you mean with “this code”? I have only cited the one variable, I have changed from “true” to “false” in class-framework-widgets.php and the one line I have added to the 1737 lines of class-framework-widgets.php.
Can you please tell me, how I can add these two items at my functions.php instead of changing the original file.
Best regards,
GünterHey Nikko,
an unexpected solution occurred! WordPress provides the function the_taxonomies() in /wp-includes/taxonomy.php, line 3934. This function does exactly what I need. So I only have to replace the enfold ‘post-meta-infos’ with this function.
Your hint at wordpress codex gave the direction!
Thank you very much!Günter
Hey Nikko,
you see, I have three taxonomies, labeled as:’Wirkungsbereich‘, ‘Themenbereich‘ and ‘Zielgruppe‘. You can compare each of it with ‘Category‘ in Posts or ‘Portfolio Category‘ in Portfolio.
The special taxonomy-terms are displayed well, e.g. ‘Vienna, Salzburg, Tirol’ but I want to display the taxonomy-label before, like
Category: Vienna, Salzburg, Tirol (in post)
Portfolio Category: Vienna, Salzburg, Tirol (in portfolio)
Wirkungsbereich: Vienna, Salzburg, Tirol (in my cpt organisation)Best regards,
GünterHi Yigit,
adding the class ‘noLightbox’ to my link solved the problem! Your two links gave me further helpful information for the work with enfold.
Thank you very much!
GünterHi Ismael,
thank you for your code. It works fine ad helps me to reduce my effort.
Best Regards,
GünterHi,
meanwhile I have found a tolerably working solution at WP Codex:add_filter('avia_post_slide_query', 'avia_post_slide_query_mod'); function avia_post_slide_query_mod($query) { $sticky = get_option( 'sticky_posts' ); $query = new WP_Query( 'p=' . $sticky ); return $query; }
But sticky posts increase the number of intended posts per page (items=’6′ + 1 sticky post = 7).
Is there a way to limit the shown posts beside Css-methods?Regards,
GünterHi Rikard,
if someone needs to solve a similiar problem, with
<video onended="startSlideshow()" id="myVideo" (...) >
and<script type="text/javascript"> function startSlideshow() { (function($) { $("#layerslider_1").layerSlider("start"); })(jQuery); } </script>
you can start the slideshow again, when the video has finished.
Best regards,
GünterHi Rikard,
my problem is solved! I know a little bit javascript, but zero jquery. I think it was a simple syntax problem. Now I added this script to the play button:
<script type="text/javascript"> function playVid() { vid = document.getElementById("myVideo"); vid.play(); setTimeout(stopSlideshow, 3000); } function stopSlideshow() { (function($) { $("#layerslider_1").layerSlider("stop"); })(jQuery); } </script>
and it works.
Thank you,
GünterHi Rikard,
just in case I have created an admin account for you.
Meanwhile I have tried $(‘#layerslider_1’).layerSlider(‘stop’); from LayerSllider documentation, but it does not work. If you need, you will find everything including the function playVid() at the template front-page.php in my child theme.
Regards,
GünterThank You, Ismael,
You have solved my problems!
GünterHere is a link to the site.
Regards,
Günter- This reply was modified 8 years, 9 months ago by günter. Reason: Link has changed
-
AuthorPosts