eXceem

Go Back   eXceem > Websites > Website Discussion

Claim your amazing £1,000 slots booster bonus now!


PHP WordPress

This is a discussion on PHP WordPress within the Website Discussion forums, part of the Websites category; Does anyone know what the PHP Function to insert the page name (WordPress) So I basically want to take the ...

Reply
 
Thread Tools
Old 21-06-11, 06:12 PM   #1
iPaidNothing
 
alexjames's Avatar
 
Join Date: Sep 2010
Location: London, UK
Posts: 1,092
alexjames is a jewel in the rough
Arrow

PHP WordPress


Does anyone know what the PHP Function to insert the page name (WordPress)

So I basically want to take the page name(variable) and insert it in to a sub title....if that makes sense :S

+Rep to anyone who helps!

Edit:

Found it!

Code:
<?php            
         echo $post->post_title;
    ?>
__________________

Last edited by alexjames; 21-06-11 at 06:17 PM..
 
Reply With Quote
Old 21-06-11, 08:14 PM   #2
iPaidNothing
 
alexjames's Avatar
 
Join Date: Sep 2010
Location: London, UK
Posts: 1,092
alexjames is a jewel in the rough
Okay. Sorry to DP, but...

Does anyone know how to put a variable (in this case the page name) in to another variable(a plugin)

This is what I have at the moment:

Code:
<?php if ( function_exists( 'wikibox_summary' ) ) wikibox_summary( "<?php            
         echo $post->post_title;
    ?>" ); ?>
__________________
 
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off





All times are GMT. The time now is 08:22 PM.
All trademarks and copyrights held by respective owners. Forum posts are owned by the poster.

Powered by vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO
no new posts