Forum Replies Created
-
Author
-
jward2090Participant
For some reason I can’t edit my post. I used code and it didn’t display right…I had to take out the anchor tags and just replaced theme with “a” and “/a”. Here’s my edited post:
Hi,
This is a fairly complicated question. I have a profile field that I want users to fill out and then on their profile a button is displayed like this:
add_action(‘kleo_bp_after_profile_name’, ‘my_profile_button’);
function my_profile_button()
{
echo ‘a href=”#” class=”success button radius show-for-small” rel=”nofollow” My button’ /a ;
}I need to make a specific profile field show up in the href=”#” spot. I tried doing this but it “broke” my theme:
add_action(‘kleo_bp_after_profile_name’, ‘my_profile_button’);
function my_profile_button()
{
echo ‘ a id=”link” href=”<?php echo $_POST[‘field’];?>”>My button /a’;
}
}Basically I need to change the link to whatever the user inputs in the profile field. Do you know a way to do this? If you want I can reply with the specific profile field I need added into the href=”#” spot, but I need it to be private.
Thanks!
jward2090ParticipantAwesome! You guys are great. One last question, what class do I use for styling? Thanks!
October 4, 2013 at 22:55 in reply to: Getting a 404 error for Reasons To Join and Contact Page #3850jward2090ParticipantIt seems to be working now. Please disregard this.
-
AuthorPosts