Text before articels not workin

WPPizza – A Restaurant Plugin for WordPress Support Add-Ons Extensions Preorder Support Text before articels not workin

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #16821
    Thomas Ulbricht
    Participant

      Hello Olly,

      it’s me again 🙂 Think I found a bug again …
      1. Activated the preorder module
      2. Choose: Text before Menui Articles
      3. FIlled in the custom text in localisation
      4. Its not showing up 🙁

      Versions of Plugins:
      Preorder:1.5
      Wp Pizza: 2.16.8
      Multisite INstallation
      ALl othe Extenstions (always the newest Versions) installed too.

      Hope these screenshots help.

      Thx so much again for your help!!!

      #16822
      Olly
      Admin & Mod

        works fine here. can i have a link to the site please

        #16830
        Thomas Ulbricht
        Participant
          This reply has been marked as private.
          #16831
          Thomas Ulbricht
          Participant

            Oh and one more thing … in the basket case widget the “showing of the opening times” stopped working too … not related to the original problem i Think, but before i open another thread i thought i post it here … 😉

            #16832
            Thomas Ulbricht
            Participant

              Sorry … forget it ! With the basket case showing opening times : My mystake 🙂

              #16833
              Olly
              Admin & Mod

                >just drop me a line here and i close it then

                now would be good if you want me to have a look..let m eknow

                #16834
                Olly
                Admin & Mod

                  i don’t think i need your shop to be closed actually as I think i know where your problem is.

                  as you are caching pages, the text we are talking about gets insert dynamically via js above the first element with class “wppizza-article”.

                  for reasons only you will know you have added ALL items additionally into a hidden div. as your first element with class “wppizza-article” is in there, i suspect the text you are “missing” is added there.
                  as the whole div/form is hidden that text is hidden too

                  the items you have in that hidden div, are also missing certain id’s in the class names which will stop some other things from working btw (though that in itself has nothing to do with the issue at hand, you’ll just have problems elsewhere at some point)

                  PS: entirely up to you, but i somewhat question the wisdom of having all items everywhere but hidden .
                  not only will it effect your load times, but also will you end up with elements with the same id and I would think searchengines won’t be too happy either if 70%+ of your page is actually hidden from the user (though that’s just a semi-educated guess)

                  #16835
                  Thomas Ulbricht
                  Participant

                    Hey Olly,

                    thanks for the help. Yeah I think I see the problem. I think what you mean are the items in the “Pizza Butler” … it is hidden first and then it is sort of a “tag/find/help thing” for customers to find what they like.

                    And maybe you know a way not to show ALL the items in the beginning, but to show NONE. I think that would help. I will paste the code for the results of the “Pizza butler” here and if you maybe have a hint what i can do ? (I hope it is ok to ask – I think you are the way better coder than me 😉 )

                    This is “the results” code:

                    [code deleted by admin as it’s kind of unhelpful and people would get the wrong idea as there are cleaner and much better ways to add the loop results elsewhere. sorry]

                    #16836
                    Olly
                    Admin & Mod

                      sorry, but i really cannot help you there.
                      i know nothing about your pizza butler.

                      the only idea – of the top off my head – for you would be to add a dummy element with class=”wppizza-article” somewhere before your butler so the text would get inserted there
                      (maybe you can re-position that element with css to make it then appear elsewhere)

                      #16837
                      Thomas Ulbricht
                      Participant

                        Ok no Problem … Thx for having a look anyway!!! 🙂 🙂 🙂

                        Maybe you have an additional hint for me, what the “cleaner and much better ways to add the loop results elsewhere” are? So I can have a look and try to add it better ?

                        #16838
                        Olly
                        Admin & Mod

                          in theory (though not tested with your scenario) perhaps a simple

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

                          might do the job ?

                          again – just an idea.

                          #16840
                          Olly
                          Admin & Mod

                            just updated the preorder plugin and added an option to set a specific id where to insert that text (see in options of the plugin). that should help you to put it wherever you want to put it

                            (might also be helpful in other scenarios)

                            #16841
                            Thomas Ulbricht
                            Participant

                              You are the best! 🙂 Thank you very much!

                              #16860
                              Thomas Ulbricht
                              Participant

                                Just a quick feedback: Worked like a charme 🙂 Wonderful! Thx a lot !!!!

                              Viewing 14 posts - 1 through 14 (of 14 total)
                              • The topic ‘Text before articels not workin’ is closed to new replies.