• Resolved vitsippa

    (@vitsippa)


    Hi, I just started testing the product catalog (free version) and it looks really promising. Very easy user interface.

    But I have a problem: When I click on my “Products” page in the top meny it sends me to that page. But the Products page meny item in the top meny is not marked as clicked, instead the “Blog/News” meny item is marked, so it looks as I am on a blog page. I understand it is using the same loop, but I don′t want that to show like this.

    I have not made the PHP-fix yet. Do I have to?
    If I do, will it be overwritten every time I update the theme or WP??

    https://www.ads-software.com/plugins/ecommerce-product-catalog/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author ndre

    (@ndre)

    Hi,

    You don’t have to do the theme integration if everything looks fine. You can do the theme integration in child theme to be able to update the theme at any time.

    Thank you for reporting the problem with the menu. Actually currently there should be nothing highlighted as current menu item. I will add this with the next update.

    Thread Starter vitsippa

    (@vitsippa)

    Hi, I hope my english is understandable. The page I am currently on is “highlighted”/marked in the topmeny because that is how I have set up my theme to do (change font color of the menu item when you are on a certain/current page). I like that.
    But the problem is that the Blog menu item is marked, not the Product menu item.

    In my other thread you said I could use shortcode instead for the products listing page, to solve a widget problem. That seems to work and also solved the problem with the meny item! When I click on “Products”, the Products meny item is marked correctly. Good!

    BUT!
    When I click on a category or a single page, the Blog/News meny item is still marked instead of the Products! Is it possible to solve that too? (Otherwise I will have to skip my use of show current page/meny item, but that is not an ideal solution).


    I don′t use a child theme, so if I understand you, I would have to do add the theme integration extra file every time I have updated my theme, because it would be erased?

    Plugin Author ndre

    (@ndre)

    Yes if you put the integration file into main theme folder it will be overwritten when you update the theme. The correct way is to use the child theme. You should use the child theme for any modifications (e.g. your theme style.css or templates).

    It seems that your theme is assigning the current menu item for any custom post type to your blog page. This is not a right way to do it. What theme are you using?

    Thread Starter vitsippa

    (@vitsippa)

    Hi, I skipped the marking of selected page in my meny. Easiest solution. So problem kind of solved. (Another solution would have been a child theme and/or maybe the integrated file, but I have no other problems with this plugin so I skip that.)

    Now I am done testing. I am happy with this plugin and will use it for my catalog.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Blog loop and PHP’ is closed to new replies.