WordPress.org

Forums

Spun
More than 10 Circles for a category? (6 posts)

  1. seethemoon
    Member
    Posted 1 year ago #

    Hi fellow Spun users:

    I'd like to increase the number of circles on a CATEGORY archive. Here's the page in question:

    http://thecriticsagree.dreamhosters.com/category/reviews-2/

    I'd like to remove the restriction and have it display every post in this category. (I'm open to changing this for ALL of my categories, particularly if it's easier to achieve this way.)

    I am aware that I can change the setting in Settings > Reading, but that affects the home page. I like the appearance of the home page and don't want to change that.

    So is there a way to change the structure for the category archives only? Appreciate your help!

    Best,
    John

  2. Andrew
    Forum moderator
    Posted 1 year ago #

    Note: I've heard of plugins that can do this, although can't remember the names.

  3. seethemoon
    Member
    Posted 1 year ago #

    Yeah, I've been looking for a plugin solution but haven't found anything. If anyone knows what Andrew is talking about, please share a link!

  4. seethemoon
    Member
    Posted 1 year ago #

    I figured it out! It's either in functions.php or extras.php (depending on your version of Spun).

    You'll want to change this line:

    $posts_per_page = intval( get_option( 'posts_per_page' ) ) - 1;

    to:

    $posts_per_page = intval(100);

    Where 100 = however many posts you wish to display.

  5. Andrew
    Forum moderator
    Posted 1 year ago #

    Ideally you'd create a Child Theme, create a new functions.php file in your Child Theme and copy over the function there to edit.

  6. Andrew
    Forum moderator
    Posted 1 year ago #

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic