Help with linking to wordpress article
-
I have made this site https://www.tinemuller.dk/wholocations/bookcode/ and if you click the markers a link is made to this site https://www.tinemuller.dk/new_wordpress/ where all the articles can be seen.
Now what I want is to make it dynamic so that it from each marker opens to the right article like for instance
https://www.tinemuller.dk/new_wordpress/?p=11
https://www.tinemuller.dk/new_wordpress/?p=16
https://www.tinemuller.dk/new_wordpress/?p=17
and so on. This information is in a field in the database called guidThis is some of my code from map_data.php
<? $info_html='<b>'.$row['name'].'</b><br />'.$row['adresse'].'<br />'.$row['postnummer']. ' ' . $row['location'].'<br />' .'<b>Position:</b> ' .$row['lat']. ', ' . $row['lon'].'<br /><br />' .' Link to more info. Something like <a href="https://www.toiletmap.gov.au/browse.aspx?type=area&id=6f950288-da86-450a-9171-e67f5b98c6df">this.</a><br><br>And maybe make a comment to a blog. Something like <a href="https://www.tinemuller.dk/new_wordpress/">this.</a>'; ?>
Hope someone can help, please.
- The topic ‘Help with linking to wordpress article’ is closed to new replies.