• I am currently developing a theme that supports Links as post formats. Whenever I click the publish button, wordpress converts the posts permalink to the first link in the post.

    This new link becomes the one returned by the tag <?php the_permalink(): ?>. Is there a way to prevent wordpress from rewriting the link of link type post formats and still have a specific link for that post?

Viewing 1 replies (of 1 total)
  • wordpress converts the posts permalink to the first link in the post

    Not quite. WordPress will generate a permalink for each post on demand but that link is never seen unless your theme makes use of it. If you don’t use <?php the_permalink(): ?> in that format’s template file, there’s no link for anyone to see or use.

Viewing 1 replies (of 1 total)
  • The topic ‘Permalinks for Link Post Formats’ is closed to new replies.