Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Excerpts, Read more, Pagination (http://forum.bytesforall.com/forumdisplay.php?f=20)
-   -   Multi-page Posts - Navigation issue (pagination) (http://forum.bytesforall.com/showthread.php?t=1234)

fenixsz Apr 12, 2009 04:48 AM

Multi-page Posts - Navigation issue (pagination)
 
Hello,

I have issue with navigation links on bottom of the page.

Now, what I see is:

Pages: 1, 2, 3, 4, 5, 6, 7....

Is there I chance for other navigation lilke:

*Lets say we are on page 4 in this moment.

first page,....,3,4,5,.....last page


PHP Code:

<?php // Post Pagination 
        
if ((is_home() && $bfa_ata['excerpts_home'] == "Full Posts") OR 
        (
is_category() && $bfa_ata['excerpts_category'] == "Full Posts") OR 
        (
is_date() && $bfa_ata['excerpts_archive'] == "Full Posts") OR 
        (
is_tag() && $bfa_ata['excerpts_tag'] == "Full Posts") OR 
        (
is_search() && $bfa_ata['excerpts_search'] == "Full Posts") OR 
        (
is_author() && $bfa_ata['excerpts_author'] == "Full Posts") OR 
        
is_single() OR 
        
is_page() ) {
            
wp_link_pages('before=<p class="post-pagination"><strong>' __('Pages:','atahualpa') . '</strong> &after=</p>&next_or_number=number'); 
        } 
?>


Flynn Apr 14, 2009 03:47 AM

Doesn't look as if the default wp_link_pages function could do this
http://codex.wordpress.org/Template_Tags/wp_link_pages

You'll probably need a plugin for this

andyro Jun 1, 2010 05:07 PM

I've tried a few pagination plugins, such as wp page_navi and can't seem to get any of them to work. I have pasted the <?php wp_pagenavi(); ?> in the lower css inserts section of ATO, and when that didn't work I tried calling it from the footer.php - but nothing seems to get these to show up. Links to the plugins are here: http://www.lesterchan.net/wordpress/...-pagenavi.html, and a review of a few different ones here: http://skyje.com/2010/02/5-excellent...ion-solutions/

Any help would be greatly appreciated. Thanks, Andy. Oh - I see over here someone has been down this path. No solution for multippage or split posts it would seem...

Erwin Feb 20, 2013 03:41 AM

Hello gentlemen!

I have a question regarding the output of the <!--nextpage--> tag in the Atahualpa theme.
On my site, this results in displaying:

"Pages 1, 2".

This is what I expected, but is it possible to change the word Pages to something different? Like "My pages", or "Pagina"?
I have checked and tried changing it in the bfa-post-parts.php template, but that did not change the output.

I'm overlooking something, but I cannot figure out what that is.

juggledad Feb 20, 2013 04:19 AM

edit index.php and find the line (line 34 in version 3.7.10)
HTML Code:

                <?php bfa_post_pagination('<p class="post-pagination"><strong>'.__('Pages:','atahualpa').'</strong>','</p>'); ?>
and change it there. - note this will effect a translation if you use one.


All times are GMT -6. The time now is 09:17 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.