WordPress.org

Support

Support » How-To and Troubleshooting » Pulling WordPress To My Own Website

Pulling WordPress To My Own Website

  • Matthew Notes
    Member

    @matthew-notes

    Now basically what I am going to doing is using my WordPress blog and pulling my blog posts to my website for my convenience. Now when I post videos/pictures I would like to control how big it shows on my own domain rather than on the actual WordPress blog. I am using my WordPress blog and pulling my posts to my own domain for my websites home page design.

    Here is the code I am currently using on my home page:

    <?php
    require('blog/wp-blog-header.php');
    ?>
    
    <?php
    $posts = get_posts('numberposts=10&order=DESC&orderby=post_title');
    foreach ($posts as $post) : start_wp(); ?>
    <?php query_posts("order=DESC"); ?>
    <?php the_date(); echo "<br />"; ?>
    <?php the_time(); echo "<br />"; ?>
    <?php the_title(); ?>
    <?php the_content(); ?>
    
    <?php
    endforeach;
    ?>

    Can anyone help me? Thanks!

Viewing 1 replies (of 1 total)
  • Matthew Notes
    Member

    @matthew-notes

    I basically would like to tell me website “Hey if an image posts I want it to display 200×200 px and if a video posts I want it to show 200x200px”

    I hope you can understand and help, thanks.

Viewing 1 replies (of 1 total)
  • The topic ‘Pulling WordPress To My Own Website’ is closed to new replies.