Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • in reply to: How to create Multiple Page Posts #154863
     steve0nz
    Participant

    Hi there

    I have been looking at the next page function and I have been trying to modify it so I will just get a button for next page that is something like “read the full story”.

    COPY CODE
    		<?php if ( ! $is_single ) : // Only display Excerpts for Search ?>
    			<?php echo kleo_excerpt( 50 ); ?>
    			<p class="kleo-continue">
    				<a class="btn btn-default"
    				   href="<?php the_permalink() ?>"><?php esc_html_e( 'Continue reading', 'kleo_framework' ); ?></a>
    			</p>
    		<?php else : ?>
    			<?php the_content( esc_html__( 'Continue reading <span class="meta-nav">&rarr;</span>', 'kleo_framework' ) ); ?>
    			<?php wp_link_pages( array(
    				'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'kleo_framework' ),
    				'after'  => '</div>',
    			) ); ?>
    		<?php endif; ?>

    I am having issues when I use <!–nextpage–> that I get random tags for the page (see attached image), I don’t understand where they are coming from.

    My questions i;, how do I modify the next page code since your theme is already handling it? I would like to have a button that splits up the page and makes it a second page. The continue reading in the example I gave above looks perfect but I don’t know how to call it.

    Thanks

    Attachments:
    You must be logged in to view attached files.
    in reply to: 502 Error after updating theme #154566
     steve0nz
    Participant

    I just tried this… first of all my wp-config.php didn’t have the line
    define( 'WP_DEBUG', true );

    So I added the next two lines

    COPY CODE
    define( 'WP_DEBUG', true );
    define( 'WP_DEBUG_LOG', true );

    However there are no logs in the logfile

Viewing 2 posts - 1 through 2 (of 2 total)

Log in with your credentials

Forgot your details?