Jump to content
  • Similar Content

    • Perry
    • flourishdesignstudio
      By flourishdesignstudio+
    • Jonathan Eugster
    • 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.
    • 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 ); }