Jump to content

Archived

This topic is now archived and is closed to further replies.

PeterStephens

Pagination not working on WP multisite

Recommended Posts

PeterStephens    0
PeterStephens

I'd like to have pagination on my class's multisite blog. I've dragged the post/page pagination section to the bottom of the main page, clicked publish, navigated to another page, and then returned to the blog's main page. It still says, "This template returned blank and visitors will not see it." (I've dragged it to different parts of the page to see if the result changes, and it doesn't.)

 

My class's blog is youread.us.

 

Thanks!

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

Hi,

 

As far as I can tell this is due to the fact that your posts are being displayed via a widget and are not using the loop section. We do not provide support for third party extensions, which is what you're using to display your posts. I recommend you set up your blog page using the Wordpress options, display a max of 5 posts using the PostLoop section and then the pagination section, then it should work.

The Pagination section was never intended to work with widgets.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
PeterStephens    0
PeterStephens

Hi, Danny, thanks so much. I don't have any widgets or plugins that display, or could display, the students' posts. Is it possible that the post/page pagination doesn't work on the home page of a WP multisite install?

 

I've attached a screenshot of youread.us's Reading settings in case that might help.

 

Thanks again.

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

Your posts are being displayed via a widget - http://cl.ly/image/0n430X3X231E

 

You're not using the PostLoop section, but something called nlposts which is inside the Widgetizer section. I even viewed your page source, there is no element in your page source called section-postloop.

 

We can not provide support to third party extensions, which you're using on your home page to display your posts.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
colbystream    0
colbystream

Hi,

 

I just wanted to pop in real quick, even though I'm not the OP, and put in my two cents that this solved my problem exactly as I had hoped (mainly, I didn't realize I needed to add the pagination section). Thanks Danny!

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

colbystream - No problem.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites

  • Similar Content

    • Perry
      By Perry+
      Hi,
      I've added the Post/Page pagination section to the bottom of the blog category page on the dev site here (see screenshot): http://dianef.sandboxes.online/category/intention-and-invention-blog/ but it is giving me the message "Post/Page Pagination is hidden or returned no output", and when viewing the page in another browser, I see nothing.
      Does anyone have an idea why this might be?
       
      Your help is much appreciated in advance.
       
      Thank you,
      Perry

    • flourishdesignstudio
      By flourishdesignstudio
      I am working on a multisite installation and had some questions regarding the themeing options. All the sites will have the same structure but each individual site would need a different h1 font and link color. I had originally thought that I would program/edit the parent theme to have a certain set of templates, font sizes, etc. and then that would feed to all the individual sites where I could activate the child theme and use the child theme to define the individual sites' specific link color, heading fonts, etc. So, what I was shooting for was:
      Parent theme = shared by all sites
      Child theme = specific to the minor customizations on a per site basis.
      Is this possible? Am I misunderstanding how these would actually deploy to the different sites?
    • Jonathan Eugster
      By Jonathan Eugster+
      I have a grandfathered dev account and am unable to activate subsites on my multisite network.
      Tried disconnecting and reconnecting account. Only main site is shown as activated.
      Since pro activation has been off and on for subsites I added code to hide the pagelines watermark (bottom left image/link). Could that be flagging the account not to activate or something?
      Network is on AWS Elastic Beanstalk, is there a port that needs to be open for authentication?
      TY
    • claudedagenais
      By claudedagenais+
      Hi, I'm looking to make the move to multisite with MultilingualPress instead of using WPML.
      I was able to configure Wordpress to work in multisite mode, to get MultilingualPress to work and have pages in both language that I want. I can make changes to my primary language pages in Pagelines, but in the secondary pages (other language), any changes I make are not saved. When I click on save it looks as it is saving but as soon as I reload the page all changes are gone.
      So am I missing something that I should do to get Pagelines to work in multisite mode? I get that PageLines Platform 5 need to be activated in network mode, I've tried to activate the other plugins & themes in network and individually on the sites.
      Tx
       
    • John Olsson
      By John Olsson+
      Hi, I wonder how I can edit the function pl_pagination in  function.php located plugins > pl-platform > engine > lib without editing the core-file, that will be overwritten from time to time.
      When I place the same code in my function.php located in my child theme, it just gets error.
      What the practice here, to edit that function, I want to replace for ex. "Next Entries" and the arrow to something else.
      This is what the original code looks like:
      /** * * Pagination Function * * @package PageLines Platform 5 * @subpackage Functions Library * @since 5 * * Single posts need to use next_post_link() * Archives can use next_posts_link() * */ function pl_pagination() { if ( function_exists( 'wp_pagenavi' ) ) : wp_pagenavi(); else : ?> <ul class="pl-pager page-nav-default fix"> <?php if( is_single() && ! is_page() ) { printf( '<li class="previous previous-entries">%s</li>', get_previous_post_link( '%link' ) ); printf( '<li class="next next-entries">%s</li>', get_next_post_link( '%link' ) ); } else { printf( '<li class="previous previous-entries">%s</li>', get_previous_posts_link( __( '&larr; Föregående','pl-platform' ) ) ); printf( '<li class="next next-entries">%s</li>', get_next_posts_link( __( 'Nästa &rarr;','pl-platform' ) ) ); } ?> </ul> <?php endif; } // As a callback with nav args associated function pl_menu_callback( $args ) { pl_menu_fallback( $args['menu_class'] ); } function pl_menu_fallback( $class = '', $limit = 5 ) { $pages_out = pl_page_list( $limit ); printf( '<ul class="%s">%s</ul>', $class, $pages_out ); } function get_pl_nav_default( $args ) { $limit = ( isset( $args['limit'] ) ) ? $args['limit'] : 6; $pages_out = pl_page_list( $limit ); return sprintf( '<ul class="%s">%s</ul>', $args['menu_class'], $pages_out ); }  
×