Forum Replies Created

Viewing 9 replies - 16 through 24 (of 24 total)
  • Hi Chouby,

    I’m having the same issue!

    I’ve spent a couple of days customizing relatively new basic themes (Sela & Twenty Sixteen) on my test site running on WP 4.4.2 and when I activate Polylang, everything disappears – no menu, no posts, no pages…

    I have another site using the latest version of Polylang and running also on WP 4.4.2, but everything works fine, the only difference is that I use Twenty Twelve theme on this site.

    I’d like to continue using Polylang with a new theme, would you have any idea of the cause? Thanks in advance!

    Bonjour Chouby,
    J’ai le même problème que dnaumov. Sur mon site test avec de nouveaux thèmes, tout dispara?t quand j’active Polylang, alors que tout marche à merveille sur mon site avec le thème Twenty Twelve. Auriez-vous une idée sur la cause? J’aimerais continuer à utiliser ce pluguin sur mon site avec un nouveau thème. Merci d’avance de votre aide ??

    Hi Lorcan & moeni,

    I’m an amateur, but I think I’ve found the solution!

    Instead of the function
    <?php echo get_template_directory_uri(); ?>

    you need to use
    <?php echo get_stylesheet_directory_uri(); ?>

    because get_template_directory_uri() calls the parent theme directory, while get_stylesheet_directory_uri() that of chile theme!

    So you should say:
    <img src="<?php echo get_stylesheet_directory_uri(); ?>/images/logo.svg" width="150" height="150" alt="svg-logo">

    See: The function reference

    Thread Starter nami44

    (@nami44)

    Hi Mihai,
    I’m using Premium support now (and thanks for your replies).
    It looks like an ajax problem.

    Forum: Plugins
    In reply to: [qTranslate X] Date format
    Thread Starter nami44

    (@nami44)

    Hi Gunu, thanks for your reply.
    I’ve chosen “Use stfrtime instead of date” in Advanced setting, and it works now, but I don’t know why lol

    Thread Starter nami44

    (@nami44)

    Definitely. Thank you for your help!

    Thread Starter nami44

    (@nami44)

    WOW! It happens that it works!
    Thanks infinitely nicknack ??

    By the way, trying to find the code displaying featured images, I’ve found this in wpsc-functions.
    `function wpsc_check_thumbnail_support() {
    if ( !current_theme_supports( ‘post-thumbnails’ ) ) {
    add_theme_support( ‘post-thumbnails’ );
    add_action( ‘init’, ‘wpsc_remove_post_type_thumbnail_support’ );
    }
    }
    add_action( ‘after_setup_theme’, ‘wpsc_check_thumbnail_support’, 99 );

    function wpsc_remove_post_type_thumbnail_support() {
    remove_post_type_support( ‘post’, ‘thumbnail’ );
    remove_post_type_support( ‘page’, ‘thumbnail’ );
    }

    This would replace the wpsc’s featured image support by the theme support? (I’m newbie in php!)

    Thread Starter nami44

    (@nami44)

    First, thanks nicknack for your help!

    My theme is twenty twelve that actually uses featured images at the top of each page.
    So I commented out this code in content.php which is a part of single.php and page.php
    <?php the_post_thumbnail(); ?>
    That works on my blog posts (no image even when featured image is set), but does neither on product category page (featured image displayed) nor on my single product page (empty image).

    And when I remove featured image from my products, there is no image on product category page, but always this ungracefully empty image on single product page!

    Another problem: this featured image setting works on “product preview”! I have a featured image on preview page when this is set and no image when I remove this!

    Thread Starter nami44

    (@nami44)

    Yes, nicknack!
    My category page is here: https://atelier-knits.com/shop/deco/
    and a single page: https://atelier-knits.com/shop/deco/oldforge/

    Thanks in advance ??

    Hi Bloke,
    I’m PHP newbie, but I think I found the function that sends emails to customers in 3.8.12.1. It’s in puchase-log-notification.class.php in wpsc-includes.

    I’d like to remove payment instructions of manual payment in Purchase Receipt sent once order cleared. Any idea?

Viewing 9 replies - 16 through 24 (of 24 total)