Grab Node ID from URL of Current Page?
How do I grab the Node ID in the URL of the current page and pass it through a link?
1) The URL on the current page is in the format: website.com/parameter/parameter/parameter and the third parameter is the Node ID. 2) I want to grab that Node ID and put it into a link on that page like Link
The screen capture illustrates this.

screen capture
This article was republished from its original source.
Pixeldust is a 20-year-old web development agency specializing in Drupal and WordPress and working with clients all over the country. With our best in class capabilities, we work with small businesses and fortune 500 companies alike. Give us a call at 1(800)730-2416 and let’s talk about your project.