Hello!
TSF stores user-meta as an array, which WordPress’s User Meta API converts to a serialized string before saving. Only when obtained via WordPress’s (User-)Meta-API you can obtain the unserialized (and filtered) array-version thereof directly and securely. Heed that last word. The array must then be walked to obtain your desired value, which I don’t think Elementor allows you to do.
You might be better off doing this programmatically, such as implementing a shortcode.
For example, the following shortcode outputs a link when a Twitter profile field is set for the current post’s author:
add_shortcode( 'my_tsf_twitter_author', function() {
if ( ! function_exists( 'the_seo_framework' ) ) return '';
// Mind that TSF adds a '@' in front of this, so we need to trim that later.
$twitter = the_seo_framework()->get_current_author_option( 'twitter_page' );
if ( ! $twitter ) return '';
return sprintf(
'<a href="%s" class=twitter-profile>Follow %s</a>',
esc_attr( 'https://twitter.com/' . ltrim( $twitter, '@' ) ),
esc_html( $twitter )
);
} );
Transform twitter
to facebook
in that shortcode, tweak the URL output, and you got yourself a working shortcode for Facebook profiles, too ??