Tagged: catch kathmandu pro, Excerpt
- This topic has 14 replies, 3 voices, and was last updated 6 years, 9 months ago by
Pratik.
-
AuthorPosts
-
February 6, 2017 at 8:08 pm #108939
INFOYED
ParticipantThe excerpt mode is set to “words”, however I want to change the mode to “chars”
as exemplified as follows:
# excerpt($text, $length = 140, $mode = ‘chars’)How can I achieve it?
Best regards,
February 6, 2017 at 9:16 pm #108943Leslie Bigos
ParticipantGo to Dashboard=> Appearance=> Customize=> Theme Options=> Layout Options and make sure you have selected Excerpt/Blog Display in Full Content Display options.
February 7, 2017 at 10:44 am #108978Pratik
KeymasterHi @infoyed,
To get what you want, you will need to do some custom work.
Please check: https://wordpress.org/support/topic/limit-excerpt-length-by-characters/ for further help.Regards,
PratikFebruary 8, 2017 at 12:06 pm #109087INFOYED
ParticipantThanks @bigoslesli, however there is no choice visible concerning “excerpt” under the layout options.
Thank you @Pratik! I have looked at the link and tried a couple of things. I realised that I could not achieve what I want to by changing the character size.
The thing I want to is that I want to restrict the excerpt seen in the front page by putting
<!--more-->
tag in the actual page content. I simply achieved it but in this case “Continue Reading->” is not seen in the front page. For instance in the front page, “Teknik Tercume” is restricted till “Yazılım Ve Bilgisayar” by simply addingmore
tag to the page content as follows:Yazılım Ve Bilgisayar,<!--more--> Elektrik, İnşaat,
How should I proceed?
Best regards,
February 8, 2017 at 12:42 pm #109092Pratik
KeymasterHi @infoyed,
Goto Appearance=> Customize=> Theme Options=> Layout Options=> Full Content Display and make sure Option selected there is Full Content Display. Save and the more tag will work.
Regards,
PratikFebruary 16, 2017 at 2:49 pm #109945INFOYED
ParticipantHi @Pratik,
It has been already set to “Full Content Display”, I double checked it. Problem still exists. If you want to check it out, I can provide you a temporary user.Best regards,
February 16, 2017 at 3:03 pm #109947Pratik
KeymasterCan you post in your site url?
February 16, 2017 at 3:19 pm #109952INFOYED
ParticipantThe site link is http://www.ankaratercumeofisi.com
Best regards,
February 16, 2017 at 4:32 pm #109960Pratik
KeymasterHi @INFOYED,
So you were talking about Featured Content. I was assuming you were talking about blog page.
Goto Appearance=> Customize=> Theme Options=> Excerpt/More Tag settings and reduce the Excerpt length(words).
This will bring read more link.
Regards,
PratikFebruary 18, 2017 at 8:16 pm #110192INFOYED
ParticipantHi @pratik,
Concerning Featured Content, I can simply set a number in the “Excerpt/More Tag settings” and in the homepage the number of words appears under the page logo. However this is not what I want.
I am willing to set different number of words for each page with
<!--more-->
tag. However as far as I can see I can not do it right now with the<!--more-->
tag. For instance, I have following setting:
The lenght of excerpt: 24
In the content of the page named “Teknik Tercume” (http://www.ankaratercumeofisi.com/teknik-tercume/), I have set
<!--more-->
tag as follows:
Yazılım Ve Bilgisayar, Elektrik,<!--more--> İnşaat,
However “the leght of excerpt” setting overwrites
more
tag and in the home page, it is seen as following:
Yazılım Ve Bilgisayar, Devamı →
In other words, after 24. word, which is
Bilgisayar,
, the content is cut with respect to the “the leght of excerpt”.Is there a way to achieve to set different number of words for each page with
<!--more-->
tag? Or should I change the code?Best regards,
February 19, 2017 at 10:02 am #110221Pratik
KeymasterHi @INFOYED,
What you want can only be achieved by using Featured Image Content, where you will be able to add custom content and link it to your page/post.
Regards,
PratikFebruary 20, 2017 at 3:38 pm #110309INFOYED
ParticipantDear @pratik,
Thank you very much. I have changed them to featured image content. I have added <!– more Read More –> However it did not work. How can I add “Read More” to Featured Image Content? (site url: http://www.ankaratercumeofisi.com/)
Best regards,
February 20, 2017 at 3:40 pm #110310Pratik
KeymasterJust add a link like
<a href="your_link">Read More ... </a>
February 21, 2017 at 12:30 pm #110372February 21, 2017 at 12:48 pm #110375Pratik
KeymasterGreat 😀
-
AuthorPosts
- The topic ‘changing excerpt mode’ is closed to new replies.