Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author WebCodin

    (@webcodin)

    Hi ssneumann,

    Could you pls check, why path for our plugin is a different rather than path to other files: https://clip2net.com/s/3rJnmjK
    When we removed [.ssneumann] from URL via FireBug – seems all is OK for displaying – https://clip2net.com/s/3rJnKay.

    with kind regards,
    WebCodin WordPress Team

    Thread Starter ssneumann

    (@ssneumann)

    We are running on WP Multisite. The base url is ssneumann.com. The subdomain is columbiavalley.ssneumann.com and is mapped to just display columbiavalley.com.

    Other things we have can easily access one or the other, ie. when we upload a new image to the gallery the location of the true file is columbiavalley.ssneumann.com and we can remove the ssneumann. from that and it still loads that image fine.

    Plugin Author WebCodin

    (@webcodin)

    Okay, do you use the latest plugin version?

    Thread Starter ssneumann

    (@ssneumann)

    I just installed it yesterday. 2.2.0

    I have not Network Activated it, only activated it on the one site – columbiavalley.ssneumann.com.

    I just reset my API key but that didn’t make any difference.

    Thread Starter ssneumann

    (@ssneumann)

    Because of the Domain mapping tool, when you try to access that domain, it maps and redirects to columbiavalley.com. Is there a place where I can edit that reference to the CSS file to change the url?

    Plugin Author WebCodin

    (@webcodin)

    CSS files are placed:
    .\wcp-plugins\wcp_openweather\dev\assets\css\style.css
    .\wcp-plugins\wcp_openweather\dev\theme\default\assets\css\style.css
    .\wcp-plugins\wcp_openweather\dev\theme\metro\assets\css\style.css
    fonts are included in these files.

    You can try to correct pathes there.

    If we’ll be able to replicate your issue on our development equipment we’ll add fix for this issue.

    Thread Starter ssneumann

    (@ssneumann)

    which files call those .css files to load? that will be where I have to modify/hard code the reference to columbiavalley.com.

    Thread Starter ssneumann

    (@ssneumann)

    Is there perhaps a way that I can use a text widget with modified html to call the correct style sheet using the weather shortcode instead of using the predefined widget?

    Plugin Author WebCodin

    (@webcodin)

    Currently we’re not able to check plugin code, we’ll send information about necessary files tomorrow in the morning. In any way it is also several files. Moreover it is issue with font paths, because general plugin styling is looking OK, so stylesheet path is working properly.

    Regarding to your second question, widgets and shortcodes are theme-based and consist of a lot of pieces, so it can’t be simple modified by html. The easiest temporary solution is correction of the font paths in the described stylesheets.

    Thread Starter ssneumann

    (@ssneumann)

    ok thank you!

    Plugin Author WebCodin

    (@webcodin)

    ssneumann,

    Here is file:
    file: ./agp-core/classes/Agp_Module.class.php
    method: Agp_Module::toUrl()

    You can try to replace the contents of the function with the following code:
    public function toUrl($file = ”) {
    $result = plugin_dir_url($file) . basename($file);
    return $result;
    }

    However, seems you fixed this issue in some way?

    Thread Starter ssneumann

    (@ssneumann)

    OK, I will try that.

    I made some changes with how my domain mapping was configured and managed to get it to work on the columbiavalley.com domain… However, my mapped (aliased) domain, invermere.com, has the same problem now.

    Before I changed some settings with the domain mapping, invermere.com would only redirect to columbiavalley.com so I couldn’t tell what problems there might be.

    Plugin Author WebCodin

    (@webcodin)

    Hi ssneumann,

    Have you any news about your issue?

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Style and images not loading correctly’ is closed to new replies.