Jump to content

Archived

This topic is now archived and is closed to further replies.

lutz

How to split a post into several pages – nexpage doesn't work!

Recommended Posts

lutz

Hi everybody,

I use Pagelines for some years now, but for the first time I have to split up posts into several pages.

Unfortunately, <!-- nextpage --> doesn't work.

Can please someone help me, making that work?

I don't have the time to change the theme and need the post split up because it would be way too long, espcially on mobile displays ...

Thanks in anticipation!!!

Share this post


Link to post
Share on other sites
Danny

Hi,

What section are you using to display your posts? Can you provide a link to the site post in question so we can take a closer look.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
lutz

Hi Danny,

thanks for your quick reply!

After I installed the plugin "Custom Nextpage", it worked – even after I deleted it!
So it works now ... whatever the probleme might have been ... ;))

But what I detected now is, that the in-post navigation shows up BELOW the post-by-post-navigation and the sharing links (doesn't matter if by WordPress or something like Shareholic, I'm using), see here: mobiwatch.net/vorlage

That's really unlogical, not to say stupid – but as far as I have read, it's typical behaviour for Wordpress, right?

Or do you know any solution for that?
Meaning the order should be like this:

- post content
- in-post navigation
- sharing links
- post-by-post-navigation

Right?

Is there a way to reach that goal in Pagelines?

Kind regards,
Lutz

 

 

Share this post


Link to post
Share on other sites
Danny

Unfortunately, no its just how it works. If you want to change the location, you will need to ask this question on the WordPress support forums.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
lutz

Yes, I already thought so ..

But thanks!

Share this post


Link to post
Share on other sites
Danny

No problem.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
lutz

Dear Danny,

 

in the WordPress forum I now got the answer, that the decision, in what order and style the content for "The Loop" is built, is made in the theme.

That bringt me back to you ...

Indeed I hat a look into files like index.php, page.php and so on, they all just called pagelines functions.

So I hope you won't let me drop "between two stools"!

 

Share this post


Link to post
Share on other sites
Danny

You can't do this out of the box. There are two ways you can do this, you can either use hooks and then hook your plugins into position via the hooks location or create your custom loop section. Another solution would be to use the PowerLoop section and see if those sharelinks plugin uses shortcodes. If they do, you will be able to easily achieve this with the PowerLoop section.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
lutz

Dear Danny,

can I use the PowerLoop with my old Pagelines Framework? That has nothing to do with DMS or something?
Because when I click on STORE in my Pagelines extries in WordPress (I dont see PowerLopp anywhere, not in Secctions, nor in Plugins or in Integrations....)

And second question before I buy: I found this page: http://answers.pagelines.com/how-do-i-use-powerloop
There I didn't see any shortcode for the in-post navigation. Just these:

[powerloop_title] - Post Title
[powerloop_content] - Post Content
[powerloop_excerpt] - Post Excerpt
[powerloop_author] - Post Author
[powerloop_date] - Post Date
[powerloop_link] - Post Link Button
[powerloop_avatar] - Post Author Avatar
[powerloop_media] - Post Media

So my guess is: I buy PowerLoop, and I can't change the position of the in-post navigation nevertheless ...

That's why I go back to your first suggestion: create my own loop. Or at least change the Loop of Pagelines ... if I had any idea how to da so ;))
See, I'm a journalist, WP ist just a tool for me. And as I can change minor things in css or php by copy & paste some code from a to b, that was enough up to now.

But at that point a need a little more detailes help, meaning: where is The Loop in Pagelines (file name) and where should be the code part, where it builds the content?

I already found class.posts.php, but every change I tried, didn't help my problem: the in-post navigation is always last...

Can you prove any more help?

 

 

Share this post


Link to post
Share on other sites
Danny

I apologise, I shouldn't have recommend PowerLoop, as PowerLoop is only compatible with DMS Framework. Therefore, you're going to need to either customise the PostLoop section or use hooks. Please be aware that we can not provide support for either of these, as they're beyond our support scope.

If you're not comfortable doing this, you could contact our helpdesk who will provide you with contact information for our trusted developers and agencies who will be able to develop this for you.

hello at pagelines dot com


Please search our forums, before posting!

Share this post


Link to post
Share on other sites

  • Similar Content

    • mtaus
      By mtaus+
      I'm trying to add a Careers page to a site to display job openings. The plan is to create a Post using a subcategory 'Careers' and then display those on the page. All of the post sections in PL seem to include images and there's no obvious way to remove them or include an excerpt from the post. 
      Any suggestions?
    • Dan Haddock
      By Dan Haddock
      Hi Pagelines team and wider community,
      I am looking to develop a single post page for my blog. I have read over an old article on the subject, however the link provided on achieving this goal was giving me security warnings. Is there any way I can get round this?
      Secondly, I have had a root around the .zip file provided on my sites backup, however was unable to locate any file in there with the name of Single.php. Does this file exist in the Pagelines theme?
      By the way, this is the unsafe article: http://support.pagelines.me/docs/customization/create-a-custom-page-template/ (Click at your peril).
       
    • Queue-it
      By Queue-it+
      Hi,
      How can I remove the "next post" links below each post page? 
      https://queue-it.com/cdn-blog/
      Before we had a related post section, but I can't find it among any functions, widgets etc. 

    • Houston Haynes
      By Houston Haynes+
      I'm still "piercing the veil" of platform 5, with page navigation the current subject of interest. I worked with a few plugins (the most useful being Next Page Not Next Post) but I wanted to take a step back and start with an example - and see if I could get a bit of help "inside the beltway". 
      What I'm looking to do is substantially similar to the pagelines docs pages - see my annotated screenshots attached. At the top of a "child" page I want a link back to the "parent" page - and at the bottom of that "child" page I want to place a similar link to the "grandchild" page. At the bottom of each grandchild page I want there to be navigation "buttons" to sibling pages in the hierarchy. 
      "Next Page Not Next Post" handles what I'm expecting for "sibling" navigation, but I'm having a bit of trouble getting over the logistical hump of applying that functionality to my page "Template C" instance only. And per the attached examples, while researching how to solve this problem I see on the Pagelines site *itself* that the navigation elements are in place - and I especially like the oval button formatting of the sibling page navigation.
      So - really, my question is two-part:
      Are there plugins/code snippets/tutorials/threads here that show how Pagelines achieved their page hierarchy nagivation, and  Is there a tutorial (or advice from generous contributors here) on how to use the PHP templates to override the content portion of the page to add the navigation elements? Thanks in advance!


    • eusebius
      By eusebius+
      Hello,
      I recently added a function that allowed me to use the same tag taxonomy for both posts and pages. Thank God, it is working well.
      Now, I want to modify the standard post loop in the WP Loop section to show both of those post types whenever I navigate to the archive of one of those tags. After researching a bit, I found what I believe is the right code from the Codex and have tried to include it in section.php of my overridden section, but it doesn't seem to work. Here is what I have beginning from about Line 156:
      /* * Standard loop. */ // The Query function standard_loop() { $args = array('post_type' => array( 'post', 'page' )); $query = new WP_Query( $args ); if( $query->have_posts() ) while ( $query->have_posts() ) : the_post(); the_content(); endwhile; } function loop(){ $count = 0; global $plpg; if( have_posts() ) while ( have_posts() ) : the_post(); $count++; $format = get_post_format(); What am I doing wrong?
      Thanks in advance.
×