Topic: Post to Post, Page to Page

how about adding a feature where you have a link at the bottom and/or  the top of the post to another post with in the same categorie and give an easy access like the theme change page to all allowe the order. like in order the post were poster like   <<-Last Page    Next page->> but with the post names. Just like how its on anime sites like http://animeseason.com. also for the navigation the main one why is their a bar across the whole screan why cant you make it smaller so its as big as the page its self. form the the begining of the side bar to the end of the page.

Last edited by tatsiga (2010-06-01 13:20:38)

**...::: cool ::::Featured Arras Theme::: cool :::...**
{1.4.3b2}=--=[http://www.aniblade.com]

Thumbs up

Re: Post to Post, Page to Page

I have a cone given by wordpress for this and i want it inside the template placed in the post at the bottom of the content in its own box like how the comment headdings are in their onw sepaerate boxes.

**...::: cool ::::Featured Arras Theme::: cool :::...**
{1.4.3b2}=--=[http://www.aniblade.com]

Thumbs up

Re: Post to Post, Page to Page

Something like this I guess:
http://www.watkijkikoptv.info/mp3/nextprev.png

I've added this piece of code in single.php, just above the piece that says <?php arras_below_post() ?>

(note: this code works within the same category only, if you change TRUE into FALSE it will show simply the next post)

    <div class="module-title">More from this category</div>
    <div id="commentsform">
    <div class="floatleft"><?php previous_post_link('&laquo; %link', '%title', TRUE); ?></div>
    <div class="floatright"><?php next_post_link('%link &raquo;', '%title', TRUE); ?></div>
    </div>

This is already styled in CSS so I don't have to add anything in CSS.

(This is actually an idea I might add to my own blog.)

For Child theme users, a function which does the same:

function add_next_prev() { ?>
    <div class="module-title">More from this category</div>
    <div id="commentsform">
    <div class="floatleft"><?php previous_post_link('&laquo; %link', '%title', TRUE); ?></div>
    <div class="floatright"><?php next_post_link('%link &raquo;', '%title', TRUE); ?></div>
    </div>
<?php }

add_action('arras_below_post', 'add_next_prev');
My Arras themed & Arras related site: NullCore.
Please ask questions about Arras on forum, not through mail, thanks.

Re: Post to Post, Page to Page

Oh, isn't that always the way? I spent 3 days getting Organize Series to work and then I find this beautiful little bit of code. Needless to say, I no longer need the plugin.

I do have one silly noob question, however. Rather than "More from this category", could I get it to read "More from <category name>"?

Thank you so very much!

Thumbs up

Re: Post to Post, Page to Page

Okay, figured it out. For anyone else who might need it, here's the code I used:

<!-- Extatix's nav code -->
    <div class="module-title"><?php foreach((get_the_category()) as $category) { echo $category->cat_name . ' '; } ?> navigation</div>
    <div id="commentsform">
    <div class="floatleft"><?php previous_post_link('&laquo; %link', '%title', TRUE); ?></div>
    <div class="floatright"><?php next_post_link('%link &raquo;', '%title', TRUE); ?></div>
    </div>
<!-- end Extatix's nav code -->

Thumbs up

Re: Post to Post, Page to Page

This is great, but what if the post has more categories? Then you go to another category. Can this be fixed?

Thnx
VBR
Karen

Thumbs up

Re: Post to Post, Page to Page

Hi This post is great. I am using the code. However I wanted to make the 'NEXT' 'PREVIOUS' into arras styled buttons. how do I do this. I tried adding 'arras' to the code. But it did not work Help!

Thumbs up

Re: Post to Post, Page to Page

You can also display specific post in the category pages with feature in our custom menus. If desired, you can change the default page for post displayed by changing the settings -> Reading in the dashboard.The code is also great.Thank you for it.

Thumbs up