Jump to content

Simple Modification of php in Wordpress Question...


dijon

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

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.