Site logo

Archived topic

Plugin wp-pagenavi

5 replies · Started by Alberto on December 10, 2021

Viewing posts 1–6 of 6

Hola! No consigo integrar el plugin wp-pagenavi con el tema generatepress. Creo que tiene que ser creando un hook. Soy novato en el diseño web. ¿Por favor, podríais explicármelo paso a paso? Creo que wp-pagenavi se integra con wordpress creando un hook, pero no sé cómo hacerlo.

Hi Alberto,

In order to use this plugin, I think you'll need to use a child theme of GP:
https://docs.generatepress.com/article/using-child-theme/

Once the child theme is created, you'll make a copy of the post-meta.php from the parent theme to your child theme.

You'll be able to find the next_posts_link() and previous_posts_link() and replace them in your child theme's post-meta.php file.

But it seems complicated to someone new to WP, I would suggest find another plugin which is easier to use :)

Gracias Ying por responder, pero en mi directorio del tema de generatepress no existe ese archivo. Los archivos que me aparecen dentro del directorio del tema generatepress son:
- 404.php
- archive.php
- comments.php
- content-404.php
- content-link.php
- content-page.php
- content-single.php
- content.php
- footer.php
- functions.php
- header.php
- index.php
- no-results.php
- page.php
- readme.txt
- screenshot.png
- search.php
- searchform.php
- sidebar-left.php
- sidebar.php
- single.php
- style.css

Te agradecería mucho que me puedas decir cuál es el archivo que debo modificar.

David, ¡muchas gracias! Me has ayudado a resolver un auténtico quebradero de cabeza. Gracias al enlace del fórum que me has proporcionado, he conseguido por fin integrar este plugin con generatepress.
¡Sois un equipo estupendo!

Glad to be of help!

This archived topic is closed to new replies.