Thread Starter
Farlif
(@farlif)
*subpages not subtitles
sorry
You could possibly use the “read more” tag within the post that is to be included. This would cause the link/text “Read more” (depending on your theme) to appear within the content of the included post. The user would see only the content present prior to the tag and would need to click the link to view the entire post. You can find out about the use of the more tag in the codex if you are not familiar with it.
Thread Starter
Farlif
(@farlif)
Thanks, this is a really good idea!
I am just afraid I can’t go that way because I will need to have different link anchor texts for different imports. Anyway, thanks for your fast and inspired support!
Thread Starter
Farlif
(@farlif)
Okay, I followed your link, and in the last paragraph I learned that it is possible to integrate individual anchor texts to the more tag easily.
Cool!
Well, now I’d like to know this: If I import subtexts this way and only show the individually adapted more tags on the main page, will the complete subtexts yet load already during the fist load of the main page (even if not shown), so that loading the main page is taking heavy times for the server?
Or does clicking the more tag load the subtext, and before clicking it the main page is free of that burden?
No problem. Using the more tag causes the content above it to load in an archive-like listing of posts. Clicking the more link takes the visitor to a single post which contains the content before and after the more tag. So it would seem the answer to your question is that the main page is free of the burden.
You could possibly use AJAX to retrieve the text after the more tag and display it directly on the main page without refreshing or leaving that page if that is the desired effect. RPS Include content does not have this capability natively so you would need to employ some custom PHP/AJAX solution to get this done.
We are going to mark this topic as resolved but feel free to reopen it if necessary.