WordPress.org

Ready to get started?Download WordPress

Forums

Spun
[resolved] Pages Instead of Posts (9 posts)

  1. Sehyun
    Member
    Posted 11 months ago #

    Is there a way to use the featured image of pages instead of posts on the Spun WordPress theme? Any help will be appreciated. Thank you.

  2. Siobhan Bamber (siobhyb)
    Forum Mod.
    Posted 11 months ago #

    Hey. Yes, @rxbxx came up with a solution for this in the following thread: http://wordpress.org/support/topic/replace-posts-with-pages-on-the-frontpage.

    First you will need to create a child theme, so as to not lose any important changes when updating the theme in the future. Instructions on how to do this are here: http://codex.wordpress.org/Child_Themes.

    In your child theme, create an index.php file then copy and paste the code from the parent theme's index.php file exactly.

    Just before the following snippet in your child theme's index.php file:

    <?php if ( have_posts() ) : ?>
    
    				<?php /* Start the Loop */ ?>
    
    				<?php while ( have_posts() ) : the_post(); ?>...

    Add the following line:

    <?php query_posts('post_type=page'); ?>

    Let me know if this works for you. :)

  3. Sehyun
    Member
    Posted 11 months ago #

    Thanks. It works great! Is there a way to redirect posts to pages instead? It's kind of a problem because all the pages show up instead of the parent pages.

  4. Sehyun
    Member
    Posted 11 months ago #

    I figured everything out. Thanks @Siobhan!

  5. Siobhan Bamber (siobhyb)
    Forum Mod.
    Posted 11 months ago #

    Hey. Glad you figured it out. :) Do you mind sharing how you solved this?(Your solution may help people browsing these threads in the future.)

  6. oliviap
    Member
    Posted 9 months ago #

    Hi, I now have the issue that Sehyun mentioned - all the pages are showing up, rather than the main menu pages I want to show.

    My website is oliviapoole.co.uk

    Does anyone know how to only ask it to show menu header pages in the circles rather than child pages too? Sehyun please could you explain how you figured it out?

    Do you also know how to change the background colour of the circles so that it is darker?

    Thank you very much

  7. oliviap
    Member
    Posted 9 months ago #

    Forgot to mention - another issue this has created is that the pages in the circles are in the opposite order to how i would like them to be - i would like the first to be About Me, and the last to be Contact

    Anyone know how to edit the order? http://www.oliviapoole.co.uk

    Thanks so much

  8. esmi
    Forum Moderator
    Posted 9 months ago #

    @oliviap: As per the Forum Welcome, please post your own topic.

  9. oliviap
    Member
    Posted 9 months ago #

Reply

You must log in to post.

About this Theme

About this Topic