• 0

How to add featured header image to page template ?


Question

Posted · Report post

Im sure you have seen wordpress templates where you can upload a featured image on a page and it shows up in the header above the content. I would like to do this with in dms. I didnt see a featured image component and in the post loop component is said something about thubnail for post but that is certainly different than featured image for page.   Featured images are uploaded in the page editor so we need a compontent that contains the php to call the image.

Share this post


Link to post
Share on other sites

4 answers to this question

  • 0

Posted · Report post

Hi compassl - I'm not sure I totally understand what you're looking for/to accomplish, but it's probably something you can add with a section above the page content that includes an image, like the highlight section or perhaps a text box. Another option would be to use a hook http://api.pagelines.com/libs/hooks.html, like pagelines_loop_before_post_content.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

I can try to figure out hooks, that probably the right options.   For the novice programmer though It would be great if it could be done through dms.  I coulnt use a highlight section, I dont want my end user to use the dms so the templates I create have to be manageble through the admin and page editor.  I wonder if I put a php get featured image inside a text box if it would work.   One problem I see with dms is the settings you make on one page donot save into the template.  If I create a slider with 3 images and I save that into a template. The next page I create will have the default slider instead of the one I created.  Our saved templates need to have sticky configurations.

Share this post


Link to post
Share on other sites
  • 0

Posted (edited) · Report post

I created a featured image section. Ill publish it to the free store when I can firgure out how to.

Edited by compassl
1 person likes this

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Hi there, excellent sounds great :-)

 

If you're looking to publish in the store you'll need to sign up to the 300 group at http://www.pagelines.com/the-300/, then one of the core team will get back to you to advise further and complete your sign up.

 

Have a great weekend

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now