We often write articles that are related to previously posted articles on our website. We therefore look for a possibility to link dedicated related articles in the new message with for example the button ‘Read more’. Sometimes it also happens that this is not necessary. Therefore this section should not always be visible.
Do you have any ideas on how I can set this up and that it is not too complicated for the editors who write to link messages? I know there are options for custom fields but I have no idea where to start.
Hello,
You can use a flex block and use one from those options https://i.imgur.com/Fo0R9ep.png
Thank you!
Hi Anamaria,
Thanks for the reply. How can editors link articles here without going to the TD composer? Our editors only write and don’t know anything about technical stuff. I want them to be able to do everything from Gutenberg in the post editor.
-
This reply was modified 1 year by
marijn390.
Hi,
Please let me know where exaclty you need to have those related articles inside the posts content.
You can set it only once on the template and it should works for all posts, like here https://i.imgur.com/0ARRlhL.png
Thank you!
Hey,
I created this widget for my site and it works well for our journalists because they indeed don’t understand anything from technical stuff – https://ibb.co/0pjtx909
It works when they paste a URL from our website in the post editor and it overwrites the default wordpress embed.
The code for it is this (you can add it via code snippets plugin or manually in functions.php)
https://pastecode.io/s/v24144db
Please double check everything (the code is written with the help of AI but it works well for us).
Important – make sure to change the fallback image because it is currently linking to my website default image.
Hi Anamaria,
I already have the related section that you show in the screenshot on the website at the moment. These articles are matched based on tags/categories. However, this is not desirable because we use the tags and categories for multiple news items that have nothing to do with each other.
So I am actually looking for a way where I can link an article myself in a related articles section. Otherwise we have to create a tag for each topic and attach it to the flex block via TD Composer. I hope you understand me, it is difficult to explain.
Update – to make the styling the same use this CSS in the live CSS – https://pastecode.io/s/9r2hr5rg
-
This reply was modified 1 year by
petar777.
Allow me to disagree with you. A forum as a word means “a meeting or medium where ideas and views on a particular issue can be exchanged.”. A lot of times users helped me find better solutions. I believe we as a community should help each other. Have a great day!
Hello,
You can use this plugin https://wordpress.org/plugins/custom-related-posts/ and link your posts.
Thank you!
