The snippet provided seemed to work fine, but there are a couple of configurations I was hoping you could guide me on?
I’m a bit of a noob, so I am taking this away as a learning experience. Thank you in advance for your patience.
Question #1. With the Code Snippet provided, I am unsure what to write in the ‘YOUR TEXT HERE’ so that I can have the author’s URL hyperlinked in one of the words. The string I want to create is:
“Send a tip to (@USERNAME)?”, with the @username hyperlinking to that user’s WordPress/BuddyPress member URL. I tried writing in “%s” (which looks like it was used in the ‘frontend.php’ file) in place of the @username, but it didn’t seem to work…
Is there a way I can change the text but still keep the display name / user name hyperlink?
Question #2. I wasn’t able to customize the concerned string of text by going to the frontend.php file, and I was wondering if it is because I should be putting the customized file in a different directory?
I tried putting the edited frontend.php in
wp-content/themes/my_theme/templates/wallets-tips/frontend.php like done for the previous files, but it did not seem to work.
I found the frontend.php in this directory
wp-content/plugins/wallets-tips/includes/frontend.php and tried to mimic what had been done for the previous tips.php file, by putting the customized file in
wp-content/themes/my_theme/includes/wallets-tips/frontend.php, but that didn’t seem to work either.
Would you happen to know where I might be messing up in this process?