Aller au contenu principalAller à la barre d’outils À propos de WordPress Annonces sexe / rencontre France 1616 mises à jour disponibles 00 commentaire en modération Créer SEO Bonjour, trashy Aide Modifier les thèmes Modification de wpex-fashionista430 (désactivée) Fichier : inc/pagination.php Sélectionnez le thème à modifier : wpex-fashionista430 Fichiers du thème Feuille de style (style.css) Fonctions du thème (functions.php) cssdossier incdossier metadossier category-tag.php classesdossier comments-callback.php custom-css.php entry-meta.php entry-thumbnail.php hooks.php load-more.php mobile-menu.php pagination.php post-meta.php post-thumbnail.php recommend-plugins.php sanitize.php scripts.php social-output.php social-share.php theme-customizer.php widgetsdossier woocommerce-config.php vital.css jquery-migrate.min.js jquery.js jsdossier Modèle pour l’erreur 404 (404.php) Commentaires (comments.php) content-related.php Pied de page du thème (footer.php) Entête du thème (header.php) Modèle pour les images attachées (image.php) Modèle pour la page d’accueil (index.php) page-departement.php page-region.php page-ville.php Page individuelle (page.php) Formulaire de recherche (searchform.php) sidebar-woocommerce.php Colonne latérale (sidebar.php) Publication seule (single.php) Modèle de page Full Width (template-full-width.php) template-partsdossier woocommerce.php fontsdossier Contenu du fichier sélectionné : 27 $pages = 1; 28 } 29 } 30 31 if(1 != $pages) { 32 echo "
"; 33 echo "
Plus de plan cul :
"; 34 if($paged > 2 && $paged > $range+1 && $showitems < $pages) echo "«"; 35 if($paged > 1 && $showitems < $pages) echo ""; 36 for ($i=1; $i <= $pages; $i++) { 37 if (1 != $pages &&( !($i >= $paged+$range+1 || $i <= $paged-$range-1) || $pages <= $showitems )) 38 { 39 echo ($paged == $i)? "".$i."":"".$i.""; 40 } 41 } 42 if ($paged < $pages && $showitems < $pages) echo ""; 43 if ($paged < $pages-1 && $paged+$range-1 < $pages && $showitems < $pages) echo "»"; 44 echo "
\n"; 45 } 46 } 47 } 48 ​ 49 /** 50 * Infinite Scroll 51 * @since 1.0 52 */ 53 if ( !function_exists( 'wpex_infinite_scroll' ) ) { 54 55 function wpex_infinite_scroll( $pages = '', $range = 4 ) { 56 wp_enqueue_script( 'att-infinitescroll-init', WPEX_JS_DIR .'/infinitescroll-init.js', array( 'jquery', 'wpex-global' ), 1.0, true ); 57 $output = ''; 58 $showitems = ($range * 2)+1; 59 global $paged; 60 if(empty($paged)) $paged = 1; 61 62 if( $pages == '' ) { 63 global $wp_query; 64 $pages = $wp_query->max_num_pages; 65 if(!$pages) { 66 $pages = 1; 67 } 68 } 69 if( 1 != $pages ) { 70 $output .= '
'; 71 $output .= '
'; 72 $output .= get_previous_posts_link('← '. esc_html__( 'Newer Posts', 'fashionista' ) ); 73 $output .= '
'; 74 $output .= '
'; 75 $output .= get_next_posts_link( esc_html__( 'Older Posts', 'fashionista' ) .' →'); 76 $output .= '
'; 77 $output .= '
'; 78 } 79 80 echo $output; 81 } 82 83 } 84 ?> Documentation : Nom de la fonction… Merci de faire de WordPress votre outil de création de contenu.Version 6.9.4