Jump to content

Archived

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

compassl

How to add featured header image to page template ?

Recommended Posts

compassl    1
compassl

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
Jake    74
Jake

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.


Have you searched the forums yet or checked out the DMS user docs?

PageLines geek, blogging at MyUntangledLife.com

Share this post


Link to post
Share on other sites
compassl    1
compassl

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
compassl    1
compassl

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

  • Like 1

Share this post


Link to post
Share on other sites
James B    436
James B

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


Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites

  • Similar Content

    • robertgourley
      By robertgourley+
      Maybe I'm going about this the wrong way.  I was hoping to create a template, then call the posts/page feature image as a hook/shortcode to display that above the rest of the page loop.
      What I'm specifically trying to do is have a full-width featured image, then a container with the post loop and side bar below. But I want the full-width image to be dynamically pulled from whatever post/page is using the template.
    • Claude203
      By Claude203
      I would like to left justify the feature thumbnail in the blog post summary, to the left of the title and excerpt, as in the attached image. Thank you.
       
       
       
       
    • alisamski
      By alisamski+
      Having issues when sharing a blog post to facebook. The feature image does not show up when about to share. Happening on two sites. Here is one:
       
      http://bit.ly/1dbuO3z
       
      Used to be able to select an image if there were multiples.
       
      Please advise.
    • flekvtah
      By flekvtah
      Hi, I want to use the same feature image at the top of my blog post template (http://www.appliedmindfulnesstraining.org/the-network/) as I am using on my blog (http://www.appliedmindfulnesstraining.org/presence-the-ground-of-mindfulness/) template.
      Very frustrating. I can't even locate where it is pulling the feature it is using.

      Any help would be great. Thanks
×