got the same problem,
after version 5.5 get_query_var('page')
doesn’t work,
tried to use global $page
also doesn’t work.
but when i put <!--nextpage-->
to my post, it works.
before version 5.5 i can append page number to my custom post type
url and get the value with get_query_var('page')
. but in version 5.5 i can’t do that anymore, even if i put <!--nextpage-->
, i only can get page number up to the total of <!--nextpage-->
i put in my post.
i did not put <!--nextpage-->
in my custom post type
by default because i am using custom post meta
. that custom post meta
is contains array, so when i access e.gcustom-post-meta/2/
it will take data from custom post meta array[2].
-
This reply was modified 4 years, 3 months ago by Super Pel.
-
This reply was modified 4 years, 3 months ago by Super Pel.