-
Round World Travels replied to the topic xprofile fields create link in the forum How-to & Troubleshooting 9 years, 1 month ago
OK, I figured this out, I had to change the URL buddypress profile field to a text field instead of a URL field. It would be ideal to keep it a URL field but it works this way. Anyone know how I would keep it a URL field but fetch plain text for the URL.
-
Betty Littleton's profile was updated 9 years, 1 month ago
-
Terry Sanchez's profile was updated 9 years, 1 month ago
-
Jeffery Swaim's profile was updated 9 years, 1 month ago
-
Denise McIntosh's profile was updated 9 years, 1 month ago
-
Round World Travels replied to the topic Display code from xprofile field in the forum How-to & Troubleshooting 9 years, 1 month ago
Just tried a html only ad and it also just displays the text code of the ad.
-
Round World Travels replied to the topic Display code from xprofile field in the forum How-to & Troubleshooting 9 years, 1 month ago
Any other suggestions? Right now the script actually shows up as text on the blog post with script tags and all that were pulled from the profile field.
-
Round World Travels started the topic xprofile fields create link in the forum How-to & Troubleshooting 9 years, 1 month ago
I’m trying to create a link on a members blog posts by pulling two fields from their profile.
1st Field: Website Name
2nd Field: URL to websiteI was trying the following code but it don’t work.
<a href="<?php echo xprofile_get_field_data( 'Your Website URL', get_the_author_meta( 'ID' ) ); ?>"><?php echo xprofile_get_field_data( 'Your Website…[Read more] -
Dr. John Schinnerer's profile was updated 9 years, 1 month ago
-
Henry Wright replied to the topic Is it possible to truncate long xprofile fields in member directory? in the forum Creating & Extending 9 years, 1 month ago
wp_trim_words() can do that. See this article
https://codex.wordpress.org/Function_Reference/wp_trim_words
-
Rory Moysey's profile was updated 9 years, 1 month ago
-
Robert Cooper's profile was updated 9 years, 1 month ago
-
George McClure's profile was updated 9 years, 1 month ago
-
Andrew Fitzgerald replied to the topic How to create friendly links to profile and embed avatar into menu? in the forum How-to & Troubleshooting 9 years, 1 month ago
🙂
-
Andrew Fitzgerald replied to the topic How to create friendly links to profile and embed avatar into menu? in the forum How-to & Troubleshooting 9 years, 1 month ago
Hi Piotr,
If your trying to put your Facebook link on the About Me section, you can use this code:
<a href="facebook.com/john-wick">John Wick</a>The above code will display just like this John Wick
Just change the url and the name that you want to display.
Hope this helps. 🙂
-
Andrew Fitzgerald's profile was updated 9 years, 1 month ago
-
metalhead started the topic Buddypress vs BBS in the forum Miscellaneous 9 years, 1 month ago
What’s up Buddypress people?
I’m a former BBS sysop. Are any of you former or current BBS people?
I got into BBSign in the early 90s, and I’m still into it somewhat, but a couple years ago, a friend of mine recommended ditching the 80 column ascii scene for WordPress. I fought it for a while, but I eventually listened.
So, I’m now a Buddypress…[Read more]
-
Round World Travels replied to the topic Display code from xprofile field in the forum How-to & Troubleshooting 9 years, 1 month ago
Thanks again Henry, tried what you said like this but couldn’t get it to work.
<script><?php echo xprofile_get_field_data('AD', get_the_author_meta( 'ID' ) ); ?></script>Do I need to take out the script tags from the profile field. However I notice there are two sets of them. The code on the buddypress profile field form looks like…[Read more]
-
Henry Wright replied to the topic BP CSS not loaded in header in the forum How-to & Troubleshooting 9 years, 1 month ago
wp_add_inline_style()is likely used to add the inline styling. Try searching for instances of that in Twenty Fifteen.Ref https://codex.wordpress.org/Function_Reference/wp_add_inline_style
-
Henry Wright replied to the topic Display code from xprofile field in the forum How-to & Troubleshooting 9 years, 1 month ago
What is the script language? If JavaScript then you will need to surround it with <script> tags.
- Load More