<!--nextpage--> destroys excerpt
Hey,
always if i try to split posts with nextpage the excerpt length on homepage will be augmented till the nextpage tag (without my ATA customized 100 words limit), additionally images are no longer stripped out. What am i doing wrong? Thank you. Using atahualpa 3.7.3, but have the problem since 3.6.1. |
I'm not real clear on what you are describing but when I put a next page tag in a post I initially see the excerpt on the multi post page and then when I open the post I see the text to the first next tag.
|
No, on multipost i see text till nextpage, otherwise it would be fine lol...
|
If your next tag is placed before where you have your excerpt length set to you may see it. You can always use manual excerpts to "force" an excerpt.
Actually I am still having a hard time understanding what you are doing. Could you do the following? - What is your excerpt length? - Is the multi-post page set to excerpts only? - Where is your next tag placed? - Could you paste an example of the content of a post here? |
Thanks a lot for your attention.
- What is your excerpt length? I put it to 100 words - Is the multi-post page set to excerpts only? Yes it is, and if i do not use nextpage tag it shows excerpt as configured - Where is your next tag placed? Much later than 100 words. So excerpt will be blown up till the nextpage tag including all images that normally are stripped out. - Could you paste an example of the content of a post here? Right now i dont use nextpage tag, because it makes my home/multipostpages look like shi... What exactly do you mean with posting example? That i copy the post out of html view in editor and paste it here? Or copy from browser? |
The way excerpts, next page tag, etc all work together can be "interesting". The best way to have an excerpt display exactly as you want it is to use manual excerpts.
|
Ah, ok. Can you give me a link where i am told how to do that?
Thanks. |
Oh alright, you mean that box below the post editor. Ok, i try that out, but that would mean that i will have to perform quite some clicks to get all may excerpts done, holy crap!
|
Like that it would work. But now i have to tell wp to give me back my h3 tags for excerpt. thats how i found this:
HTML Code:
remove_filter('get_the_excerpt', 'wp_trim_excerpt'); Do i have to name the replacment function like the ata function? Or will it break atahualpa or do the same error as before? |
I guess I am still not understanding what your problem is. Here is what it seems like you are doing.
If my description is accurate you may want to try deactivating your plugins to see if one of them is causing an issue. |
It is exactly like that. Already started manually creating excerpts for pages where i need nextpage. i will do the plugin test another day, for today i clicked enough. But thank you.
|
All times are GMT -6. The time now is 09:22 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.