Forums

[resolved] How to disable custom fields on second (third, fourth, ...) page of post? (3 posts)

  1. Arsene
    Member
    Posted 2 years ago #

    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: http://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_content

    Thanks in advance.

  2. MichaelH
    Volunteer
    Posted 2 years ago #

  3. Arsene
    Member
    Posted 2 years ago #

    Thank you, exactly what I needed! Wierd I haven't found it myself.

Topic Closed

This topic has been closed to new replies.

About this Topic