Hi there,
I have several blog posts that contain a lot of content and I don’t want to split up the post into multiple ones
but I need to have a way to split up the content so that people can click a button at the end of the blog post
to go to the next part of the content.
I searched online already to change the theme by adding a bit of code (a function) and that will trigger pagination
whenever I add a shortcode in the blog post where I want to split up the content, adding the shortcode again will
add an extra page to the same blog post.
My question is if it’s ok for me to make those changes to the theme core files or is there a way to do this a little
bit easier?
My suggestion for the developers of SiteOrigin is to add this function to the themes as a standard, it’s not a lot of
code and it’s using the built-in shortcode function of wordpress.
Best regards,
Ricardo Penders
Hi Ricardo,
Are you adding the code to a child theme? If not, I would recommend adding the code through Code Snippets. For reference, they’re basically the same, I just prefer Code Snippets for basic code. If you don’t use a Child theme or Code Snippets your code will be removed on theme update.
I’ll forward your suggestion to the development team.