Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Forum: Fixing WordPress
    In reply to: Mystique – 404
    Thread Starter maxina

    (@maxina)

    RVoodoo,

    Thanks for your reply,

    I think what my issue primarily is comes down to not knowing the WP hooking architecture well enough. What I DO know is that the theme calls the wp_head hook that goes off and does what it does.

    Now, I am spit-balling here, but what I do understand is that hook is executed somewhere in the bowels of the WordPress code base, however, the configuration of such is done somewhere in the functions.php file. I still don’t know how to decipher what is going on, but I hope someone could steer me in the right direction…

    Anyone at all.. *cough*

    Thanks!

    Andrew

    Forum: Fixing WordPress
    In reply to: Mystique – 404
    Thread Starter maxina

    (@maxina)

    Ok, so a further hint, and I am not sure how I would remedy this, but the custom css is stored in a (what I think) is a post.

    At the top of my page output, I have this:

    <style type="text/css">
     @import "http://www.mysite.com/wp-content/themes/mystique/style.css";
     @import "http://www.mysite.com/?mystique=css";
    </style>

    now, if I give it a bad url, say http://www.mysite.com/badurl/ then I get this:

    <style type="text/css">
     @import "http://www.mysite.com/wp-content/themes/mystique/style.css";
     @import "http://www.mysite.com/badurl/?mystique=css";
    </style>

    the second line will fail to bring back the proper css config content and as such, cause the page to display incorrectly. So, is there a way to “hard code” this so that it doesn’t occur? By that I mean disallow anything but the site root on the second line? If so, where does one find that in the maze that is the wordpress code?

    Thanks,

    Andrew

    Thread Starter maxina

    (@maxina)

    Hey that works fabulously. Thank you!

    A.

    Thread Starter maxina

    (@maxina)

    Could you tell me why / what I can do to remedy that? my entire site is built on pages, not posts.

    A.

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