Automatically setting the post ID
-
Hi there,
I’ve been reading through a few of the support questions as I was looking for the same answer; How to automatically set the Post ID!
I have come up with the following workaround set into the post template PHP template:
<?php $currentpost = get_the_ID(); {echo "<a href='https://rhedeg.co.uk/?page_id=7112&gform_post_id=" .$currentpost. "' >Update post</a>";} ?>
I hope this helps!
- The topic ‘Automatically setting the post ID’ is closed to new replies.