• Hi guys,

    I am trying to have post pagination with <!–nextpage–>, along with custom field values. I’m unsure exactly how I would go about doing this.

    Instead of having custom html and css in each post, I would just like to have a field like the post title to put the data into. From here, I can then use it as a variable to style it from within the actual source code files.

    Basically, the post is setup as a gallery with the main post title, then the page title, along with image source.

    Each page will need to have a unique name, and image source. How would I go about doing this?

    Example:

    imagehere
    CUSTOM FIELD VALUE (IMAGE SOURCE): via istockphoto
    CUSTOM FIELD VALUE (PAGE TITLE): This is the title for page 1
    This is page 1 description
    <!--nextpage-->
    imagehere2
    CUSTOM FIELD VALUE (IMAGE SOURCE): via istockphoto
    CUSTOM FIELD VALUE (PAGE TITLE): This is the title for page 2
    This is page 2 description
    <!--nextpage-->

The topic ‘Post pagination with custom fields’ is closed to new replies.