Jump to content

Recommended Posts

I'm trying to bring a permalink into a plugin's code (podpress_theme.php) and am having trouble...

 

In podpress_theme.php, a variable called $podPressContent is populated with content and then displayed after the content on a wordpress post. I have tried to create a link that takes one to the entire post here:

 

$podPressContent .= '<a href="'.the_permalink().'" title="Entire Post">Entire Post</a>';

 

However, something is wrong with my link as the display is correct, but url does not show up. Instead, the url (permalink) shows up elsewhere in the post as text.

 

Any suggestions?

Thanks for your time/help!

Dijon

 

 

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.