get_permalink not working
-
For some reason, my get_permalink entry is not translating to the actual url, which also messes up the layout…
Here’s what shows in the text tab of my page editor:
<p class="float_right"><a class="pushbutton" style="width: 48px;" title="Features & Benefits" href="<?php echo get_permalink( 91 ); ?>">Explore</a></p>
Here’s what comes out in the page’s source:
<p class="float_right"><a class="pushbutton" style="width: 48px;" title="Features & Benefits" href="<?php echo get_permalink( 91 ); ?>*#8220;>Explore</a></p>
I replaced & with * in character code so it wouldn’t translate in this post… sometimes it doesn’t get replaced. Very inconsistent.
Any ideas?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘get_permalink not working’ is closed to new replies.