• Resolved talgalili

    (@talgalili)


    Hi there.
    I wish to display on the front page only the first X words of the posts content (with the images and links, so the_excerpt won’t help. and without using the <more> tag).

    Until some time ago there was a good plugin for this called “post teaser”:
    https://www.ads-software.com/extend/plugins/post-teaser/
    but it doesn’t work for WP2.6 (and the developer didn’t reply to comments in his blog asking for a 2.6 compatible version).

    so I am asking if someone here know of a simple solution on how to split the content of the blog.

    I plan to use this for a blog aggregator I recently built for dance bloggers on: https://www.dancebloggers.com/
    (right now I am using the_excerpt, but it entails lack of consistent format, so I am looking for a better solution)

    Thanks allot for the reading and willingness to help,
    Tal

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter talgalili

    (@talgalili)

    anyone ?!

    Thread Starter talgalili

    (@talgalili)

    I found the solution using:

    the_content_rss(”, FALSE, ”, 100,2)

    (from the Hebrew support group of wordpress. Cheers to them!)

    hi talgalili

    wich line do you need to edit
    i can’t find the_content_rss(”, FALSE, ”, 100,2) in the file post-teaser.php

    can you help me?

    Thread Starter talgalili

    (@talgalili)

    Hi danceplaza

    (sorry for taking so long to reply, I wasn’t around the forum for a while)

    I ended up not using the plugin but instead choose to play with the index.php file of the theme and replaced the_content template-tag with:
    the_content_rss(”, FALSE, ”, 100,2)

    Hope that helped,

    Tal

    the_content_rss(”, FALSE, ”, 100,2) works, but turns my images to their code form rather than showing the image.
    https://www.corriannaruth.com/
    how can i fix this?
    thanks for your support!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘(please) how can I automatically split content in front page (without excerpt)’ is closed to new replies.