krysba
Forum Replies Created
-
Forum: Everything else WordPress
In reply to: hide the login pageGreat, that’s what I meant. First code that worked, thank you 🙂
Forum: Everything else WordPress
In reply to: hide the login pageHi, thanks for your answer, I’m a beginner developer and I create websites for others. Therefore, for the security of the site, I wanted to hide the login page to the admin panel so that it would show up after typing instead of wp-admin, for example, sandbox. I’m using the code from the WordPress app development book and it’s not working. It’s not cool that the codes from the book don’t work, how to learn and develop here.
I was supposed to make a search engine on the website and I did, only now I wanted the search results to show on the page made in Elementor and not the search engine page of the installed template
the test site of the search engine is https://www.hbspa.pl/index.php/wyszukiwarka-test/
Forum: Everything else WordPress
In reply to: dynamic internal hyperlinks how to do ?Thanks for your help, can I do something myself in php and then use it when creating a link, e.g. can I use bloginfo();
Wow great, now everything works. Thank you very much for your help and super versatile calculator 🙂
I have one more problem, please help me.
In the calculator view, I see a digit that is used in the calculator formula despite the form fields not being filled in, how can I hide it so that only the result in the table with the wrong digit is shown?(fieldname1*10)+(fieldname5*6.25)-(fieldname7*5)+(fieldname2=='Kobieta'?-161:5)I mean this piece of code, for a man 5 is added and for women 161 is subtracted, how to create it so that this number counts and is not visible before filling in the data in the form?
Thanks, I already typed everything by hand 🙂
But I can update database tables and move records from one database to another. I already did that, but I was moving all the tables, can you tell me how to do it correctly?if( fieldname8=='Siedzący' && fieldname9=='Chcę utrzymać masę ciała' ) {fieldname6*1.2} else if ( fieldname8=='Siedzący' && fieldname9=='Chcę schudnąć' ) {fieldname6*1.2-((fieldname6*1.2)*0.15)} else if ( fieldname8=='Siedzący' && fieldname9=='Chcę przytyć' ) {fieldname6*1.2+((fieldname6*1.2)*0.15)} /*koniec sekcji pierwszej*/ else if( fieldname8=='Niska aktywność' && fieldname9=='Chcę utrzymać masę ciała' ) {fieldname6*1.4} else if ( fieldname8=='Niska aktywność' && fieldname9=='Chcę schudnąć' ) {fieldname6*1.4-((fieldname6*1.4)*0.15)} else if ( fieldname8=='Niska aktywność' && fieldname9=='Chcę przytyć' ) {fieldname6*1.4+((fieldname6*1.4)*0.15)} else if( fieldname8=='Umiarkowany' && fieldname9=='Chcę utrzymać masę ciała' ) {fieldname6*1.6} else if ( fieldname8=='Umiarkowany' && fieldname9=='Chcę schudnąć' ) {fieldname6*1.6-((fieldname6*1.6)*0.15)} else if ( fieldname8=='Umiarkowany' && fieldname9=='Chcę przytyć' ) {fieldname6*1.6+((fieldname6*1.6)*0.15)} else if( fieldname8=='Aktywny' && fieldname9=='Chcę utrzymać masę ciała' ) {fieldname6*1.75} else if ( fieldname8=='Aktywny' && fieldname9=='Chcę schudnąć' ) {fieldname6*1.75-((fieldname6*1.75)*0.15)} else if ( fieldname8=='Aktywny' && fieldname9=='Chcę przytyć' ) {fieldname6*1.75+((fieldname6*1.75)*0.15)} else if( fieldname8=='Bardzo aktywny' && fieldname9=='Chcę utrzymać masę ciała' ) {fieldname6*2} else if ( fieldname8=='Bardzo aktywny' && fieldname9=='Chcę schudnąć' ) {fieldname6*2-((fieldname6*2)*0.15)} else if ( fieldname8=='Bardzo aktywny' && fieldname9=='Chcę przytyć' ) {fieldname6*2+((fieldname6*2)*0.15)} else if( fieldname8=='Sportowiec zawodowy' && fieldname9=='Chcę utrzymać masę ciała' ) {fieldname6*2.3} else if ( fieldname8=='Sportowiec zawodowy' && fieldname9=='Chcę schudnąć' ) {fieldname6*2.3-((fieldname6*2.3)*0.15)} else if ( fieldname8=='Sportowiec zawodowy' && fieldname9=='Chcę przytyć' ) {fieldname6*2.3+((fieldname6*2.3)*0.15)}In my free version I don’t see such an expo/import option
Thank you, thank you very much 🙂 for your help
And one more question. How can I transfer a ready-made calculator from the demo version to the client’s website? 🙁
Thank you very much for your help, it worked 🙂
I have one more question, can I also write comments between lines of code?if( fieldname8=='Siedzący' && fieldname9=='Chcę utrzymać masę ciała' ) {fieldname6*1.2} else if ( fieldname8=='Siedzący' && fieldname9=='Chcę schudnąć' ) {fieldname6*1.2-((fieldname6*1.2)*0.15)} else if ( fieldname8=='Siedzący' && fieldname9=='Chcę przytyć' ) {fieldname6*1.2+((fieldname6*1.2)*0.15)} else if( fieldname8=='Niska aktywność' && fieldname9=='Chcę utrzymać masę ciała' ) {fieldname6*1.4} else if ( fieldname8=='Niska aktywność' && fieldname9=='Chcę schudnąć' ) {fieldname6*1.4-((fieldname6*1.4)*0.15)} else if ( fieldname8=='Niska aktywność' && fieldname9=='Chcę przytyć' ) {fieldname6*1.4+((fieldname6*1.4)*0.15)} else if( fieldname8=='Umiarkowany' && fieldname9=='Chcę utrzymać masę ciała' ) {fieldname6*1.6} else if ( fieldname8=='Umiarkowany' && fieldname9=='Chcę schudnąć' ) {fieldname6*1.6-((fieldname6*1.6)*0.15)} else if ( fieldname8=='Umiarkowany' && fieldname9=='Chcę przytyć' ) {fieldname6*1.6+((fieldname6*1.6)*0.15)} else if( fieldname8=='Aktywny' && fieldname9=='Chcę utrzymać masę ciała' ) {fieldname6*1.75} else if ( fieldname8=='Aktywny' && fieldname9=='Chcę schudnąć' ) {fieldname6*1.75-((fieldname6*1.75)*0.15)} else if ( fieldname8=='Aktywny' && fieldname9=='Chcę przytyć' ) {fieldname6*1.75+((fieldname6*1.75)*0.15)} else if( fieldname8=='Bardzo aktywny' && fieldname9=='Chcę utrzymać masę ciała' ) {fieldname6*2} else if ( fieldname8=='Bardzo aktywny' && fieldname9=='Chcę schudnąć' ) {fieldname6*2-((fieldname6*2)*0.15)} else if ( fieldname8=='Bardzo aktywny' && fieldname9=='Chcę przytyć' ) {fieldname6*2+((fieldname6*2)*0.15)} else if( fieldname8=='Sportowiec zawodowy' && fieldname9=='Chcę utrzymać masę ciała' ) {fieldname6*2.3} else if ( fieldname8=='Sportowiec zawodowy' && fieldname9=='Chcę schudnąć' ) {fieldname6*2.3-((fieldname6*2.3)*0.15)} else if ( fieldname8=='Sportowiec zawodowy' && fieldname9=='Chcę przytyć' ) {fieldname6*2.3+((fieldname6*2.3)*0.15)}Hi, still need help. I would like the calculator to take two types of indicators to calculate the result, physical activity and diet goal. I managed to encode one dependency, but I can’t deal with the second indicator. Can I ask for advice?
if( fieldname8=='Siedzący' ) {fieldname6*1.2} else if ( fieldname8=='Niska aktywność') {fieldname6*1.4} else if ( fieldname8=='Umiarkowany') {fieldname6*1.6} else if ( fieldname8=='Aktywny') {fieldname6*1.75} else if ( fieldname8=='Bardzo aktywny') {fieldname6*2} else if ( fieldname8=='Sportowiec zawodowy') {fieldname6*2.3} else {fieldname6*1}Thanks, where should i sens the message. On what email?
- This reply was modified 3 years, 6 months ago by krysba.
Thank you very much for your help, it worked. I wanted to make a WHR calculator and modified the condition like IF((fieldname2==’Woman’?0.8:1)<fieldname4, ‘apple’ , ‘pear’ ) Now it works great, this plugin is amazing, thank you
Forum: Fixing WordPress
In reply to: reservation of places with updating of other placesHi, I was thinking about the plug, but can you recommend one that will allow a group of e.g. 30 people to book a place for a specific date? I mean, for example, reserving places for a language camp.