By Manuela Weibel on Wednesday, 06 January 2021
Posted in General Issues
Likes 0
Views 703
Votes 0
Dear support team,
Is there a way to make the "permalink" of a post visible in the frontend (so the users can see and copy it)?
Thank you and best wishes,
Manuela
Hi there,

Thanks for the explanation. As I mentioned before, there are no available options to do this. You'll need to do some customization on the theme file.

I am assuming you're familiar with PHP, create a template override for this file and place the following codes to display the permalink.
/components/com_easyblog/themes/wireframe/blogs/entry/default.posts.php

<a href="<?php echo $post->getPermalink(); ?>"><?php echo $post->getPermalink(); ?></a>

You may refer to this documentation for guide.
https://stackideas.com/docs/easyblog/administrators/customizations/template-overriding

Hope this helps.
Thanks.
·
Thursday, 07 January 2021 19:14
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

There are no available options to do this. You'll need to apply some customization to the theme file in order to achieve this.

By the way, I don't really understand why do you need to display this? The blog's permalink will always be available on the url bar. You can just simply copy the url on the url bar to get the blog's permalink.

Thanks.
·
Thursday, 07 January 2021 10:22
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you for your answer. I am aware that this is the same as the URL. Due to our policy (Open Science Policy), we technically ensure the permanence of links and want to make the users aware by displaying a "permalink" button.
·
Thursday, 07 January 2021 17:53
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you very much. Will look into this soon.
Kind regards,
Manuela
·
Friday, 08 January 2021 00:21
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

You are most welcome. Glad to hear that your issue has been resolved now.

Just for your information, I have locked and marked this thread as resolved to avoid confusion in the future. Please start a new thread if you have any other issues in the future so it will be easier for us to manage your inquiries.

Thanks for understanding.
·
Friday, 08 January 2021 10:09
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post