[Support request] sideheader image woocommerce

Home Forums Support [Support request] sideheader image woocommerce

Home Forums Support sideheader image woocommerce

Viewing 15 posts - 1 through 15 (of 28 total)
  • Author
    Posts
  • #620519
    Nikolaj

    hello Tom,
    last year you helped me with getting to show sideheader image on a woocommerce product page but now after updating your plugin and woocommerce it’s gone?

    Do you remember what we did to enable it?

    This is critical to my site so hopefully you can help…

    Nik

    #620663
    David
    Staff
    Customer Support

    Hi there,

    i can’t see this in your Topics, if it was a topic you raised here then click the Forum Profile button at the top of the page and it should be listed there.

    If not can you provide some more detail regarding the ‘sideheader(?)’

    #620670
    Nikolaj

    the sidehead for giving a post (in this case a product) a sideheader image…

    #620718
    Leo
    Staff
    Customer Support
    #621930
    Nikolaj

    no not quite – I just want the ability to add an image (just like featured image) at top of a products page; New product = new image. Do you have a filter for enabling that? Tom helped me last year…

    #621931
    David
    Staff
    Customer Support

    Hi there, we can’t find any record of that topic, the Page Header option that Leo refers to sounds like the easiest method. It can be set to just display the products featured image.

    If not can you remember whether the method provided used a PHP snippet?

    #621935
    Nikolaj

    how to apply David’s method – in the backend or through the ‘page-header’ in admin?

    Yeah I believe it was a php snippet…

    #621967
    David
    Staff
    Customer Support

    Pageheader:
    1. Activate Page Headers in Dashboard > Appearance > GeneratePress. This will add a Page Header Menu to the dashboard.
    2. Page Headers > Add New.
    3. Go to content panel (don’t add an image). Add some content. use an empty element like <span><!---empty---></span> so the header displays.
    4. Select Add Background image toggle, set your Containers to contained and add Top / Bottom Padding to suit your image height requirements. Then save
    5. Page headers > Global Locations > Post Types – Single > Products and assign the header you just made.

    #621973
    Nikolaj

    no I want a specific image for each specific product; So when adding an image in the ‘sideheader’ menu below product detail I want it to be shown at the top of the productpage – just like a featured image does in a post.

    http://www.casacoolkarma.dk/vare/svanen/

    It worked before upgrading…

    #622067
    David
    Staff
    Customer Support

    Ok, little confused, so checked the email you sent to support, the image you provided for the ‘sidehoved’ is the old page header.
    In GP 1.6 Page Headers were moved to the dashboard as said above, all the settings remain the same.
    To assign them to an individual product, in the editor you need to look for the Layout meta:

    Layout Meta

    #622078
    Nikolaj

    but I don’t want to add a sideheader! I want to add an image to the top of a products page throught the ‘sidehoved’ that has an image tab.

    Besides using the method you suggest doesn’t work either; Please let Tom have a look at this – he KNOWS exactly what I mean and how to make it happen;)))

    Nik

    #622108
    Nikolaj

    just for fun when adding this img tag:
    to the single-product.php file – the image is shown; Now I just need to make the path dynamic so it’s picked from the ‘sidehoved’ path – any idea?

    #622133
    Nikolaj

    something like:

    <img src="product-<?php the_ID(); ?>">
    

    however I can’t find the param for the ‘sidehoved’ img…

    #622190
    Tom
    Lead Developer
    Lead Developer

    Where would this image come from? Products don’t have a “Featured Image” option like regular pages.

    #622195
    Nikolaj

    from the ‘sidehoved”billede’ in English ‘siteheader’ ‘image’ which is present below product details…

Viewing 15 posts - 1 through 15 (of 28 total)
  • You must be logged in to reply to this topic.