Support » Theme: Anarcho Notepad » Number of Recent Posts in Sticker

  • Resolved pelznase



    I just discovered your theme and I like it very much!
    I added ist to my site
    My question is: how can I change die number of recent posts in the sticker?
    I’d prefer to have only five posts on the list.
    Is there a possibility to get this?

    Would be happy for an answer.
    Thank you!


Viewing 5 replies - 1 through 5 (of 5 total)
  • Theme Author Arthur Gareginyan


    Hello, Sandra!

    I’m glad that you liked my work!

    This is very simply.
    Find in the sidebar.php file this block:

    <!--RECENT POSTS-->
    <?php if(get_theme_mod('disable_recent_sticker') == '0') {  ?>
    <div class="recent-posts-upper"></div>
     <nav class="recent-posts">
        <?php $query = new WP_Query( array( 'posts_per_page' => '10' ) ); ?>
        <?php while ($query->have_posts()): $query->the_post(); ?>
              <a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
        <?php endwhile; ?>
    <div class="recent-posts-bottom"></div>
    <?php }  ?>

    and replace the “10” number to “4“.


    Thanks for the answer! I found the block and changed it. Great that it is so easy 🙂

    Today I tried to add some pictures to the backround. That works fine, but the position of the picture change from resolution to resolution.
    How can I fix them so that everyone sees them on the same position?

    Theme Author Arthur Gareginyan



    You are welcome!

    I’ll try to help you. Can I see it?


    Of course! What do you need to see?

    This is the site

    I’d like to have a row of books standing on the top of the notepad.
    Between the title and the pages post-it.
    I tried it and placed a picture of a row of books in the background image. On my PC all looked good. But on PCs with a different resolution the books stood more to the right side.

    I don’t know how to show pictures of it here…
    I took snapshots of it to show.

    Maybe this way…

    On my PC ist looks

    But on my cellphone for example it looks

    Theme Author Arthur Gareginyan


    Thank you for the snapshots.

    Try to change “Background Position” from “Left” to “Center” in the “Customiz’it” -> “Background Image”.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Number of Recent Posts in Sticker’ is closed to new replies.