Title: Dynamic Meta variable
Last modified: January 18, 2023

---

# Dynamic Meta variable

 *  Resolved [jqchen](https://wordpress.org/support/users/jqchen/)
 * (@jqchen)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/dynamic-meta-variable/)
 * Hi, I’m trying SEOpress for managing my keywords , meta title, description, etc.
   I find it that I could assign my own dynamic meta variable inside functions.php.
 * I’m using an elegantthemes (Divi builder). I cached it with litespeed. The thing
   I would like to ask is: The dynamic variable that I’ve created can’t be loaded.
   I’m using a child-theme. So I pasted the code to my child-theme functions.php:
   //
   input custom meta to seopress
 * function sp_titles_template_variables_array($array) {
   $array[] = ‘%%namapt%%’;
   return $array;}add_filter(‘seopress_titles_template_variables_array’, ‘sp_titles_template_variables_array’);
 * function sp_titles_template_replace_array($array) {
   //escape your values!$array[]
   = esc_attr(wp_strip_all_tags(‘PT. Jagat Maya Internasional’));return $array;}
   add_filter(‘seopress_titles_template_replace_array’, ‘sp_titles_template_replace_array’);
 * I get it from article at SEOpress. But it didn’t show up when I try to search
   it inside divi builder.
 * Dynamic Meta Variable doesn’t show
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdynamic-meta-variable%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Benjamin Denis](https://wordpress.org/support/users/rainbowgeek/)
 * (@rainbowgeek)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/dynamic-meta-variable/#post-16413827)
 * Hi,
 * we have been able to reproduce the issue.
 * Note that you can use your new dynamic variable by manually entering it in the
   fields, it will work as expected in your source code.
 * Thx
 *  Plugin Author [Benjamin Denis](https://wordpress.org/support/users/rainbowgeek/)
 * (@rainbowgeek)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/dynamic-meta-variable/#post-16420663)
 * We are closing this ticket as this will be fixed in our next major update.
 * Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Dynamic Meta variable’ is closed to new replies.

 * ![](https://ps.w.org/wp-seopress/assets/icon-128x128.gif?rev=3158903)
 * [SEOPress - AI SEO Plugin & On-site SEO](https://wordpress.org/plugins/wp-seopress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-seopress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-seopress/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-seopress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-seopress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-seopress/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Benjamin Denis](https://wordpress.org/support/users/rainbowgeek/)
 * Last activity: [3 years, 4 months ago](https://wordpress.org/support/topic/dynamic-meta-variable/#post-16420663)
 * Status: resolved