Jaer1823
Forum Replies Created
-
You can use code snippet or add this at function, is different from above code but this ones work for me
<– // on your theme -> functions.php or code snippet –>
add_action(‘wp_logout’,’auto_redirect_after_logout’);
function auto_redirect_after_logout(){
wp_safe_redirect( home_url() );
exit;
}`I hope this helps someones is first code doesn’t work
Forum: Plugins
In reply to: [Calculated Fields Form] Items inside fieldsThanks a lot the plugin work as charm with the code you gave me. It is a very profesional atention, and fast reply you save My job.
Best regards,
JorgeForum: Plugins
In reply to: [Calculated Fields Form] Values in Dropdown/Checkboxes fieldsThanks a lot the plugin work as charm with the code you gave me. It is a very profesional atention, and fast reply you save My job.
Best regards,
JorgeForum: Plugins
In reply to: [Calculated Fields Form] Items inside fieldsThe question was how I can call a third field by the combination of two items from fieldname1 and fieldname2.
For this example I have 4 fields: fieldname1 and fieldname2, drop down menu, fieldname3 another control, any of them, and finally the fieldname4, a calculated field.
for displaying the third field a gave to fieldname1 a value of 1 and for fieldname2 a value of 3.
I assign to the fieldname3 a classname I pasted in Add Css Layout Keywords and then paste the attribute in the css style as .{display:none;}
and finally in the fieldname4 ( Calculated field) I paste the code they gave me:
function(){
if( fieldname1 == 1 && fieldname2 == 3)
{
jQuery( ‘.myclass’ ).show();
}
else
{
jQuery( ‘.myclass’ ).hide();
}// The rest of the equation here
})()
everything it is ok but nothing happened my third field doesn’t appear.
this is my site: https://marketingpowercolombia.com/Qutation/quotation/
Thanks for help I already sent a ticket.
Forum: Plugins
In reply to: [Calculated Fields Form] Values in Dropdown/Checkboxes fieldsI would like to know how i can select some options from 2 fields to show a third one field
using logical conditionalfor example
field1:
a
b
cfield2:
d
e
fso field 3 is the comb ination of field1(a) and field2(d)
Forum: Plugins
In reply to: [Calculated Fields Form] Values in Dropdown/Checkboxes fieldsI would like to know how i can select some options from 2 fields to show a third one field
using logical conditionalfor example
field1:
a
b
cfield2:
d
e
fso field 3 is the comb ination of field1(a) and field2(b)