denism300
Forum Replies Created
-
Yes, I’m using custom template, but I tried the plugin template “Simple” and there was the same problem – the ruble symbol was not displayed. Perhaps the problem is with the site, but if you change the CSS styles in the Simple template from
body { background: #fff; color: #000; margin: 0cm; font-family: 'Open Sans', sans-serif; /* want to use custom fonts? https://docs.wpovernight.com/woocommerce-pdf-invoices-packing-slips/using-custom-fonts/ */ font-size: 9pt; line-height: 100%; /* fixes inherit dompdf bug */ overflow-wrap: anywhere; }
to
body { background: #fff; color: #000; margin: 0cm; font-family: DejaVu Sans !important; /* want to use custom fonts? https://docs.wpovernight.com/woocommerce-pdf-invoices-packing-slips/using-custom-fonts/ */ font-size: 9pt; line-height: 100%; /* fixes inherit dompdf bug */ overflow-wrap: anywhere; }
then everything works correctly
I solved the problem. In the invoce template, I added a wrapper for the ruble symbol. In CSS added a property for this wrapper
span.ruble { font-family: DejaVu Sans !important; }
Hi @yordansoares!
I saw this option and checked it, but still the currency symbol is not displayed.
Forum: Plugins
In reply to: [Simple Lightbox] Not working on archive pageAlso, archive descriptions are simple text fields and do not processes shortcodes (such as gallery shortcodes) by default. Can you please provide the link to the plugin you are using to add editor/shortcode functionality to the archive description field so that it may be tested with SLB as well?
Yoast SEO adds an editor to the page for editing (not creating) an archive. adds an editor to the page for editing (not creating) a category. After that, it becomes possible to insert gallery shortcodes (and not only)
Forum: Plugins
In reply to: [Simple Lightbox] Not working on archive pageCan you please provide more details on the structure of these pages? For example, are the image links added directly to the template or via a page builder plugin?
The gallery was added to the page via the admin panel using a shortcode.
No page-builder is used, only the standard WP editor + plugins Classic Editor and Advanced Editor ToolsCategory pages generally display posts in that category, but there does not appear to be post content at the links you provided.
Yes, these are custom category pages, they do not display posts of this category, however, the output of the category description is implemented using standard WP functions. Code https://www.7773777.ru/uslugi/ below
<?php get_header(); ?> <div class="container main-section"> <div class="row"> <div class="col-12 breadcrumbs"> <?php get_template_part('inc/template-breadcrumbs'); ?> </div> </div> <div class="row"> <?php get_template_part('sidebar', 'left'); ?> <main id="zmk-content" class="col-12 col-lg-8 category-page--content site-content"> <header class="site-content--header"> <?php the_archive_title('<h1 class="page-title">', '</h1>'); ?> </header> <?php the_archive_description('<div class="page-description no-bg">', '</div>'); ?> </main><!-- #main --> <?php get_template_part('sidebar', 'right'); ?> </div> </div> <?php get_footer();
Forum: Plugins
In reply to: [Simple Lightbox] Not working on archive pagethe site is no longer accessible from those links.
new, working links:https://www.7773777.ru/produkcziya-zavoda-metallokonstrukczij/
https://www.7773777.ru/uslugi/
screenshot of one of the problematic images below
screenshot of plugin settings
- This reply was modified 1 year, 3 months ago by denism300.
Forum: Plugins
In reply to: [Simple Lightbox] Not working on archive pagesure,
https://7773777.e-commerce24.ru/produkcziya-zavoda-metallokonstrukczij/
https://7773777.e-commerce24.ru/uslugi/
it works correctly on other pages of this site
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] Shordcode css classesPerhaps we are talking about different shortcodes? I meant these: wcpdf_download_invoice and wcpdf_download_pdf.
The generate_document_link_shortcode function is responsible for their output, which outputs the following code :return sprintf( '<p><a href="%s" target="_blank">%s</a></p>', esc_url( $pdf_url ), esc_html( $link_text ) );
There is no wrapper div.wpmenucart-shortcode in this code and it is not displayed on the site.
The plugin version is the latest at the time of writing this message
Forum: Plugins
In reply to: [FiboSearch - Ajax Search for WooCommerce] The WC function does not workok, thanks!
Forum: Plugins
In reply to: [FiboSearch - Ajax Search for WooCommerce] The WC function does not workHello @c0nst
I want to add product filters to the search page, but due to the fact that the function WC_Query::get_main_search_query_sql() returns an empty result, they do not work correctlyForum: Plugins
In reply to: [WooCommerce] Different number of columns for products and categoriesHello!
Can you pleas elaborate more? Are you referring to Products in admin dashboard?
No, on the front-end.
For example, I want to have 3 categories per line and 4 products per line.Здравствуйте!
Именно так.
Ну или, если номер не сотовый, а городской, к примеру, +7812ХХХХХХХ и пользователь ввел 8812ХХХХХХХ, то тоже чтобы первая цифра исправлялась на +7.