permalink
-
Hi there,
could you please tell how to add link tag to the permalink?
-
Hi,
What do you mean by tag to the permalink? Anyway here you’ll find the function you’ll need to generate a custom link. https://plugins.trac.wordpress.org/browser/recommend-a-friend/trunk/inc/functions-tpl.php
First of all, thanks for your quick reply
second: i’m not into programming but just into WP, so be patience if something very stupid and easy for you won’t be so easy for me.I mean: by now the permalink is attached to the text “Hello, I’d like to recommend you the following page…” but with no link tag, so who will receive the email have to copy and paste the text to open the link: i’d like simply to add the ahref tag..
I’ve found this part of code:
else {
$textarea_value = __( "Hello,\nI'd like to recommend you the following page...\n", 'raf' ) . $current_url;}
in class-client.php file, but can’t add the php code to have the link
[ No bumping please. ]
-
This reply was modified 8 years, 6 months ago by
lombino.
-
This reply was modified 8 years, 6 months ago by
Jan Dembowski.
Hi @lombino,
I still don’t get the point. You don’t have to copy paste anything to send a link to your friends. I’m sorry if you’re not into programming, you can ask some help to the WordPress official slack or any others online developement support.
Maybe i did not explain well…
What i mean is that the recipient receive an html email with the url of the page with no link tag, so he has to copy the link and paste it in the browser to open the page. I simply want to add the a href tag in the email sentSide note:
you can ask some help to the WordPress official slack
There is no place to ask for support in the official WordPress Slack but there is a place on IRC if you need it.
Yes there is no tag because the content of the email is what you fill in the textarea. All recent emails readers automatically convert URLS into actual links.
I’m still open to include a patch if you have something to improve the plugin.
Thanks.
-
This reply was modified 8 years, 6 months ago by
The topic ‘permalink’ is closed to new replies.