Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
  • #5905

    Hey All,

    One other question if thats ok? I would like to limit the number of posts in column 4 of the footer – the default widget for that column. What do I need to change the widget to a 4 post limit. Sadly using the recent posts widget (or any other) isn’t an option as the formatting is changed.

    Big thanks again.


    Any thoughts on a fix?



    You can use the PHP Code widget (drag from Available Widgets into the Footer-Column 4 field) and then use this code. “showposts” specifies the number of posts and you’ll need to replace “yourcategory” with whatever category you want the posts to come from.

    <?php query_posts('category_name=yourcategory&showposts=4'); ?>
    <?php while (have_posts()) : the_post(); ?>
    <li><a href="<?php the_permalink(); ?>">
    <?php the_title(); ?>
    </a> </li>
    <?php endwhile; ?>

    But you will need to format the output.



    just drag’n’drop the Avisio sidebar news widget into the column4 widget area. You can set the number of posts by using the sidebar news widget options.


    Hey Guys,

    Thanks for the reply. I don’t have the Avisio sidebar news widget for some reason. I have a portfolio widget which I am using to display portfolio items in the side bar on certain pages.

    Could I edit a piece of code to change the number of posts / limit the number elsewhere?

    Thanks again guys, much appreciated.



    I checked it again and the Sidebar News widget is part of the theme. Try to install the latest version of Avisio and check if the widget is in one of the “widget pools” – “Available Widgets” or “Inactive Widgets”. You can also use widgets like: but they’re not optimized for Avisio.


    Thanks dude, but I am up to date. I don’t want to reinstall and lose any customisation, any other way to active this?

    I am using category post at the moment to link to certain categories but the formatting doesn’t work in the footer. Can i re-install the plugin somewhere or modify the PHP?


    Please create me an admin account and send me the login data to: (Email address hidden if logged out) – I’ll look into it.


    Thanks dude. Done.

Viewing 9 posts - 1 through 9 (of 9 total)

The topic ‘Limit the Number of Posts – Footer Widget’ is closed to new replies.