Forum Replies Created

Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter anneklappe

    (@anneklappe)

    I just figured out that deactivating the plugin “WooCommerce Newsletter Subscription” solves the issue.

    Obviously, it creates a new one: Customers can not sign up for the Newsletter throughout the buying process.

    Any ideas?

    Thread Starter anneklappe

    (@anneklappe)

    Hi @jessepearson,

    yes, that’s the image I refer to. Also on your photo I can see pixels on the corners and for instance on the “v”.

    Thread Starter anneklappe

    (@anneklappe)

    Hi @jessepearson,

    if I remember well, I only had to change from
    opacity: 100% !important; to
    opacity: 1 !important;

    Thanks for your help

    Thread Starter anneklappe

    (@anneklappe)

    Hi @dougaitken,

    Thanks for the hint. Unfortunately, I have not added myself the lines

    opacity: 0;
    transition: opacity .25s ease-in-out;

    in the code. Thus, I believe they come from the core theme itself.

    It is not possible to overwrite this style

    .woocommerce-product-gallery,
    .woocommerce-product-gallery--with-images,
    .woocommerce-product-gallery--columns-5,
    .images {
      opacity: 100% !important;
    }

    Any other hint?

    Thanks

    • This reply was modified 8 years ago by anneklappe.
    Thread Starter anneklappe

    (@anneklappe)

    I have switched to another way to query the posts. It seems to work now, I will confirm when finished.

    <?php $introduction = new WP_QUERY('category_name=Introduction');
    	if ($introduction->have_posts()) : while ($introduction->have_posts()) : $introduction->the_post();?>
    			<section class="row">
    				<a class="anchor" id="about"></a>
    				<div class="col-sm-12">
    							<p class="col-sm-12 introduction_title"><?php the_field('introduction_title'); ?></p>
    							<p class="col-sm-12 introduction_text"><?php the_field('introduction_text'); ?></p>
    							<p class="col-sm-9 introduction_subtext"><?php the_field('introduction_subtext'); ?></p>
    				</div>
    			</section> <!-- end row introduction -->
    	<?php endwhile; ?>
     	<?php endif; ?>
    • This reply was modified 8 years ago by anneklappe.
    Thread Starter anneklappe

    (@anneklappe)

    @veerap: The only message I receive, is
    Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/kontmagazinetues/public_html/wp-includes/wp-db.php on line 1562

    Still searching…

    Thread Starter anneklappe

    (@anneklappe)

    Hello,

    @veerap: I followed your instruction to remove the language parameter. No difference.

    @codestylist I changed the code to

    <?php query_posts('category_name=Introduction&lang='.pll_current_language()); ?>
    <?php query_posts('category_name=Issues&lang='.pll_current_language()); ?>
    <?php query_posts('category_name=Winkels&lang='.pll_current_language()); ?>
    <?php query_posts('category_name=Contact&lang='.pll_current_language()); ?>
    <?php query_posts('category_name=Footer&lang='.pll_current_language()); ?>

    Still, no posts are visible on the NL page:
    http://kontmagazine.tuesdayhosting.nl/nl/
    Furthermore, some of the posts (Issues and Winkels) disappeared also in the EN version.

    I have also cleaned all browsing data.

    Many thanks for the support.

    • This reply was modified 8 years ago by anneklappe.
    Thread Starter anneklappe

    (@anneklappe)

    Hi @codestylist,

    I have switched to a standard theme and switched off all plugins despite Polylang.

    Polylang seems to work (the names of the front page and menu are changing).
    https://ibb.co/cU7tao & https://ibb.co/mraqMT

    To see content, I activated ACF and the Storefront Child Theme (deleted all code connected to Woocommerce, Woocommerce Plugin still activated). Still, no translation.
    (Currently, this code is online: https://kontmagazine.tuesdayhosting.nl/)

    I am showing you an example from the code:

    <?php query_posts('category_name=Introduction&lang=en'); ?>
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <?php if (in_category('Introduction')) : ?>
    	<section class="row">
    		<a class="anchor" id="about"></a>
    		<div class="col-sm-12">
    			<p class="col-sm-12 introduction_title"><?php the_field('introduction_title'); ?></p>
    			<p class="col-sm-12 introduction_text"><?php the_field('introduction_text'); ?></p>
    			<p class="col-sm-9 introduction_subtext"><?php the_field('introduction_subtext'); ?></p>
    		</div>
    	</section> <!-- end row introduction -->
    <?php endif; ?>
    <?php endwhile; ?>
    <?php endif; ?>

    Observation: The footer is half translated and the hyphenation reacts on the change of language.

    In the footer, I am using
    <?php query_posts('category_name=Footer'); ?>

    • This reply was modified 8 years ago by anneklappe.
    Thread Starter anneklappe

    (@anneklappe)

    Hi @veerap,

    Thanks for your reply. In fact, no element on the main page is related to woocommerce. This should not influence the translation. However, I once deactivated all Woocommerce plugins. The translations still don’t work.

    Any other hints?

    Thread Starter anneklappe

    (@anneklappe)

    Hi @job,

    thanks a lot, this was helpful and fixed the problems.

    Thread Starter anneklappe

    (@anneklappe)

    Hi @rk,

    thanks for your reply and support.

    I am referring to the broken layout, this is correct. In fact, I am using bootstrap which is not visibly in conflict with other Storefront elements.

    Can you imagine a workaround for the “billing details” area? I tried to manually add -ms-flex: 0 0 8.333333%; as a style for col-1 but can not make it work.

    Thread Starter anneklappe

    (@anneklappe)

    Hi @dougaitken,

    Thanks for your kind reply. In fact, after changing to a default theme, all functionalities are available and work perfectly fine.

    (I have checked the box for Redirect to the basket page after successful addition.)

    When you say, that it is something missing from my theme support, what could that be?

    Thanks for your support

Viewing 12 replies - 1 through 12 (of 12 total)