Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter roryaro1

    (@roryaro1)

    I think it could be to do with the header.php file not linking to the stylesheet.

    This is what the header.php looks like:

    <!DOCTYPE html>
    <html <?php language_attributes(); ?>>
    <head>
    <?php
    if(user_agent_m() == ‘mobile’)
    echo ‘<meta name=”viewport” content=”width=384″>’;
    else if(user_agent_m() == ‘tablet’)
    echo ‘<meta name=”viewport” content=”width=1024″>’;
    else
    echo ‘<meta name=”viewport” content=”width=1350″>’;
    ?>
    <link rel=”stylesheet” type=”text/css” href=”../templates/creator/stylesheet.css”>

    <LINK REL=”Shortcut Icon” HREF=”../favicon.png”>
    <link href=’http://fonts.googleapis.com/css?family=Maven+Pro:400,500,700,900&#8242; rel=’stylesheet’ type=’text/css’>
    <script src=”http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js”></script&gt;

    <script src=”../templates/creator/javascript/jquery.lightbox-0.5.min.js” type=”text/javascript”></script>
    <script src=”../templates/creator/javascript/jquery.rating.pack.js” type=”text/javascript”></script>
    <script src=”../templates/creator/javascript/main.js” type=”text/javascript”></script>
    <script src=”../templates/creator/javascript/other.js” type=”text/javascript”></script>

    <script>
    jQuery(document).ready(function () {
    jQuery(‘.categories > ul > li:last-child’).addClass(‘last’);
    });
    </script>
    <!–[if lt IE 9]>
    <script src=”../templates/creator/javascript/resp.js” type=”text/javascript”></script>
    <script src=”../templates/creator/javascript/html5.js”></script>
    <script src=”../templates/creator/javascript/PIE.js”></script>
    <![endif]–>
    <?php wp_head(); ?>
    </head>

    <body <?php body_class(); ?>>
    <!– Google Tag Manager –>
    <noscript><iframe src=”//www.googletagmanager.com/ns.html?id=GTM-TW7P2T”
    height=”0″ width=”0″ style=”display:none;visibility:hidden”></iframe></noscript>
    <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({‘gtm.start’:
    new Date().getTime(),event:’gtm.js’});var f=d.getElementsByTagName(s)[0],
    j=d.createElement(s),dl=l!=’dataLayer’?’&l=’+l:”;j.async=true;j.src=
    ‘//www.googletagmanager.com/gtm.js?id=’+i+dl;f.parentNode.insertBefore(j,f);
    })(window,document,’script’,’dataLayer’,’GTM-TW7P2T’);</script>
    <!– End Google Tag Manager –>
    <div class=”page-content”>
    <div class=”header”>

    <?php
    $myurl = ‘http://&#8217;.implode(‘/’, array_slice(explode(‘/’, $_SERVER[‘SERVER_NAME’].$_SERVER[‘PHP_SELF’]), 0, -1)).’/../wp-header.php’;
    echo file_get_contents($myurl);
    ?>

    </div>
    <div class=”main-width”>

    I have a similar problem. Have you by any chance just updated your permalinks? (That’s what caused the problem on mine. The only solution I’ve found so far was reverting back to the old permalink settings)

    Thread Starter roryaro1

    (@roryaro1)

    I changed my permalinks settings to post name, but it changes the appearance of the website. If you compare how the blog looks before you click on a post from the blog you can see the difference.

    Essentially logos from the website do not display and before you actually get to the post it shows something that looks to me like a sitemap – i.e. listing all the different categories on the site.

    Thanks for the help with this!

    Rory

    (If I change the permalinks back to plain/default then the blogs look normal, but I’d really like to use the nicer looking urls that include the post name).

    Thread Starter roryaro1

    (@roryaro1)

    Why isnt this in the How-To and Troubleshooting Forum?

    I’ve updated the titles now, but still haven’t solved the appearance issue.

    Something went wrong with the links above.

    This is how the website should look:
    http://www.fish4parts.co.uk/blog/

    This is how it actually looks:
    http://www.fish4parts.co.uk/blog/technological-superiority-star-wars-vs-star-trek/

    Thanks,

    Rory

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