Short-code does not work
-
When I try to use the “M” from the code editor to use the short-code option, it does not work and it appears always admin, instead of the personalised name.
[subscriber:firstname | default:subscriber]
And in the email, says admin..
-
Hi there @victoriapl,
I just tested the
[subscriber:firstname | default:subscriber]
shortcode in an email on my own site, sending to several of my personal test recipient addresses.In each case, when the First name field for the recipient was set (as shown in the subscriber’s profile under MailPoet > Subscribers), then it displayed their first name as expected. When there was no first name set, then it showed “subscriber” instead.
In your case, it sounds like the address where you received the email may have the first name field set as “admin”. If you look up the address under MailPoet > Subscribers, and click Edit to view their profile, what do you see in the “First name” field?
If you are still having trouble, please send screenshots of:
- the email in the Email Editor
- the received email
- the subscriber profile (clicking “Edit” from the MailPoet > Subscribers list)
I recommend https://snipboard.io for easily sharing screenshots – please follow the instructions on the page, then paste the URL in your reply here.
Hi there @kellymetal
I did all the steps and still I am having issues. I made screenshots in order you can help me to solve this.
https://snipboard.io/DHVwMJ.jpg
Hi again,
Thanks for the update.
I can see that the shortcode included in the email is OK.
That said, could you also share a screenshot of the subscriber profile by clicking “Edit” from the
MailPoet > Subscribers list
?That will let me see the first name associated with that email address, as we suspect it might be saved as admin.
Looking forward to hearing back from you!
Cheers
Sure! Please find attached it
Hello again @victoriapl ,
I can see that the first name field is populated correctly.
It is also possible that there could be a plugin conflict or a setting on your WordPress site that is affecting the output of the shortcode. Try disabling any recently added or updated plugins one by one to figure out if there is a conflict. Here’s a guide to help: https://kb.mailpoet.com/article/204-how-to-test-for-plugins-conflict
I hope this points out the issue.
HI! I updated all the plugins and I am still having the same issue with Mailpoet short codes functionality
Hi @geraltrivia Ojoma,
After reviewing your previous post, I realised that the health site options don′t appear.
Look at here https://snipboard.io/9zhxoH.jpg
Hey @victoriapl ,
Thanks for getting back to us. Let’s take a step back here. By reviewing the screenshots you sent, I see that you sent the test email to [email protected]: https://snipboard.io/bFoTwQ.jpg
When we asked you to send the subscriber details in MailPoet > Subscribers, you sent the screenshot of the subscriber with the address [email protected]: https://snipboard.io/5XcnaV.jpg
Can you send us a screenshot of the [email protected] subscriber details?
Also, you confirmed that you updated all the plugins. Can you also confirm if you tested for conflicts as recommended by my colleague? Ref: How to test for conflicts
Hi @guicmazeredo I checked the info on the darlingworkshops and it seems fine:
https://snipboard.io/bFoTwQ.jpg
https://snipboard.io/DHVwMJ.jpg
https://snipboard.io/gqsi5e.jpg
https://snipboard.io/OyYfvH.jpg
Also my plugins are updated:
https://snipboard.io/VGRD2w.jpg
It is true that the site health page does not appear complete, with less options on the menu. Troubleshooting is missing as you can see:
https://snipboard.io/NjCh86.jpg
Any idea of what is happening?
Thanks a lot!
Hi again,
Thanks for the update and the screenshots. Let’s check a couple of things.
- Can you check if the user [email protected] is a WordPress user and their WP name is
admin
. You can check that underWP-Admin > Users
- If that’s no it, can you please Test for Theme and Plugin Conflicts, please note that updating the plugins wouldn’t be enough.
Looking forward to hearing back from you!
Hi @danielinhou
I followed all the steps you recommended to me but I am afraid that even installing the troubleshooting mode with a plugin because I have an older wordpress version, the issue persists.
Any idea, what could it be?
Thanks!
Hi @victoriapl ,
You mentioned that you are using an old WordPress version. This could cause all sorts of issues. Are you able to create a staging site, update WordPress on the staging site and see if the issue is sorted? Make sure to also use the latest MailPoet version and deactivate all other plugins.
Many hosts provide staging facilities, so it’s worth checking in with them. It’s also possible to do it using the free WP Staging plugin.
Also, my colleague asked you to check something important and I’m copying it below again in case you’ve forgotten:
Can you check if the user [email protected] is a WordPress user and their WP name is
admin
. You can check that underWP-Admin > Users
I’m looking forward to hearing from you!
Hi @guicmazeredo darlingworkshops is not an admin user, the admin user is Notas de Mar with a different email account.
In regards to the new WordPress version is updated and also I have the last Mailpoet version but I found something else here. They asked me to upgrade the php from my website and maybe this is causing the issue, but when I go to the godaddy hosting guide the page does not exist. Any light with this?
Hello there @victoriapl ,
Thank you for getting back to us and letting us know. We will get the linked checked.
In the meantime, can you kindly reach out to your website host support to assist you in upgrading your PHP version?
Looking forward to hearing back from you.
I am afraid that after updating the PHP version of my host Website to the 8.1 the issue with the Mailpoet sending persists…
Any light with this? I can not personalise my emails, it continues being Hi admin… with all the emails.
@kellymetal @danielinhou @guicmazeredo @geraltrivia
Thanks in advance
- You must be logged in to reply to this topic.