Anarcho Notepad
[resolved] [closed] Date Ribbons and Blog page Title (14 posts)

  1. WilliamVaughan
    Posted 1 year ago #

    First... I Love the theme... amazing that it's a free theme.

    I'm helping a friend with her first website and I pretty much have my friends wordpress site all set for her to fill in the copy and add any additional data she wants. There are only two issues that I couldn’t address on my own and would love your help if you can.

    I only want the "posts" to be on a page that I have titled "Blog". It's the only place on the site that I plan to have posts with the rest of the site being static pages.

    issues I have:

    #1- Date red ribbons- this is an option in the customize theme section under ‘stuff’. (Red Ribbon Data) Cool look for the blog posts. Looks weird and out of place for pages and front page (nest to page titles). Is there any way to limit them to ONLY the blog posts? Looks great when activated for blog posts. Would hate to disable it for blog posts when I just want to disable it for everything else.

    #2- I wish the blog page had a title just like the other pages. It would be more consistent. but when I set that page as the "Posts Page". it loses it's title. Any way to have my cake and eat it too? I want the page title and have it be the Posts page.

    Any help will be very much appreciated.

  2. WilliamVaughan
    Posted 1 year ago #

    Forgot to post link to site... it's a work in progress of course but this might help explain what I'm after;


  3. Arthur Gareginyan
    Theme Author

    Posted 1 year ago #

    Hi William!
    Thank you for using "Anarcho Notepad"! I'm glad that you liked my work!

    Yes indeed "Anarcho Notepad" is a free theme, but I accept donations as appreciation, because I spent 7 months on her writing.

    In the "Anarcho Notepad" there are page template without date-ribbon.
    To use:
    In the page editor In the field of "Page Attributes" > "Template" instead of "Default Template" choose "Page without date".

    For displaying posts used files:

    but not the page.php

    I think you will need to create a category "Blog" (instead page) and add it to the menu "anarcho-menu".

    Please let me know if this helped.

  4. WilliamVaughan
    Posted 1 year ago #

    Thanks for the quick reply. #1 is resolved but I still have an issue with #2.

    I did as you suggested and made the Blog a category instead of a page.

    I added the category named Blog to the menu and removed the Blog page. it looks identical to what I had when it was a page.

    I'm hoping to have the title "Blog" at the top of the page as seen on every other page in the "pages menu"

    just to be consistent.

    If you look at this site: http://andreaspeaksout.com/

    you will see a title on all apges:

    >Welcome to Andrea Speaks Out
    >Invisible Target

    only one missing is Blog.

    So far I have tried a Page and the Category you suggested with no luck getting a title... Any suggestions?

    Also... Where can I make donation?... Would love to support your efforts.

    Thanks again for replying to my questions

  5. Arthur Gareginyan
    Theme Author

    Posted 1 year ago #

    You are welcome!

    I got it, you need the title of the page, not the posts on the page.

    To do this, you need to create a new template file with the title of the page.
    Try this. Create a file page_blog.php and paste this:

     * The template for displaying page with title.
     * Template Name: Page with Title
     * @package	Anarcho Notepad
     * @since	2.5.2
     * @author	Arthur (Berserkr) Gareginyan <arthurgareginyan@gmail.com>
     * @copyright 	Copyright (c) 2013-2014, Arthur Gareginyan
     * @link      	http://mycyberuniverse.com/anarcho-notepad.html
     * @license   	http://www.gnu.org/licenses/gpl-3.0.html
    <?php get_header(); ?>
    <section id="content" role="main">
      <div class="col01">
      <?php anarcho_breadcrumbs(); ?>
      <?php if (have_posts()) : ?>
      <?php while (have_posts()) : the_post(); ?>
        <h1><?php the_title(); ?></h1><br/>
        <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
          <?php anarcho_ribbons(); ?>
          <h1><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h1>
          <div class="post-inner">
    	        <a href="<?php the_permalink(); ?>"><?php the_post_thumbnail(); ?></a>
    		<?php the_content( __( 'Continue reading', 'anarcho-notepad' ) ); ?>
          <div class="meta"><?php if ((the_category() != '')) { _e('Category: ', 'anarcho-notepad'); the_category(', '); } ?></div>
        <?php comments_template(); ?>
        <?php endwhile; ?>
        <?php else : ?>
    	<div class="no-results">
    		<h1><?php _e('Not Found', 'anarcho-notepad'); ?></h1>
    		<p><?php _e('Sorry, but you are looking for something that isn\'t here.', 'anarcho-notepad'); ?></p>
        <?php endif; ?>
       <?php get_sidebar(); ?>
    </section><br clear="all" />
    <?php get_footer(); ?>

    But it is desirable to do so in the child theme.

    To use:
    In the page editor In the field of "Page Attributes" > "Template" instead of "Default Template" choose "Page with Title".

    You can make a donation from the Admin Panel of your site:
    "Admin Panel" > "Appearance" > "Theme info" > button "Donate"
    or from my website http://mycyberuniverse.com/anarcho-notepad.html

  6. batharoy
    Posted 1 year ago #

    Have you gone through Settings > Reading and set your home page as static and set a different blog page?

  7. WilliamVaughan
    Posted 1 year ago #

    Thanks for the code. I added the page and selected Page with Title for my Blog Page and still have no title show up as seen here:


    I feel one step closer as I can select the page option of Page with Title. I'm just not seeing different results

    Sent a donation your way.... your help is very much appreciated!

  8. WilliamVaughan
    Posted 1 year ago #

    @ Batharoy
    yes. This is how I set it up . But with this theme there is no title for the page that you dedicate to the blog posts.

    I'm hoping ot get this custom page working so I can get the title to display

  9. WilliamVaughan
    Posted 1 year ago #

    @ Arthur Gareginyan

    Just to make sure you have full picture. I'm using the Customize option and setting the 'Posts Page' to my 'Blog' page.

    So that all the blog posts show up on the Blog page.

    let me know if you need more info

  10. Arthur Gareginyan
    Theme Author

    Posted 1 year ago #

    In file home.php after the line:

    <div class="col01">

    add this:

  11. WilliamVaughan
    Posted 1 year ago #


    All issues resolved... very much appreciated.

    Love the site and I'm sure my friend Andrea will as well.

    Enjoy your weekend and keep up the great work!

  12. Arthur Gareginyan
    Theme Author

    Posted 1 year ago #

    I corrected the code above!

    Now you can remove the page_blog.php, It is no longer needed.

    Thank you for your donation! Have a good weekend!

  13. jippiejoo
    Posted 1 year ago #

    Hi Arthur,

    We're using your theme and we love it!

    We also done:

    'In the page editor In the field of "Page Attributes" > "Template" instead of "Default Template" choose "Page without date.'

    But when we use the search function the date is back on..
    Is there a way to make the date invisible in the search results?


  14. esmi
    Forum Moderator
    Posted 1 year ago #

    If you require assistance then, as per the Forum Welcome, please post your own topic instead of tagging onto someone else's topic.

    I am now closing this 3 month old, resolved, topic as it references an older version of WordPress.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic


No tags yet.