janizde
Forum Replies Created
-
Forum: Plugins
In reply to: [Opening Hours] Insert progress barHi @hailton12 ,
this is kind of UI is not provided with the plugin. I would consider this to be too exotic to become a core component of the Opening Hours plugin (at least I’ve never come across this requirement). You should however be able to query the Opening Hours API with custom PHP code to accomplish what you wish for. You can read more about it in the documentation, more specifically the [developer guide](https://github.com/janizde/WP-Opening-Hours/blob/master/doc/developer-guide.md).
Hope that helps
Forum: Plugins
In reply to: [Opening Hours] Is this plugin still maintained?Hey, it’s partially maintained, in that I sometimes look in the support threads here. I will make a minor release testing it with the latest version of WordPress. Bug fixes contributed by the community might still be shipped, but I don’t have enough time to actively develop it further.
Forum: Plugins
In reply to: [Opening Hours] Ferien und spezielle ?ffnungszeiten globalClosing due to inactivity
Forum: Plugins
In reply to: [Opening Hours] hide opening hours today textClosing due to inactivity
Forum: Plugins
In reply to: [Opening Hours] Allow editorsClosing due to inactivity
Forum: Plugins
In reply to: [Opening Hours] do_shortcode() doesn’t work since last WP Update to 5.7Hey @berlinaut , thanks for the report! I’ll close the issue since it seems to work again, I will keep an eye out for issues with WP 5.7 however.
Cheers
JannikForum: Plugins
In reply to: [Opening Hours] Allow editorsHey?@chloraldo , do you have a custom permissions plugin? The Set post type has the
page
capability type, so anyone who’s able to create or edit pages (like Editors) should be able to edit opening hours in Sets as wellForum: Plugins
In reply to: [Opening Hours] Is-Open-Widget bei gecachter Seite per Ajax nachladenHallo ihr beiden, ich glaube leider nicht, dass es eine triviale L?sung zu dem Problem gibt @oliversaar mit “Code” meinte ich PHP oder JS Code der das Nachladen herbeigeführt h?tte, da du ja Ans?tze verlinkt hast. @nachhaltigejobs ich habe mir deine Seite angeschaut und finde es super, wie das Plugin da eingesetzt wird mit mehreren Standorten!
Als Zwischenl?sung k?nntet ihr die maximale Cachingzeit vielleicht auf 30 min stellen (wenn ihr immer zu halben Stunden ?ffnet)? Da das Thema ?fter aufkommt, überlege ich, die AJAX Variante noch in die aktuelle Version einzubauen, statt auf v3.0 zu warten (ich habe gerade auch wenig Zeit um an der neuen Version zu arbeiten).
Viele Grü?e
JannikForum: Plugins
In reply to: [Opening Hours] Custom text between 2 periods[closed due to inactivity]
Forum: Plugins
In reply to: [Opening Hours] hide opening hours today textHey, what do you mean by “Opening Hours today:” ? Do you mean the phrase “We’re currently open / closed”?
As for the date format you can use the
PHP Time Format
option as documented here: https://github.com/janizde/WP-Opening-Hours#is-open-widget For your purpose you need to enterGa
into this option.Cheers
Forum: Plugins
In reply to: [Opening Hours] ?ffnungszeiten durch Schema.org auf Google übertragen[Closed due to inactivity]
Forum: Plugins
In reply to: [Opening Hours] Custom text between 2 periodsHi @marius1989 ,
leider aktuell nicht m?glich über Standardeinstellungen aber eine Anforderung die schon ?fter kam. Die einzige L?sung w?re es über den [
op_shortcode_markup
Filter](https://github.com/janizde/WP-Opening-Hours/blob/master/doc/filters.md#op_shortcode_markup) das per regular expression zu ersetzen. Das würde aber bedeuten, dass zwischen jeden zwei Perioden pro Tag eine solche Pause eingesetzt würde (also es w?re zB nicht m?glich nur an manchen Tagen an denen es mehrere Perioden gibt eine Pause einzurichten). Wenn das deinen Anforderungen genügt kann ich dir mit dem Snippet helfen.Viele Grü?e
Forum: Plugins
In reply to: [Opening Hours] Ferien und spezielle ?ffnungszeiten globalHallo @nachhaltigejobs ,
vielen Dank für den Vorschlag, diese Anforderung kam mir so noch nicht unter (und es ist leider mit der aktuellen Version nicht m?glich), jedoch wird es mit Version 3.0 eine eher baumartige Struktur der ?ffnungszeiten geben, womit das vielleicht sogar m?glich w?re. Ich werde es im Hinterkopf behalten
Viele Grü?e
Forum: Plugins
In reply to: [Opening Hours] Is-Open-Widget bei gecachter Seite per Ajax nachladenHi @oliversaar, wie du schon richtig beschrieben hast, ist das Problem mit nichtaktuellen Daten (z.B. wann ist die n?chste offene Periode, wann ist geschlossen oder nicht) eine direkte Konsequenz aus dem Caching (weil es eben Realtime Daten sind).
Dieses Problem ist aber tats?chlich auf der Liste für die n?chste Hauptversion. Die L?sung w?re tats?chlich ein Nachladen durch AJAX (wobei idealerweise im initialen Render nur nicht-kontextabh?ngige Informationen verarbeitet werden).
Kannst du bitte den Code mit dem du es ausprobiert hast als Gist verlinken (hier kannst du das erstellen: https://gist.github.com/).
Ich kann nicht versprechen dass es funktioniert, aber vielleicht ist der Ansatz ja schon da
Forum: Plugins
In reply to: [Opening Hours] How to change the color of the textHi, you can disable the styling of green and red messages using the
op_use_frontend_styles
filter, beyond that the plugin doesn’t provide styling so it would have to be done in the theme styles.Please refer to the styling section in the FAQ
https://github.com/janizde/WP-Opening-Hours#how-can-i-change-the-styling-of-the-widgets–shortcodes