Adicionar no ficheiro functions.php do Divi Child:
add_filter( 'et_project_posttype_rewrite_args', 'custom_post_name' );
function custom_post_name () {
return array(
'feeds' => true,
'slug' => 'convite',
'with_front' => false,
);
}
Adicionar no ficheiro functions.php do Divi Child:
add_filter( 'et_project_posttype_rewrite_args', 'custom_post_name' );
function custom_post_name () {
return array(
'feeds' => true,
'slug' => 'convite',
'with_front' => false,
);
}
// filter the Gravity Forms button type
add_filter("gform_submit_button", "form_submit_button", 10, 2);
function form_submit_button($button, $form){
// The following line is from the Gravity Forms documentation - it doesn't include your custom button text
// return "<button class='button' id='gform_submit_button_{$form["id"]}'>'Submit'</button>";
// This includes your custom button text:
return "<button class='button et_pb_button' id='gform_submit_button_{$form["id"]}'>{$form['button']['text']}</button>";
}