• A simple way to just have my posts be styled with my site’s css? So it wouldn’t have any extra things, it would just be words and my style sheet adding the bold effects, link effects, etc. And then I could just insert that into my php requires?

Viewing 15 replies - 16 through 30 (of 50 total)
  • Thread Starter Lauren

    (@xxlauren)

    Your comments work too ??

    Soo…….the goal is to get the WP Loop into your page ?
    And so far you cannot get the blog-header bit correct ?
    (Sorry to go over it, but if we start from the back and work forwards again..)

    Thread Starter Lauren

    (@xxlauren)

    Yes, sorta. I am tring to use my own header and footer, but there must be something in the wp-blog-header that I need ?? because when I don’t use it, there is an error. The place I was testing at is: https://www.pink-starr.com/wordpress/pleasework.php

    Can you check that the file

    wp-includes/wp-l10n.php

    correctly uploaded ?
    Can you delete it maybe, and upload a new one ?

    Thread Starter Lauren

    (@xxlauren)

    Okay, It was there, but I went ahead and deleted it then reuploaded it.

    Can you post here the first 9 lines of pleasework.php ?
    Post the code between backticks.

    Thread Starter Lauren

    (@xxlauren)

    Hmm.. no Idea what backticks are actually. But if I did I could… ??

    ?? on my keyboard (UK) they are on the same key as ??

    Thread Starter Lauren

    (@xxlauren)

    Ah.. can’t find it! Okay, hold on, I’ll figure out what it is. ^^

    Check near your 1 key

    Thread Starter Lauren

    (@xxlauren)

    <?php
    /* Don't remove this line. */
    require('../header.inc');
    ?>

    <?php if ($posts) : foreach ($posts as $post) : start_wp(); ?>

    <?php endforeach; else: ?>
    <p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
    <?php endif; ?>

    <?php
    /* Don't remove this line. */
    require('../footer.inc');
    ?>

    Theres that with the index imbetween right now.

    Thread Starter Lauren

    (@xxlauren)

    LoL, yeh, I found it. ^^

    Where is “header.inc” coming from ?
    In order for WP to work, you must have the call to wp-blog-header there. No call to that = much breakage.

    <?php
    /* Don't remove this line. */
    require('./wp-blog-header.php');
    ?>
    <?php
    /* Don't remove this line. */
    require('../header.inc');
    ?>

    Unless you already do have this, and I cannot see this above, use what I have just posted.

    Thread Starter Lauren

    (@xxlauren)

    Okay, I did that. But it was the same, so I tried adding all of the index. Which is loading, and doesn’t look so good so far.

    Thread Starter Lauren

    (@xxlauren)

    Yay. It’s half way there. Now I justneed to take some stuff out of the index info? To make it all fit. Do you know what kind of stuff that would be?

Viewing 15 replies - 16 through 30 (of 50 total)
  • The topic ‘WP integration question’ is closed to new replies.