• Resolved kimbo_king

    (@kimbo_king)


    Hi all

    Not sure if this is the right section, if not then apologies!

    I’m new to WordPress (and HTML/ CSS/ etc is general to be honest) but have been advised to use it as a part of my website. Loving the look and feel of it so far but have hit a stumbling block.

    I’ve searched the web for a relevant tutorial but only seen PHP versions.

    I was wondering if I could embed my blog onto my homepage with HHML/ CSS?. If I do need PHP, I ‘m not sure where to paste this in my html file (The tutorial is a little vague in that respect for a total noob like myself)

    I would also like to show different parts of my blog on different sections of my site. Am I best to do this with the tags or categories (Guessing the latter)

    IE: One one page I will show only blog posts with a ‘X’ category and another will show only ‘category’ articles

Viewing 4 replies - 16 through 19 (of 19 total)
  • @adminjack: As per the Forum Welcome, please post your own topic. Posting in an existing topic prevents us from being able to track issues by topic. Added to which, your problem is completely different.

    OK, thanks

    I am facing same problem.

    @kimbo_king : Could you please share how you resolved it.

    I would like to add my blog posts to my html home page. Copy paste this code in HTML page is not working.

    <?php
    require(‘/the/path/to/your/wp-blog-header.php’);
    ?>

    <?php
    $posts = get_posts(‘numberposts=10&order=ASC&orderby=post_title’);
    foreach ($posts as $post) : setup_postdata( $post ); ?>
    <?php the_date(); echo “
    “; ?>
    <?php the_title(); ?>
    <?php the_excerpt(); ?>
    <?php
    endforeach;
    ?>

    Somebody please help.

    ??

    Read Esmi’s reply above. Please mark as resolved. @digimarketz, please post your question as a new thread ??

Viewing 4 replies - 16 through 19 (of 19 total)
  • The topic ‘Embedding into a website using HTML’ is closed to new replies.