WordPress.org

Ready to get started?Download WordPress

Forums

Expound
[resolved] Front Page Display Problem (2 posts)

  1. infektion
    Member
    Posted 7 months ago #

    Hi,

    First of all, thank you for such a simple and beautiful theme!

    I have just started creating a magazine site, and have been trying to configure the front page. Now, I have been able to tweak most of the things. But two things confound me.

    1. I have poetry posts which don't display properly on the front page. All the line spaces and line breaks disappear. I even tried preformatted text, but to no avail. Is there a way around, or will I have to live with it till WP solves the issue?

    2. I just want 5-6 posts on the front page. Currently it is displaying all the posts, 12 in number. I would not want more than 3 rows - one for the main article, the next row for 3 featured article, and the last one for the rest of the content.

    Two other things that I have to work on are a search bar in the header, and the footer. Would be grateful if you point me out in the right direction here too.

    Once again for making lives of people who want to publish a no fuss online magazine easier.

    Thanks!

    Mallik

  2. Konstantin Kovshenin
    Member
    Theme Author

    Posted 7 months ago #

    Hey there, for 1. you can create a child theme and use the_content function instead of the_excerpt which will render the complete post (until a more tag is reached), should fix your layout issue.

    For 2, you can set the number of posts to show in your Settings - Reading section. However, the featured posts articles are set by the template itself, so if you want to change the posts per page attribute there, you'll have to create a child theme to do so, or a plugin perhaps.

    A search bar in the header and footer can either be done with a widget + some CSS code to position the search widget, or by using the get_search_form function and overriding header.php and footer.php in a child theme.

    Hope that helps!

Reply

You must log in to post.

About this Theme

About this Topic