Olly

Forum Replies Created

Viewing 20 posts - 4,001 through 4,020 (of 4,426 total)
  • Author
    Posts
  • in reply to: Preoder – Timetable/ timepicker not showing up #5891
    Olly
    Admin & Mod

      do you have a link i can check ?

      in reply to: Not adding to basket #5855
      Olly
      Admin & Mod

        for starters, you haven’t sent me a link so i can have a look 🙂

        in reply to: some strings not translated #5847
        Olly
        Admin & Mod

          >the last one i translated in the language file.
          ok

          in reply to: some strings not translated #5846
          Olly
          Admin & Mod

            actually changing that bit will not help you until the next update (it will still say xyz menu item until th enext update of wppizza. just be patient for a couple of hours and i’ll update it and upload it to the repo

            in reply to: some strings not translated #5844
            Olly
            Admin & Mod

              that you could have actually translated in the po file.

              doesnt matter though, as that should have been different in the code to start off with really.

              so – again – for the tims being, do this (same file approx line 1904) change

              
              'singular_name'      => __( 'WPPizza Menu Item', $this->pluginLocale ),
              

              to

              
              'singular_name'      => WPPIZZA_NAME.' '.__( 'Menu Item', $this->pluginLocale ),
              

              PS: please don’t put your screenshots (and links to them) on a site that servers porn ads !!(hence i removed the link above)

              in reply to: some strings not translated #5842
              Olly
              Admin & Mod

                ah, ok, we were talking about different things ( i assumed you meant the main admin sidebar on the left – or as the case may be on the right in your environment – where it says additives,settings etc)

                essentially it’s an oversight on my part in the plugin which i will fix in the next version.

                in the meantime, edit the following:

                in classes/wppizza.actions.inc.php at approx line 1967 you find

                
                'name' => _x( 'WPPizza Categories', 'taxonomy general name' ),
                

                replace this with

                
                'name' => WPPIZZA_NAME. ' ' ._x( 'Categories', 'taxonomy general name' ),
                

                and it should work

                in reply to: some strings not translated #5835
                Olly
                Admin & Mod

                  in other words:

                  go here and download language pack
                  http://wpcentral.io/internationalization/he/

                  unzip into wp-content/languages

                  assuming WP4.0+her: go to wp->settings->general ->site language: hebrew

                  that’s that. no str_replace or any of that required

                  in reply to: some strings not translated #5834
                  Olly
                  Admin & Mod

                    strikes me like you did not install your wordpress language files

                    in reply to: thank you page #5821
                    Olly
                    Admin & Mod

                      having had a quick think, i think it will have to be done somewhat differently
                      i.e it *will* append – so there should be nothing but the shortcode on that page – but having an additional way to display some sort of text/html only on the initial view of the orderpage .
                      i will mull this over for a bit as to how to do this the best way considering how the whole shebang is implemented as it is

                      in reply to: thank you page #5820
                      Olly
                      Admin & Mod

                        you are right actually.
                        the confirmation at the end of it all , should (optionally i guess) replace whatever there was before, not append.
                        seems like – although that’s what i had in mind – i never actually implemented it that way (surprised no-one else mentioned it before )

                        let me see what i can do (maybe an additional option somewhere to not break existing installations)

                        can’t give you an ETA yet though

                        in reply to: thank you page #5808
                        Olly
                        Admin & Mod

                          PS: I might add that to the next version though as it’s certainly an idea and should be quite simple to do

                          in reply to: thank you page #5807
                          Olly
                          Admin & Mod

                            sorry, no. (not the way it is right now anyway)
                            but you can of course edit what’s there (in localization)

                            in reply to: Additional Languages #5779
                            Olly
                            Admin & Mod

                              >Now I would like to know, how can I switch on these translation?

                              just set wordpress to be in de

                              WP<4.0 : in wp-config.php set define('WPLANG', ''); to define('WPLANG', 'de_DE');
                              WP>=4.0 : WordPress settings -> general -> site language

                              in reply to: but with printing 00:00 in the front end #5764
                              Olly
                              Admin & Mod

                                wppizza->layout->Format of openingtimes (if displayed):

                                in reply to: some strings not translated #5763
                                Olly
                                Admin & Mod

                                  how can i remove that or translate it?

                                  https://wordpress.org/plugins/wppizza/faq/ -> My shop doesn’t do Pizzas, how do I change the name and icon in the administration panel ?

                                  one is the “WPPizza Categories” not change to the string i have set in the po file.
                                  all others strings works

                                  “categories” is a wordpress string so install the correct language for your installation
                                  re WPPizza , see above

                                  in reply to: Urgent bug (duplicated items) #5762
                                  Olly
                                  Admin & Mod

                                    have you tried just putting the plain shortcode on a page somewhere ?
                                    (i.e create a page and put [wppizza category=’!all’ ] in the content area and save)

                                    (ps: that shortcode is a loop in itself by the way – i .e it loops through items in category(ies))

                                    in reply to: Urgent bug (duplicated items) #5752
                                    Olly
                                    Admin & Mod

                                      sounds to me like you are putting a loop into a loop

                                      i would suggest you first just put the shortcode on a page as opposed to using

                                      
                                      <?php echo do_shortcode('[wppizza category="!all" ]'); ?>
                                      

                                      in a template somewhere and see what happens

                                      in reply to: help with creating add-on for holidays opening hours #5743
                                      Olly
                                      Admin & Mod

                                        >many restorans working on holidays so it could be where useful to many restaurants to show when the open in holidays

                                        i would have thought just typing it in somewhere would do the job just fine

                                        (not sure why you want to make things unnecessarily complicated, but maybe i’m missing things)

                                        in reply to: help with creating add-on for holidays opening hours #5742
                                        Olly
                                        Admin & Mod

                                          sorry, but this really is your customisation/programming

                                          you can of course already set opening times for specific date that override the others under

                                          “Any dates/days where opening times differ from the standard times above (such as christmas etc).”

                                          but if you want to display holiday names etc etc , that’s really your baby

                                          there are a bunch of codesnippets though you could have a look at here

                                          https://www.wp-pizza.com/forum/code-snippets/

                                          and in your case, the following would probably/possibly be a good starting point

                                          https://www.wp-pizza.com/topic/extending-the-plugin-with-a-class/

                                          in reply to: Urgent bug (duplicated items) #5741
                                          Olly
                                          Admin & Mod

                                            PS: don’t know why you are using “echo do_shortcode” instead of just the plain shortcode on a page…but that’s up to you. just wondered

                                          Viewing 20 posts - 4,001 through 4,020 (of 4,426 total)