ThemeShaper Forums » Thematic

[closed]

WP Question - hardcode nextpage

(2 posts)
  • Started 2 years ago by ScottNix
  • Latest reply from helgatheviking
  • This topic is not resolved

Tags:

  1. So I have some meta boxes on a custom post type.

    $customportfolio = get_post_meta($post->ID, 'customportfolio', true);
    echo '<ul class="customportfolio">';
    foreach($customportfolio as $customportitem){
    	echo '<li style="clear:both;">';
    	echo '<image src="' . $customportitem['image'] . '" class="alignleft" />';
    	echo '<p>' . $customportitem['description'] . '</p>';
    	echo '</li>';
    }
    echo '</ul>';

    I have this snippet above in a custom-single.php template which calls the metaboxes. This works fine.

    The problem I am having is I need to hardcode a nextpage <!--nextpage--> for each custom portfolio item, well this won't work because I am not inside the_content which is were the `<!--nextpage-->' gets parsed. I can't find any way to manually call it outside of the_content, or another solution to have a page break after each one. Any Ideas?

    Posted 2 years ago #
  2. is nextpage is like a moretag? i don't have any ideas for you on this one, but then i don't really understand the question either. you might have better luck at the wordpress answers site: wordpress.stackexchange.com

    Posted 2 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.