Skip Navigation

[Fermé] When I am writting post/classic style and select the read more location

This support ticket is created Il y a 4 mois. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Aucun de nos assistants n'est disponible aujourd'hui sur le forum Jeu d'outils. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

Ce sujet contient 5 réponses, a 2 voix.

Dernière mise à jour par Minesh Il y a 4 mois.

Assisté par: Minesh.

Auteur
Publications
#2710794

Tell us what you are trying to do?
When writing a post, we select the breakpoint for the read more option. But the site does not break/stop the text at that point. It will only break at the point where I choose a word or character number. I really need to be able to control this with the standard WordPress read more option.

Is there any documentation that you are following? I looked through the [wpv-post-excerpt] and did not find a solution.

Is there a similar example that we can see?
happyhippie.com home page. latest news section.

What is the link to your site?
lien caché

#2710825

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

I would like to know where you want to display the read more tag? Do you want to display on single post page or?

Can you please share bit more details.

Also - Could you please send me debug information that will help us to investigate your issue.
=> https://toolset.com/faq/provide-debug-information-faster-support/

#2710828
article.jpeg
pfas-back.jpeg

I'm sorry, but I can't add debug info. When I clicked on it, it did not open, even though I tried 2 different browsers.

If you go to lien caché, look at the articles and see them with ... [wpv-post-excerpt more=" ..."]
We have selected the excerpt to break at other locations that are within the wizywig box. See attached images.

Thanks

#2710839

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

As you can see:
- lien caché

The "more link" allows you cut off the post on the index pages (archive, category, tag pages, etc.).

If you still want to use the more tag then you will have to use the custom shortcode as shared with the following related ticket:
- https://toolset.com/forums/topic/block-editor-doesnt-respect-read-more/#post-1504955

#2710897

This is great, but is there a way to have it when the more tag is not selected that it cutt offs based on the view selection?
See issue here: lien caché I had to fix the ones on the home page that were missing the more button. Would be nice if this just worked like WP out of the box.

add_shortcode('get_content_before_more', 'get_content_before_more_func');
function get_content_before_more_func() {
// get current post's content
$content = get_post_field( 'post_content', get_the_ID() );

// Get content parts
$content_parts = get_extended( $content );

// Return only the content before the read more tag
return $content_parts['main'];
}

#2710930

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

This is great, but is there a way to have it when the more tag is not selected that it cutt offs based on the view selection?
See issue here: lien caché I had to fix the ones on the home page that were missing the more button. Would be nice if this just worked like WP out of the box.
====>
Sorry, I do not understand what you mean?

Can you please be more precise what exactly your requirement, maybe you can share few screenshots and once I understand what you need I will be able to guide you in the right direction.

Le sujet ‘[Fermé] When I am writting post/classic style and select the read more location’ est fermé à de nouvelles réponses.