Hey there,
I’ve got a 2.x install of Pro on a site (will upgrade, eventually to 3 when we can get the time to test it out on a dev site). We’ve pretty heavily modified the code, so we’re not eager to jump right into an update and redo the mod work. Here’s the issue:
We’re using the advanced sidebar widget to display not only a bit of info about the events, but to provide *multiple* CTA links from each listing. I know that normally you would have a user click into the event single.php page and then shoot them off in different directions, but our client was adamant that they be able to do that right from the homepage. We hijacked a few of the variables not being utilized by the client (organizer email, etc) to display these links in the sidebar as links stylized to look like buttons. We’ve run out of variables to hijack, though, and now they want more buttons (aaah!). So I’m trying to just use the Additional/Custom fields options, and I was hoping to pass them off as these “buttonified” links (rather than just as “Label: Value”). However, to do so, I think I have to be able to grab each of these two additional fields’ values. The only thing I see to call them is: tribe_the_custom_fields( get_the_ID() );
If I named these variables “Ring 2” and “Ring 3,” and I wanted to do something like:
echo tribe_get_custom_field(‘Ring_2’);
or
echo tribe_get_custom_field(‘Ring_3’);
How would I do that?