Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 7 replies, has 2 voices.

Last updated by Harshad 7 years, 10 months ago.

Assigned support staff: Harshad.

Author Posts
February 28, 2014 at 9:31 pm #349773

Alan

Hello

When I use different subdomains for each language in WPML,
the icons do not show any more on my website – greenshop7.com.

Example:

Here the example link with the missing shopping cart icon – shown like on my printscreen:

hidden link

If I change the settings in WPML back to –> Different Languages in directories – hidden link the missing shopping cart icon shows up again.

Also Images that are connected to other plugins like the shopping cart plugin, or the theme do not work on subdomains.

All the plugins are up to date with the newest WordPress Version 3.8.1 - and working correctly.

Please check the attached printscreens.

Best Regards - Alan

WPML Language Option Subdomain.PNG
GreenShop7 Language Icon Error due to subdomain.PNG
GreenShop7 Language Icon Correct.PNG
March 1, 2014 at 7:12 am #349862

Harshad

Dear Alan,

I think you need to check your theme's file, how the CSS style file are added to the wordpress generated page.

Check the function wp_enqueue_style in our theme files, and paste here.

March 1, 2014 at 9:36 am #349893

Alan

Hello

I am not a code master - but I found this - in theme-functions.php

// **********************************************************************//
// ! Include CSS and JS
// **********************************************************************//
if(!function_exists('etheme_enqueue_styles')) {
function etheme_enqueue_styles() {

$custom_css = etheme_get_option('custom_css');
$etheme_responsive = etheme_get_option('responsive');

if ( !is_admin() ) {
wp_enqueue_style("bootstrap",get_template_directory_uri().'https://cdn.wpml.org/css/bootstrap.min.css');
wp_enqueue_style("style",get_template_directory_uri().'https://cdn.wpml.org/style.css');
wp_enqueue_style("font-awesome",get_template_directory_uri().'https://cdn.wpml.org/css/font-awesome.min.css');
wp_enqueue_style("font-lato","hidden link");

if($etheme_responsive){
wp_enqueue_style("bootstrap-responsive",get_template_directory_uri().'https://cdn.wpml.org/css/bootstrap-responsive.min.css');
wp_enqueue_style("responsive",get_template_directory_uri().'https://cdn.wpml.org/css/responsive.css');
}

if($custom_css) {
wp_enqueue_style("custom",get_template_directory_uri().'https://cdn.wpml.org/custom.css');

March 1, 2014 at 1:42 pm #349944

Harshad

Dear Alan,

Please remove get_template_directory_uri(). from the code, Remember to also remove the DOT

March 1, 2014 at 3:30 pm #349993

Alan

I tried it out on different places in the code, but it didn't work.
Could I send you a E-Mail with a Login (that the Password is not shown public), then you can check.

That would be respected a lot.

Thanks

March 2, 2014 at 9:45 am #350133

Harshad

Dear Alan,

I have enabled private details box, which will ask you for ftp and wordpress admin details, Can you please fill in the details which will help me to further investigate on your issues.

March 7, 2014 at 10:39 am #354261

Alan

Super - Thanks!

March 11, 2014 at 5:17 am #356240

Harshad

Dear Alan,

Sorry for delay, Can you please check your site now?

The topic ‘[Closed] Subdomain - Images from Themes and Plugins not showing’ is closed to new replies.