Open extra topbar

illesttech

I reply to all queries on the forums and via email, once per day, Monday to Friday (not weekends).

If you are new here, please see some information on how to ask for support. Thank you!

illesttech

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Change Button Text #10376
    illesttech
    Participant

    Hi again,

    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?

    Kind regards,

    in reply to: Change Button Text #10373
    illesttech
    Participant

    Sorry for the double post.

    It seems that I was able to get everything changed except for this one string of text that I cannot find in the tips.php file.

    The default text seems to be: “Send a tip to author (@USERNAME) for this article?”

    Would you be able to help me change this text as well?

    Thanks!

    Attachments:
    You must be logged in to view attached files.
    in reply to: Change Button Text #10372
    illesttech
    Participant

    Hi Alex,

    I was able to customize my template using both the snippet and by modifying the UI template, thanks to your clear and concise instructions.

    Cheers!

Viewing 3 posts - 1 through 3 (of 3 total)