Forum Replies Created
-
AuthorPosts
-
what makes you think this has anything to do with the wppizza plugin ?
i suggest a google search
https://www.google.co.uk/search?site=&source=hp&q=Indirect+modification+of+overloaded+element+of+WP_Hookhave you tried ?
i have re-added the language files (3.0.10)
however, as many strings have changed (or did not even exist before) it will only partially be in german now
please refer to the changelog9 August, 2017 at 11:06 pm in reply to: since major update, my custom responsive css dont work #29798one more thing (that might be some plugin, your theme or you yourself doing)
removing version numbers from resources is a bad idea9 August, 2017 at 11:00 pm in reply to: since major update, my custom responsive css dont work #29797>Is there another css for the responsive part now active with another css rules?
the css has now (up to) 4 files
one general (for all styles)
one for default
one for responsive
one for grid
so one can mix and match layoutsagain though, simply use your bowser element inspector for classes etc
and if you are really not getting declarations applied (because something else seomehwre messes things up) you can alwasy also try adding the !important attribute (though it would probably be better using the right distinct css )9 August, 2017 at 10:57 pm in reply to: since major update, my custom responsive css dont work #29796ok, the classes (and elements) have changed somewhat as some where not very descriptive
furthermore, the name and the additives have their own elements WRAPPED into an h2your .wppizza-article still works
.wppizza-article-tiers are now wppizza-article-prices (but using ul li’s etc )
.h2.wppizza-article-title is simply .wppizza-article-titleessentially use your browser elements inspector to find out whats what
if you need to refer to an old (v2) version you can go here
https://support.wp-pizza.com/twentytwelve/ (or any of the other demos available from the top dropdown on that page)9 August, 2017 at 10:43 pm in reply to: since major update, my custom responsive css dont work #29794ok, so a simple
@media screen {
/*some declaration *
}also seems to work
let me see what i can find on your site there9 August, 2017 at 10:34 pm in reply to: since major update, my custom responsive css dont work #29793i’ll check a few things myself here too
will get back to you9 August, 2017 at 10:27 pm in reply to: since major update, my custom responsive css dont work #29792shouldn’t your
https://www.bravo-pizzaservice.de/wp-content/plugins/wppizza/css/wppizza.style.css
have some sort or rule / query – i.e width / screen whatnot ?I must admit , I never actually tried it without so may be wrong. ?!?!? (please correct me if indeed i am wrong here)
first of all,
is this an update from wppizza 2 or a new install ?
if it’s an update, did you read and follow the update instructions ?regards
OliverPS: please do not use the forum AND the contact form for the same thing
first of all – as a workaround while i investigate – use a “Layout -> full width” template for the orderpage. that should solve issue 1 (i’ll still have a check what might cause it with your theme when it uses the standard template)
regarding print template, i cannot tell you as i dont know what you have (or not have) done
got a screenshot of your “wppizza->templates->print” settings ?in short, you need to put something like this in your functions.php
function myprefix_wppizza_gcp_filter_copies( $printerid, $cp ) { if($cp == 1){ return 'some other printer id'; }else{ return $printerid; } } add_filter( 'wppizza_gcp_filter_copies', 'myprefix_wppizza_gcp_filter_copies'. 10, 2 );maybe you should start here first
you are supposed to USE the filter in your theme’s (or actually your child theme’s) functions.php file , not replace it. that defeats the point of having filters in there in the first place
no, you are supposed to use a filter.
NEVER EVER edit core files themselves – that’s why filters exist and are left in plugins (among other things).https://www.google.co.uk/search?site=&source=hp&q=wordpress+how+to+use+filters
if you want to do ANY kind of customisation in wordpress you MUST learn about filters and action hooks
so the filter function should be something along the lines of (if you have it set for 2 copies)
if($cp == 1){ return 'some other printer id'; }else{ return $printerid; }you need to set the printer id per copy
the filter looks like this$printerid = apply_filters('wppizza_gcp_filter_copies', $printerid, $cp);
where $printerid is – obviously – the printer id and $cp is a simple count depending on how many copies you have set to printsorry guys
schoolboy error on my part
will release an update in the next half an hour (3.0.6) and that should be fixed thenapologies
This reply has been marked as private.have restored the backup first ?
-
AuthorPosts