dinhuakt
Forum Replies Created
-
Forum: Plugins
In reply to: [Advanced Forms for ACF] Post TitleWorked like a charm!
Very thank you for your support Fabian.
Nice plugin!
Forum: Plugins
In reply to: [Advanced Forms for ACF] Post TitleYes, I have used the unique key.
function filter_email_subject( $subject, $email, $form, $fields ) { // Alter the subject line $subject = get_the_title(); return $subject; } add_filter( 'af/form/email/subject/key=form_596e935ba3e3b', 'filter_email_subject', 10, 4 );
It sent me an email with a “no subject”. It seems not getting the title value from get_the_title().
Forum: Plugins
In reply to: [Advanced Forms for ACF] Post TitleThat’s the way!
I just not figured out how to insert post title.
<?php function filter_email_subject( $subject, $email, $form, $fields ) { // Alter the subject line $subject = get_the_title(); return $subject; } add_filter( 'af/form/email/subject/key=MY_FORM_KEY', 'filter_email_subject', 10, 4 );
Not working ??
- This reply was modified 7 years, 7 months ago by dinhuakt.
Forum: Plugins
In reply to: [Advanced Forms for ACF] Post TitleAny clue?
Ty anyway thomas !
Forum: Plugins
In reply to: [Advanced Forms for ACF] Post TitleYes, it is the title of the page the form is displayed.
Forum: Developing with WordPress
In reply to: Custom FunctionHi Steve I’m using :
add_action( 'init', 'conserva', 'iunc', 1 );
add_action( 'init', 'conserva', 'iunc', 1 ); function conserva($iunc){ switch($iunc) { case EX: $iunc = "Extinta"; break; case EW: $iunc = "Extinta na Natureza"; break; case CR: $iunc = "Criticamente em Perigo"; break; case EN: $iunc = "Em Perigo"; break; case VU: $iunc = "Vulnerável"; break; case NT: $iunc = "Quase Amea?ada"; break; case LC: $iunc = "Pouco Preocupante"; break; case DD: $iunc = "Dados Deficientes"; break; case NE: $iunc = "N?o Avaliada"; break; } return $iunc; }
Forum: Fixing WordPress
In reply to: Menu Issue after Installing a pluginFlush worked!
Ty a lot Denzel !
Forum: Fixing WordPress
In reply to: Menu Issue after Installing a pluginAny clue ?
Forum: Fixing WordPress
In reply to: Menu Issue after Installing a pluginHi Denzel,
I have completly delete the page, created another one with the same “especies” name and reassigned a menu…..but still nothing.
As you can see in my plugin (already unninstaled), I have assigned a menu “especies”….same name the page already exists….I guess it cause the conflict…and I’m wondering how to fix it.
TY
Forum: Plugins
In reply to: [Events, Calendars & Tickets - Event Kikfyre] StylingHi, I have the same issue here. No styling.
Ty in advance.