WordPress.org

Ready to get started?Download WordPress

Forums

MobilePress
theme folder missing in template url (1 post)

  1. Bram
    Member
    Posted 1 year ago #

    Hi,

    When I try to print the template url (bloginfo( 'template_url' ) or get_bloginfo( 'template_url' )) in my mobile theme it's missing the theme folder:
    http://www.mywebsite.com/wp-content/mobilethemes//
    instead of
    http://www.mywebsite.com/wp-content/mobilethemes/mythemename/

    bloginfo( 'stylesheet_url' ) gives the same result:
    http://www.mywebsite.com/wp-content/mobilethemes//style.css
    instead of
    http://www.mywebsite.com/wp-content/mobilethemes/mythemename/style.css

    In the main theme (desktop website) everything is ok!

    I'm using MobilePress v1.2.1
    I've set the Custom Mobile Themes Directory to "/wp-content/mobilethemes" but the problem remains when I'm using the default theme directory.

    http://wordpress.org/extend/plugins/mobilepress/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic