Daily Theme: wall option not displaying 3rd tile

Just updated the version to 4.1.8. Still using the "wall" display option on the front page. Have changed nothing else, except the update. The 3rd story on the Wall is empty now. Tried choosing different # of stories to display. Have other options changed on the update? Thanks!

  • Patrick
    • Support Monkey

    Hi again @KZRanch

    It would appear that a simple typo sneaked its way into this update.

    To correct the situation, you'll need to edit the following file:

    On line 5 of that file, you'll see this:
    <?php query_posts('posts_per_page='. $wall_num . ''); $count = 1;?>
    Change that line to this:
    <?php query_posts('posts_per_page='. $wall_num . ''); $count == 1;?>
    Note the change in the operator (==) for $count

    Thanks for reporting this! I'll be sure to notify the theme developer.


  • Nathan
    • WPMU DEV Initiate

    Line 5 of the file bp-daily/library/components/content-thewall.php actually reads as follows on our installed version:

    <?php query_posts('posts_per_page='. $wall_num . ''); $count = 1;?>

    Would we just change the = sign to a double = sign (==)?


  • Nathan
    • WPMU DEV Initiate

    All good! Adding the == sign fixed the problem. I'll mark this thread resolved. [Although, when logging in to the dashboard, I was not prompted to update the Theme (not sure if it's because we manually updated the line of code).] Thanks to all!

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.