How to disable custom fields on second (third, fourth, …) page of post?
-
Hi, simple question for today:
I have a few custom fields written on my single.php template. Those custom fields “start” the post (displaying bold excerpt, first image, table with summary, …), so I don’t need to have them displayed on second/third/… page of my post.
So the question: Is it possible to disable custom fields on any other page of post than on its first page?
Demonstration: https://petrcibulka.freshflesh.cz/?p=56
I don’t think the posting of the code is necessary, just for further explanation it goes like this:
1) the_excerpt bold
2) CUSTOM FIELDS: table with image, written in single.php. Its value is the text on right cell
3) the_contentThanks in advance.
- The topic ‘How to disable custom fields on second (third, fourth, …) page of post?’ is closed to new replies.