• I am an ex developer but NEW to wordpress & php etc and trying to learn as I go..

    I have created a Custom archive post loop template with Elementor Theme Builder, and I want to add a button with a URL like “server/wordpress/code/mycode.php?post=1234

    I cannot find out HOW I can make Elementor add the Post ID to this link.

    Is there a way to do this.

    (I couldn’t find out how to get this info in the “mycode.php” either as global $post doesn’t seem to work.

    Any help is appreciated.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘post loop template – Create a button url with “?post=NNNN”’ is closed to new replies.