Problem with Wordpress Pagination

valerio3
10 Posts
valerio3 posted this 18 June 2021

Schermata-2021-06-17-alle-14.37.31.png

Hello,
I have a problem with the PAGINATION of my HOME template on the website www.terredeuropa.net.

If you look at the first column, you will see a green box with the title FOCUS.

Under FOCUS there are 4 posts as normal Wordpress LOOP.

Between the FOCUS box and the 4 posts I have inserted a CMS CODE:

<? php query_posts ($ query_string. '& cat?>

or as an alternative

<? php query_posts ($ query_string. '& cat?>

With this code I specify that the following 4 posts must belong to category 72.

What is wrong with it?

Simple: WITHOUT the CMS CODE the pagination works but all the categories are inserted in the home, while with the CMS CODE only the category 72 is inserted but the pagination does not work.

I have edited the template several times trying to fix the error but I can't.

What can I do?

In attach you can see my Themler version on Mac OS

Thanks so much
Hello
Valerio

!Schermata-2021-06-17-alle-14.37.31.png! Hello, I have a problem with the PAGINATION of my HOME template on the website www.terredeuropa.net. If you look at the first column, you will see a green box with the title FOCUS. Under FOCUS there are 4 posts as normal Wordpress LOOP. Between the FOCUS box and the 4 posts I have inserted a CMS CODE: &lt;? php query_posts ($ query_string. &#39;&amp; cat?&gt; or as an alternative &lt;? php query_posts ($ query_string. &#39;&amp; cat?&gt; With this code I specify that the following 4 posts must belong to category 72. What is wrong with it? Simple: WITHOUT the CMS CODE the pagination works but all the categories are inserted in the home, while with the CMS CODE only the category 72 is inserted but the pagination does not work. I have edited the template several times trying to fix the error but I can't. What can I do? In attach you can see my Themler version on Mac OS Thanks so much Hello Valerio

Last edited 18 June 2021 by valerio3

Vote to pay developers attention to this features or issue.
6 Comments
Order By: Standard | Newest
Support Team
Support Team posted this 18 June 2021

Hello,

Please consider trying solution from this article:
https://answers.themler.io/articles/40262/wordpress-how-to-show-posts-from-specific-category-on-the-front-page
This solution can bу used for any WP Page, not just for front page.

Sincerely,
Nettie

Hello, Please consider trying solution from this article: https://answers.themler.io/articles/40262/wordpress-how-to-show-posts-from-specific-category-on-the-front-page This solution can bу used for any WP Page, not just for front page. Sincerely, Nettie
valerio3
10 Posts
valerio3 posted this 18 June 2021

Hi Nettie,
thanks for your answer!

Yes I did that: I followed exactly your tutorial:

  1. create a new page called HOME
  2. Reading settings > static page > HOME
  3. Copy the slug of the category to show
  4. Return on the HOME edit panel and insert the slug and check the flag Show Custom Categories
  5. Save the page!

But unfortunately the home page in the frontend doesn't change!
WP load the same home page as first!

I don't know why!
Any ideas please?

Many thanks!
Valerio

Hi Nettie, thanks for your answer! Yes I did that: I followed exactly your tutorial: 1. create a new page called HOME 2. Reading settings > static page > HOME 3. Copy the slug of the category to show 4. Return on the HOME edit panel and insert the slug and check the flag Show Custom Categories 5. Save the page! But unfortunately the home page in the frontend doesn't change! WP load the same home page as first! I don't know why! Any ideas please? Many thanks! Valerio
Support Team
Support Team posted this 18 June 2021

Hello Valerio,

In WordPress theme the Home Template is automatically applied to the Front Page specified under the WordPress Settings >> Reading.
The Front Page can be a list of Latest Posts or a Static Page.

Sincerely,
Nettie

Hello Valerio, In WordPress theme the Home Template is automatically applied to the Front Page specified under the WordPress Settings >> Reading. The Front Page can be a list of Latest Posts or a Static Page. Sincerely, Nettie
valerio3
10 Posts
valerio3 posted this 18 June 2021

Hi Nettie,
I don't understand: I have this configuration in setting panel (see attach).

And the home page in the frontend is not the page HOME I created before.

I send you in attach also the configuration panel with the page HOME.

I think is correct, isn't it?
Thanks
Valerio

Hi Nettie, I don't understand: I have this configuration in setting panel (see attach). And the home page in the frontend is not the page HOME I created before. I send you in attach also the configuration panel with the page HOME. I think is correct, isn't it? Thanks Valerio
valerio3
10 Posts
valerio3 posted this 18 June 2021

Hi Nettie,
I resolved! I cancelled the custom query I made!

Thanks :)
Bye
Valerio

Hi Nettie, I resolved! I cancelled the custom query I made! Thanks :) Bye Valerio
Support Team
Support Team posted this 18 June 2021

Valerio, you are welcome!

Sincerely,
Nettie

Valerio, you are welcome! Sincerely, Nettie
You must log in or register to leave comments