Jump to content

Archived

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

hrachovec

Images in templates help

Recommended Posts

hrachovec

Hello:

 

I'm trying to achieve a simple design but it's proving difficult. I'm making a portfolio site where I have a piece of artwork appearing on top, with the WP post loop underneath. 

 

Attached is the basic layout I'm trying to achieve.

 

Each of these work samples are Posts in my Wordpress. The issue I have is that when I add a large image to Post A then go Post B, that Post A image appears on Post B. Guessing this was a template issue, I tried to create a unique template for each Post (which seems overly complicated but I couldn't think of how else to do this). But that approach doesn't fix the issue either. 

 

When I'm on Post B and insert its unique image into the Media Box up top, if I go back to the Post A, that Post B image is up top where it shouldn't be. 

 

I've tried unlocking templates so Post A and B are using their own template and are unlocked but they still seem to be connected because I get that image issue mentioned above. 

 

I've also noticed that if I assign the Post A template to Post A, then if I go over to B, it's template has switch to A. Grr! 

 

Post A: http://testing002.compoundeyedesign.com/vivify-health-logo-design/

Post B: http://testing002.compoundeyedesign.com/consultancy-hive-logo-design/

 

Confusing, I know. Any ideas of how to do this more easily?

 

Thanks in advance, Russell

 

 

Share this post


Link to post
Share on other sites
Danny

Hi Russell.

 

Unfortunately, you can not have different templates on a post by post basis. You can only have one template for all posts.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
hrachovec

Hi Danny:

 

OK, thanks. Then can you tell me if there's any way to achieve that layout I had using DMS?

 

Cheers, R

Share this post


Link to post
Share on other sites
Danny

You can create that layout. However, the image used via the MediaBox will be present on all your posts. The only other way would be to use either NextBox section or hooks, this way you can have different images on different pages using WordPress conditional tags.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
hrachovec

Hi Danny:

 

OK, thanks. I'll look into those.

 

Cheers, R

Share this post


Link to post
Share on other sites
Danny

No problem.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites

  • Similar Content

    • DonRicardoRVM
      By DonRicardoRVM+
        First of all, sorry for my bad English.  I am developing an ecommeece with wp, woocommerce, PL5 and quickshop, and I need to do some changes in the simple product grid. I want to change the classes of some divs, but I can't find the templates. 
      Also, I change the grid of the category products pages, but I didn't make it correctly.
      This is the cat archive's: http://globosdemar.com/wp/categoria-producto/camisetas-para-ninos-y-ninas/
      Can you help me?
    • poseyg
      By poseyg+
      Could someone explain exactly how the new template sync works or what it is suppose to do?
    • Anthony King
      By Anthony King+
      I have to say that I like the Layout and the Template based sections. Some of them are really impressive.
      One of the things that I would like to request though is the possibility of being able to dynamically rearrange the layout.
      An example of what I am talking about is take the Agency Section. It's current layout starts with the
      Splash Module then the Portfolio Module then the Service Module and so on and so forth.
      What would be great is if we were able to move these modules around. I.e have the Service Module first
      then maybe the Splash, and then the portfolio.
       
    • flourishdesignstudio
      By flourishdesignstudio+
      I am using Jigoshop on a website that also uses PL5 and am running into an issue where the store pages do not allow me to use the PL5 editor. Is anyone else having this problem or know if a solution? 
      When I open the Chrome console I see the following error:
      site.js?ver=b199df:5 Uncaught ReferenceError: PLData is not defined
          at Object.setMasterModel (site.js?ver=b199df:5)
          at Object.init (site.js?ver=b199df:5)
          at HTMLDocument.<anonymous> (site.js?ver=b199df:5)
          at i (jquery.js?ver=1.12.4:2)
          at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4:2)
          at Function.ready (jquery.js?ver=1.12.4:2)
          at HTMLDocument.K (jquery.js?ver=1.12.4:2)
       
      The problem can be seen here: http://fingerlakesdistilling.com/shop/ where the sidebar, footer, and header do not show up. Any thoughts?
      Thanks so much!
    • Queue-it
      By Queue-it+
      I've created a new post category "Success stories" with Custom Post type UI. (in order to have a different layout for a different post category - blog post one layout, success stories another layout).
      New category "success stories" are "detached" from all the other posts, so they have a different layout, but the problem is that all of the success stories are also having the same exact content.
      So whenever I edit content (e.g. change body text) on one of success story posts, it also changes the content (body text) for all other Success story category posts. 
       
      Question: Is there a way to retain this separate category with it's own layout, and have a different content for each individual post? I'm using Pagelins templates. 
       Thanks in advance.
×