Jump to content

Archived

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

nickvdt14

Page Title

Recommended Posts

nickvdt14

Hi there!

 

I've created a few gallery pages and would like to have the title of the page display automatically above the images. What's an easy way of achieving this?

 

Thank you for the help!

Share this post


Link to post
Share on other sites
Rob

Well, you could, I suppose, manually add it to the page either via the page editing, or via DMS using a text field. 

 

Framework had an option for this, but I don't recall one for DMS.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
nickvdt14

I was thinking about using a text field, and then just saving a template for the pages I need to use it on. What code should I put into the text field? 

Share this post


Link to post
Share on other sites
Rob

Something like <h1>YOUR PAGE TITLE</h1>


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
nickvdt14

That's what I've been doing for now, but isn't there a way I could add some code that would pull the title of the website automatically? I could add a text box in the header with the code in so that it displays for all my pages?

Share this post


Link to post
Share on other sites
Rob

Use Shortcode PHP Exec which lets you convert PHP to shortcode.  See the info here about the proper PHP code to pull post titles.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
nickvdt14

Thanks Rob!

 

Was trying to use PHP in the DMS textbox area. Will make the necessary changes :)

Share this post


Link to post
Share on other sites
Rob

Always a pleasure! :D


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites

×