mighty2003
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [ColorMag] Hide Menu Entry, when Site is set to draftat least, after much search i found a solution.
just need the right plugin –> Hide Drafts in Menusso, i’m sorry that i thought, it would be a problem of the theme. it was one of WP itself… but fixed easily with the plugin.
Thanks Matthias
Forum: Themes and Templates
In reply to: [ColorMag] Hide Menu Entry, when Site is set to draftHi @sakarrr
It’s not a WP problem, the solution is on that page i linked in my first post, but i need this in the theme, because when i do it in the theme by myself, then i’ll lose it on every update and that’s not what i’m looking for…Her the text translated…
Try in function.php, where the menu is created, to add the following to the array:PHP:
‘post_status’ => ‘publish’,
That should actually work. Here are a few more links on the subject:
https://codex.www.ads-software.com/Function_Reference/wp_nav_menu https://codex.www.ads-software.com/Function_Reference/wp_get_nav_menu_itemsForum: Themes and Templates
In reply to: [ColorMag] Hide Menu Entry, when Site is set to draftHi Sakar
That’s not what I mean, when I switch a published page to draft, it remains visible in the menu. That’s my problem. The page should not be visible in the menu if it is only set to draft.
That’s my site, where you see the problem.
https://familietraeff.haas-strahm.ch/index.php/portrait-ferienpass/kurse/
I set the page Kurse to draft an then i see this… “Diese Seite konnte leider nicht gefunden werden.” (Unfortunately this page could not be found.)
You find this menu entry under “Ferienpass” -> “Angebot” -> “Kurse”.Forum: Plugins
In reply to: [WP-ViperGB] NIce to have… change style in the admin settingsHmm, it’s fine with that Skins, but I updated today the plugin and my skin was deleted in the skins folder… not nice…
Something I can do, that this will not happen again by updating?
Forum: Plugins
In reply to: [WP-ViperGB] Missing (br) by the CredentialHi
Of course this BR is needed… otherwise after an updated it looks like this way on my Guestbook.
https://mgw.wasemusig.ch/wp-content/plugins/wp-vipergb/WP-ViperGB.PNGBut I placed it on the wrong position… it’s better here:
echo '<br><span id="gbCredit">'
(both lines 208 and 210)Forum: Plugins
In reply to: [WP-ViperGB] Missing TranslationPerfect! ??
But there are too many “German’s”…
German, German → German (Formal), German (Switzerland), Swiss German, Swiss German → Swiss German (Formal), German (Switzerland) → German (Switzerland) Informal.There is not diffrenz between German and Swiss German, only if I should translate it to dialect. ??
Is enough to have German and German Formal. But I think you only use the one the users need.Forum: Plugins
In reply to: [WP-ViperGB] NIce to have… change style in the admin settingsUps, found this on Justin’s site
https://www.justin-klein.com/projects/wp-vipergb/#customizationSkins
WP-ViperGB supports simple skin selection via its admin panel. For now, skins are just stylesheets (and images they reference); this can be expanded later if demand warrants.
To create a new skin, add a stylesheet to the WP-ViperGB/styles folder and override anything you like from Default.css, which will always be included first. Stylesheets in this directory will be listed by name in the “Guestbook Styles” combobox on the admin panel. I’ve only included two simple examples, but if anyone makes any cool new styles please share them, I’d love to include them with the plugin for others ??
Forum: Plugins
In reply to: [WP-ViperGB] Missing Translationhmm, it’s not enough, to add thos lines after line 144 in the wpvipergb-de_DE.po file…
#: ../_output_guestbook.php:173
msgid “Entry#”
msgstr “Eintrag Nr.”maybe the translation is too long, then i’d like to use just “Eintrag”