I am trying to build a custom shotcode. But somehow it’s not working.
I put in child theme _functions.php
function aa_test_function() { return ‘Lorem ipsum dolor.’; }
add_shortcode(‘aa_test’, ‘aa_test_function’);
Output of [aa_test] :
[aa_test]
What am I missing?
This reply is for PremiumPress customers only.
267
Views
1
Replies
Copyright © 2010-2026 PremiumPress Limited.
I am trying to build a custom shotcode. But somehow it’s not working.
I put in child theme _functions.php
function aa_test_function() {
return ‘Lorem ipsum dolor.’;
}
add_shortcode(‘aa_test’, ‘aa_test_function’);
Output of [aa_test] :
[aa_test]
What am I missing?
Members Only Content
This reply is for PremiumPress customers only.
Login Now