Please make this theme compatible with WooCommerce. I’m having issues with archive pages and other related pages.
]]>I’m seeing a bizarre error on my page – any time I reply to comment – the authors comment duplicates?
sample:
]]>Hello!
I made a experimental Woocommerce template for bunnypresslite
header.php
<?php
if ( function_exists('is_woocommerce') && is_woocommerce() )
@woocommerce_breadcrumb( ); // https://ru.www.ads-software.com/plugins/woocommerce-breadcrumbs/
else
if( bunnypresslite_display_breadcrumb() != '3' ) get_template_part( 'inc/breadcrumb' );
?>
woocommerce.php
<?php
if( is_single() )
define("PAGE_TYPE", "product");
else
define("PAGE_TYPE", "shop");
get_header(); ?>
<div class="contents">
<div <?php post_class('page'); ?>>
<article itemscope itemtype="https://schema.org/WebPage">
<?php woocommerce_content(); ?>
</article>
</div>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
EN:
breadcrumb theme works well for categories, posts and pages. I checked.
I tried to use a theme for woocommerce for the sake of experiment.
the layout of the columns in the woocommerce.php file works well for me.
store main and category are displayed normally.
it is unclear why “product” does not work as “single” in breadcrumb.php.
on the product page breadcrumb.php is not working. does not display anything.
if (is_single()) works with woocommerce. if yes – product, if not – category. I made themes with different sidebars for products and categories using “PAGE_TYPE”.
for woocommerce I usually use the plugin https://ru.www.ads-software.com/plugins/woocommerce-breadcrumbs/
the easiest way is to add “woocommerce-breadcrumbs” to header.php
if you do not add – then you need to understand why the product does not work as “single” in breadcrumb.php. if you’re interested.
* * *
RU:
breadcrumb темы работает хорошо для категорий, записей и страниц. я проверил.
я попробовал ради эксперимента использовать тему для woocommerce.
вёрстка колонок в файле woocommerce.php у меня работает хорошо.
главная магазина и категория отображаются нормально.
непонятно почему товар “product” не работает как “single” в breadcrumb.php.
на странице товара breadcrumb.php не работает. ничего не отображает.
if ( is_single() ) работает с woocommerce. если да – товар, если нет категория. я делал темы с разными sidebar для товаров и категорий используя “PAGE_TYPE”.
для woocommerce я обычно использую плагин https://ru.www.ads-software.com/plugins/woocommerce-breadcrumbs/
самый простой способ – добавить “woocommerce-breadcrumbs” в header.php
если не добавлять – тогда надо вникать почему товар не работает как “single” в breadcrumb.php. если это вам интересно.
https://ibb.co/DLZZTHc
https://ibb.co/PzFLHgN
https://ibb.co/cTs7rHh
https://ibb.co/ySYPjqS
EN:
If you log in as an administrator, the cross to close the menu is hidden under the admin menu. Checked in Firefox and Maxthon.
If you don’t enter, it’s okay.
RU:
Если войти как админ то крестик для закрытия меню прячется под админ меню. проверил в Firefox и Maxthon.
Если не войти – норм.
https://ibb.co/12DcLF9
https://ibb.co/R6BsYyP
https://ibb.co/ySZN0Vm
EN:
blocks of different heights in the category and on the main
there is an empty space
RU:
блоки разной высоты в категории и на главной
есть пустое место
EN:
the “List” layout for categories and the main has disappeared in the theme,
“List” – is “the picture on the left, and the title and meta on the right”. only Grid.
it is not interesting!
I mean, I’m not interested in working with the topic now. such a topic is not needed.
RU:
в теме исчезла вёрстка “List” для категорий и главной.
“List” – это “картинка слева, а название и мета справа”. только Grid.
это неинтересно!
в смысле мне теперь неинтересно работать с темой. такая тема не нужна.
https://ibb.co/3cctBhg
https://ibb.co/KKBkLDQ
bunnypresslite double scrolling for menu and content on smartphone.avi – https://vk.com/video-188675243_456239033
EN:
the crosshair of the menu can be located above the “expand submenu”.
when scrolling a long menu, the cross scrolls up somewhere.
it turns out like two scrolls – for the menu and for the content. the cross leaves with the content.
RU:
крестик меню может находиться над “развернуть субменю”.
при прокрутке длинного меню крестик прокручивается куда то вверх.
получается как бы две прокрутки – для меню и для контента. крестик уезжает вместе контентом.
Some sites use annotation for records, some do not. but it is inappropriate to abandon the annotation or add it for different resolutions.
It turns out that when changing the screen width from 374 to 373, we move away from the layout “picture on the left, text on the right,” to the layout “tiles in 2 columns without annotation”. Which is generally silly with such a low resolution.
I would make up to 480px inclusive in 1 column, with the picture at full width, and the title, annotation and meta below it.
https://ibb.co/d2FL1JT
https://ibb.co/f4d6xc8
if we delete or comment out this line, then everything becomes in 1 column as I suggested.
/wp-content/themes/bunnypresslite/css/firstveiw.css?ver=1.1.1 – 920 – @media screen and (max-width: 560px) {
.loopbox_cover {
width: 50%;
}
https://ibb.co/Zz3mh0v
https://ibb.co/X2vJGxS
Layout “tiles in 2 columns” is useful and appropriate to do as an additional option in the admin panel for wider screens. all the more so that the “tiles in 2 columns” layout is already working in the theme.
]]>the menu on the smartphone is inconvenient.
The menu item with sub-items is not indicated in any way. no arrow to the right.
when you click on a menu item with sub-items, not only the submenu opens, but also the page to which the link leads. similarly when trying to close a submenu. the only resolve is to remove the link from the menu items with sub-items. if you click on the right, the effect is the same. no space has been allocated for the arrow to open the submenu.
if a submenu opens, it overlaps the bottom menu items. it is not comfortable. the bottom menu items do not move down.
repeated clicking on a menu item with sub-items does not close the sub-menu. to close you need to click somewhere down on a white background.
using bunnypresslite,we have integrated woocommerce.
But we can see the css is loaded from different website.
this is from https://c0.wp.com/p/woocommerce/4.6.1/assets/css/woocommerce-layout.css
but we would like to use our installed Css from woocommerce.
how to overide with out installed css and do changes.
Please help us on it.