Tell us what you are trying to do?
I'm trying to develop directory listings and member profiles that take user inputs that generate a shortcode to display stuff on listings and/or profiles
Is there any documentation that you are following?
no, totally lost trying to figure it out
Is there a similar example that we can see?
I'm currently using ACF and a directory plugin, which does the job but it seems sort of hacked cludged together and is labor intensive . I need to create a lot of different shortcodes to trigger from third-party plugins.
/** Twitter Hashtag Feed **/
add_shortcode( 'twitterhashfeed_shortcode' , 'my_twithash_shortcode_callback' );
function my_twithash_shortcode_callback( $atts ) {
if ( !get_field( 'twitter_hashtag') ) return '';
$inputid = get_field( 'twitter_hashtag' );
return do_shortcode("<h3>Twitter Hashtag Feed</h3>[custom-twitter-feeds hashtag=\"{$inputid}\" num=4 showheader=false ]");
}
What is the link to your site? not applicable
Hi -
I have poked around various tutorials, threads and posts, but can't seem to find the right description to search for what I'm looking for.
Q: How would Toolset process custom field inputs to generate output shortcode on directory listings or member profiles?
Hello. Thank you for contacting the Toolset support.
I'm not sure what shortcocde you want to build but the example of shortcode you shared is a custom shortcode and we do not entertain custom shortcode as its beyond the scope of our support policy.