How to insert Read More
-
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"}]}
The topic ‘How to insert Read More’ is closed to new replies.