Forum Support

Shape 5
May 13, 2021, 07:06:50 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Post pagination (page breaks)  (Read 359 times)
dache74
Jr. Member
**
Offline Offline

Posts: 21



« on: July 26, 2016, 07:35:05 AM »

I've added <!??nextpage??>  tags in my post, but it does not break up into multiple pages. Is there a place where pagination needs to be enabled in this theme?

Logged
Tristan Rineer
Global Moderator
*****
Offline Offline

Posts: 3858

Gravatar


« Reply #1 on: July 26, 2016, 08:07:17 AM »

I was not aware that was even a feature in WP.  There is already pagination built into the theme, but if it's not working for split pages, I'll have to look at the code.  Is the access information you sent me previously still active?  If so, I'll take a look at your site today and see if I can figure it out.  If it's a different site, can you PM details of FTP access & WP Login?  What page are you using the pagination code on? 
« Last Edit: July 26, 2016, 08:09:11 AM by Tristan Rineer » Logged

Tristan Rineer
------------
Shape 5 Team



- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
dache74
Jr. Member
**
Offline Offline

Posts: 21



« Reply #2 on: July 26, 2016, 08:17:12 AM »

Tristan,

Same site and login info. Here is the post I am trying to paginate: http://www.hackerdad.co/security/state-of-the-household-2016/.

Supposedly, this feature is built into WP. Here is a reference article: http://www.wpbeginner.com/wp-tutorials/how-to-split-wordpress-posts-into-multiple-pages/

Thanks!
Logged
Tristan Rineer
Global Moderator
*****
Offline Offline

Posts: 3858

Gravatar


« Reply #3 on: July 26, 2016, 09:42:02 AM »

I found the problem.

You are using the visual editor, which filters out HTML.  If you want to use the <!--nextpage--> tag, you need to enter it using the text version of the editor (as stated in the 2nd sentence, here: https://codex.wordpress.org/Styling_Page-Links ).
Logged

Tristan Rineer
------------
Shape 5 Team



- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
dache74
Jr. Member
**
Offline Offline

Posts: 21



« Reply #4 on: July 26, 2016, 09:56:49 AM »

Nope - I enter this tag in the Text editor, but after the post editor is closed and re-opened, the tag gets re-written.
Logged
Tristan Rineer
Global Moderator
*****
Offline Offline

Posts: 3858

Gravatar


« Reply #5 on: July 26, 2016, 10:12:25 AM »

I verified the code, and everything that's needed in order to display the paginated content is already in the theme code. 

I just looked at the post content, and it appears that the problem is the tags being wrong. 

This is what you have:
Code:
<!??nextpage??>

This is what you need:
Code:
<!--nextpage-->

The hyphen/minus character you are using isn't the correct one for HTML.  I'm not sure if that's related to your keyboard encoding, or something else, but I replaced one of the tags with the correct characters, and it started working.
Logged

Tristan Rineer
------------
Shape 5 Team



- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Tristan Rineer
Global Moderator
*****
Offline Offline

Posts: 3858

Gravatar


« Reply #6 on: July 26, 2016, 10:13:36 AM »

It appears that the forum converted the hypen characters from your version of the code to question marks; I'm not sure why that is.
Logged

Tristan Rineer
------------
Shape 5 Team



- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
dache74
Jr. Member
**
Offline Offline

Posts: 21



« Reply #7 on: July 26, 2016, 10:59:44 AM »

yep - looks like the forum converted the tag.  Not sure why the tag encoding is not correct -- I use a regular en-US keyboard. I copied/pasted the tag you made, and it's working fine. Thanks!
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.