• Hello, I am trying to create a pipe that will create posts that do not take up very much space on the homepage. I am using the default Twenty Seventeen theme for now. When I write a blog post I can simply insert the “read more” link after the first paragraph and when displayed it will split the blog post at that point.

    Can you share any tips on how to get this same behavior when the post is created with WP Pipes? I have tried several things that haven’t worked. My closest attempt is shown in this pipe. However, it still shows the entire post on the homepage.

    {"name":"Django Official News","published":"1","engine":"rssreader","engine_params":"{\"feed_url\":\"https:\\\/\\\/www.djangoproject.com\\\/rss\\\/weblog\\\/\",\"limit_items\":\"100\",\"mode\":\"0\",\"fix_time\":\"-24\",\"cache\":\"1\",\"cache_time\":\"3600\",\"order_by_date\":\"0\",\"order_by_date_follow\":\"0\"}","adapter":"post","adapter_params":"{\"category\":1,\"force_update\":\"0\",\"postformat\":\"0\",\"public\":\"publish\",\"author\":\"2\",\"use_custom_field\":\"0\"}","inherit":"0","inputs":"{\"ip\":[[{\"st\":\"e\",\"of\":\"title\",\"if\":\"text\"}],[{\"st\":\"e\",\"of\":\"link\",\"if\":\"url\"},{\"st\":\"e\",\"of\":\"description\",\"if\":\"html\"}],[{\"st\":\"1\",\"of\":\"html\",\"if\":\"html\"}]],\"ia\":[{\"st\":\"e\",\"of\":\"title\",\"if\":\"title\"},{\"st\":\"0\",\"of\":\"slug\",\"if\":\"slug\"},{\"st\":\"2\",\"of\":\"introtext\",\"if\":\"excerpt\"},{\"st\":\"1\",\"of\":\"html\",\"if\":\"content\"},{\"st\":\"e\",\"of\":\"date\",\"if\":\"date\"},{\"st\":\"e\",\"of\":\"enclosures\",\"if\":\"images\"},{\"st\":\"\",\"of\":\"\",\"if\":\"metakey\"},{\"st\":\"\",\"of\":\"\",\"if\":\"category\"}]}","outputs":"{\"oe\":[\"title\",\"link\",\"description\",\"content\",\"author\",\"date\",\"enclosures\"],\"op\":[[\"slug\"],[\"html\"],[\"introtext\",\"fulltext\"]]}","pipes":[{"code":"slug","name":"Slug","params":"{\"note\":\"title-slug\"}","ordering":"0"},{"code":"original_source","name":"Original Source","params":"{\"note\":\"Source article\"}","ordering":"1"},{"code":"cut_introtext","name":"Cut introtext","params":"{\"words\":\"10\",\"finish_sentence\":\"1\",\"note\":\"\"}","ordering":"2"}]}

Viewing 4 replies - 1 through 4 (of 4 total)
  • That’s a theme issue, but you can try a plugin to create excerpts.
    Other than that, it’s just a matter of finding the right theme, one that creates excerpts automatically, or uses description as excerpt/resume.

    Thread Starter newz2000

    (@newz2000)

    Thank you. I did more investigation after posting that message, and have more details. I tried to use the combine feature and it does not work the way I expect. If I use plian text, for example abc <!–more–> 123 then it works. If I use abc <!–more–> 123 {[so] title} then I get the same result (i.e. no value for {[so] title}).

    My thinking was that I could combine the output of cut introtext with a <!–more–> in between, but the end result is just blank.

    Am I misunderstanding the purpose or behavior of combine?

    For what I understand, combine only works with “po”s, not “so”s or “pi”s. However you can use a processor to bypass title and use its po.

    • This reply was modified 8 years, 11 months ago by Avf.
    Plugin Contributor Tung Pham

    (@phamtungpth)

    Hi Avf,

    It seems you are misunderstanding about Combine Processor. With Combine processor, beside po[] fields, you could also use [so] fields.

    Best Regards!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘How to insert Read More’ is closed to new replies.