Title: Custom Variable Twitter
Last modified: January 14, 2022

---

# Custom Variable Twitter

 *  Resolved [lazystuff](https://wordpress.org/support/users/lazystuff/)
 * (@lazystuff)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/custom-variable-twitter/)
 * I’m using a custom variable for facebook – cf_getTitle which gets the title of
   the actual listing on my directory – rather than the page title.
 * However, with Twitter if I use this custom variable I get an error.
 * What custom variable should I use instead of getTitle for Twitter – to get the
   listing title, not page title?
    -  This topic was modified 4 years, 4 months ago by [lazystuff](https://wordpress.org/support/users/lazystuff/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcustom-variable-twitter%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Suwash Kunwar](https://wordpress.org/support/users/suascat_wp/)
 * (@suascat_wp)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/custom-variable-twitter/#post-15255395)
 * [@lazystuff](https://wordpress.org/support/users/lazystuff/)
 * We are sorry to hear that you’re having a problem with displaying the title of
   the listing post directory on Twitter preview.
 * In order to replicate the issue on our end, please provide us with screenshots
   that highlight the issue you are experiencing. You can use any image sharing 
   service like [https://pasteboard.co/](https://pasteboard.co/), [https://snag.gy/](https://snag.gy/),
   [https://imgur.com/](https://imgur.com/), [https://snipboard.io/](https://snipboard.io/),
   or even upload the screenshot to your own website. Once you upload it an image
   sharing service, please share the link to the image here.
 *  [devnihil](https://wordpress.org/support/users/devnihil/)
 * (@devnihil)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/custom-variable-twitter/#post-15282062)
 * We are going ahead and marking this issue as resolved due to inactivity. If you
   require any further assistance please create a new issue.

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

The topic ‘Custom Variable Twitter’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-seo/assets/icon-256x256.gif?rev=3419908)
 * [Yoast SEO - Advanced SEO with real-time guidance and built-in AI](https://wordpress.org/plugins/wordpress-seo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-seo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-seo/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-seo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-seo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-seo/reviews/)

## Tags

 * [twitter](https://wordpress.org/support/topic-tag/twitter/)

 * 2 replies
 * 3 participants
 * Last reply from: [devnihil](https://wordpress.org/support/users/devnihil/)
 * Last activity: [4 years, 4 months ago](https://wordpress.org/support/topic/custom-variable-twitter/#post-15282062)
 * Status: resolved