WordPress.org

Forums

link an image in a gallery to a product category instead of a page (6 posts)

  1. Ulizee
    Member
    Posted 1 year ago #

    I have the Canvas theme. On the home page, I have 3 images linked to manufacturer, category and color selection pages. On the color selection page, I have 12 images in a gallery. I would like the user to be able to click on an image of the color in the gallery, and be taken to a product category that lists all product in that color. (ie:-the black image can be clicked in the color selection page, and the user would then see all black product images in the product category of black. Is it possible to do this without having a separate page for each Color Selection image? I also have a side bar menu that links all of the colors to the product, but would like to have both if possible. I am fairly new at this (surprised I got this far, actually!) and would appreciate any help offered! I have the WP gallery custom links, but I'm not sure how to use it. the URL is http://oldtimeglass.com

  2. Pioneer Web Design
    Member
    Posted 1 year ago #

    I would like the user to be able to click on an image of the color in the gallery, and be taken to a product category that lists all product in that color

    Create the related content and then in the Gallery you can edit each image's link.

    Above is default WP...if your theme or plugins change that, you will need to review with them.

  3. Ulizee
    Member
    Posted 1 year ago #

    I've tried that, but I must be doing something wrong, because I am getting a "page not found" error, or a lightbox image instead of product categories. I am clicking on the picture in the gallery and linking from there. I have all of the product categories listed, but it isn't linking.

    the code looks like this:
    [caption id="attachment_1032" align="alignleft" width="160"]<img class="size-thumbnail wp-image-1032 " alt="BLACK" src="http://oldtimeglass.com/wp-content/uploads/BLACK1-160x160.png" width="160" height="160" /> BLACK[/caption]

    Thanks for your patience!

  4. Ulizee
    Member
    Posted 1 year ago #

    to add to that, when I link it, I'm typing in http://oldtimeglass.com/product-categories/black and it comes up as above when I look at the text.

  5. WPyogi
    Forum Moderator
    Posted 1 year ago #

    Have you asked WooThemes or WooCommerce about this?

    WooCommerce support is here:

    http://wordpress.org/support/plugin/woocommerce

    Since Canvas is a commercial theme, we really can't help with it here - http://codex.wordpress.org/Forum_Welcome#Commercial_Products

  6. Ulizee
    Member
    Posted 1 year ago #

    Oh, sorry! I didn't know it was commercial. I just took a course in wp and the teacher installed it for me. I'll try that. Thanks anyway!

Topic Closed

This topic has been closed to new replies.

About this Topic