@wp-fresher, you can use get_permalink() function to get the URL of the page that you want by the following manner: –
1) First get the page id from its title/ slug
2) Store the page id in a variable.
3) Pass this variable as an argument into the get_permalink() function.
You can check out the code here http://pastebin.com/MPjaZpSK
Can sombody please help…
I accidently deleted my entire .htaccess file after editing a 301 redirect. I clicked the wrong button. now i have a new .htaccess file and I dont know how to edit it, I dont know exactly what should be there or how to format it. I dont anything about it. Meanwhile my website is now just a white page. Im using the twenty eleven theme if that helps at all. Please Help…
Is there any way to pass variables from the post into the template? I’m using the PHP Exec plugin, and I’d like to use the post field to pass a bunch of variables into my content-single.php until I get my SQL database running. Any clues?
Use the wordpress extension. Save it through wordperss php extension it will work.
Im looking for the same solution… same problem in http://depoimentosdeamor.org but it is working now… In my new blog http://passagensaereaspara.com.br i think my theme is broken…
seems like i need to post replies on posts before i can post my own topic?