I work on D8. I Create to custom block with display content and Read More option. The URL alias is about_us of node/2, I want to add read more link with node/2 and show about_us on URL.

  • add a text field, with full html then put <a href="/about_us">Read More</a> – No Sssweat Feb 17 '16 at 6:45
  • This is not standard code, In D7 use <?php echo url('node/2'); ?> – Rituraj Kumar Feb 17 '16 at 7:00

If you have created that custom block using a view , yo can easily add link to the respective node.You can add content: link in the FIELDS section

enter image description here

  • Custom block create not using a view. just by url block/add and link to any content page (node/1 or node/2 or node/3), not respective node. – Rituraj Kumar Feb 17 '16 at 6:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.