Hello.
I'm trying to pass a Wordpress post-page name to a url.
I can return the name with the following:
<?php the_permalink(); ?>" title="<?php the_title_attribute() ?>" ><?php the_title() ?>
or
<?php the_title() ?>
or
<?php get_the_title() ?>
But trying to get the title in a url is causing me a problem.
The url is:
if (($handle = fopen('http://www.mywebsite/client-private/210965/data.csv', 'r')) !== FALSE)
and I need to replace the 210965 part with the page title.