Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Center area post/pages (http://forum.bytesforall.com/forumdisplay.php?f=32)
-   -   Using <!--more--> on Juggledad's multicolumn/custom page template (http://forum.bytesforall.com/showthread.php?t=23007)

Alan_OldStudent Jan 11, 2015 05:48 AM

Using <!--more--> on Juggledad's multicolumn/custom page template
 
I liked the idea of using Juggledad's multicolumn/custom page template as a landing page for posts. This post encouraged me to do a bit of experimenting.

This JD landing page would have material above the posts by putting in a 'show_page_text' custom field with "yes" in the field value. Below this text and perhaps a divider graphic, the posts would appear in blog style.

When I experimented with the idea, the posts broke off with a "continue reading" link, but not where planned them to be with "<!--more-->". For some reason, the page just decided where those breaks would come. How could I ensure that the page would use a "<!--more-->" tag where I wanted it?

Regards,

Alan OldStudent
The unexamined life is not worth living—Socrates
Gracias a la vida, que me ha dado tanto—Violeta Parra

lmilesw Jan 11, 2015 07:17 AM

Using a manual excerpt instead of the read more worked for me.

Alan_OldStudent Jan 11, 2015 02:39 PM

Quote:

Originally Posted by lmilesw (Post 111282)
Using a manual excerpt instead of the read more worked for me.

Hi Larry,

I haven't thought much about or even used excerpts, manual or otherwise. It seems that Juggledad's multicolumn/custom page template uses automatic excerpts. After reviewing your response, I did a bit of research to learn about excerpts. I'm listing the pages I visited below.

My site relies quite a bit on the visual impact to get across a message important to me, and when I put in the "<!--more-->" tag, I am careful about where it goes as a deliberate part of design.

As I researched into manual excerpts, the process of using them to the same effect as my "<!--more-->" tags seemed quite fiddly to me. I really don't want to add more plugins, which come and go out of existence, and I'm hesitant to hack the functions.php.

So what would be the best way to get Juggledad's multicolumn/custom page template to honor the "<!--more-->" tags I insert instead of generating automatic excerpts or forcing me to add manual excerpts to every post? That would seem to be a much elegant solution.

Here are a few of the references I consulted:
Regards,

Alan OldStudent
The unexamined life is not worth living—Socrates
Gracias a la vida, que me ha dado tanto—Violeta Parra

juggledad Jan 11, 2015 04:27 PM

If the more tag is before the excerpt word count is reached, it should be honored, so if the excerpt count is 55 (the default) and the <!--more--> is at word 60 the break will be at the 55th word. If the more tag is at word 40, the more should be honored.

Alan_OldStudent Jan 11, 2015 08:08 PM

Quote:

Originally Posted by juggledad (Post 111293)
If the more tag is before the excerpt word count is reached, it should be honored, so if the excerpt count is 55 (the default) and the <!--more--> is at word 60 the break will be at the 55th word. If the more tag is at word 40, the more should be honored.

Hi JD,

How do I change it so that it always uses the <!--more--> value instead of the automatic excerpt value? Can I enter a 0 in the Atahualpa configuration: "ATA>Configure EXCERPTS>Excerpt length"?

Regards,

Alan OldStudent
The unexamined life is not worth living—Socrates
Gracias a la vida, que me ha dado tanto—Violeta Parra

juggledad Jan 12, 2015 03:37 AM

you could enter 9999 in "ATA>Configure EXCERPTS>Excerpt length" but then why ever use excerpts? Just set all the pages to use 'Full Posts'


All times are GMT -6. The time now is 02:03 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.