February 4, 2019 at 10:15 UTC - Views: 59 #58314
I have a site owner that wants to add some text at the end of the home page, which is constructed as a page with posts displayed as excerpts in a grid. If you add text to the normal edit window of such a page it appears before the post grid. I thought I’d try it out on my own site first which has the same kind of home page https://www.cockfield.org.uk.
I couldn’t think of an easy way to do this. So I set up a per page widget area called homepageend with a text widget and included it in the pages bottom widget in the widget area replacement section of the page. The widget just contains the text ‘test at end of page with posts’. Unfortunately it does not appear.
Can you advise what I’m doing wrong pls. Is there a better way of adding text at the end of a page with posts?February 4, 2019 at 14:47 UTC - Views: 59 #58315
I’m not sure why the widget is not appearing, but what I would do in this case is use Weaver Show Posts on a regular page (not page with posts, would need to change that in settings).
After dropping the Weaver Show Posts shortcode on the page, I would then be able to add content above or below it.February 4, 2019 at 18:09 UTC - Views: 55 #58318
Maureen is right, if you need to mix content and posts (other than content first posts second), then using a regular page and show posts shortcode(s) is the way to go.
You can download the weaver show posts plugin from wordpress.orgFebruary 4, 2019 at 18:52 UTC - Views: 50 #58320
I get what you’re saying; thanks I’ll give it a try.February 4, 2019 at 23:32 UTC - Views: 47 #58324
If the bottom text is appropriate for a widget, you could put it in the blog bottom widget area.February 4, 2019 at 23:41 UTC - Views: 44 #58325
…but not the page bottom widget area which I tried?February 5, 2019 at 00:38 UTC - Views: 42 #58326
Page with Post get the Blog Top and Bottom Widget areas.February 5, 2019 at 19:32 UTC - Views: 37 #58338
Blog Top and Bottom Widget areas are not available in the Widget Area Replacements section?February 6, 2019 at 14:52 UTC - Views: 31 #58352
I’ve now had a play with Show Posts and had a problem. I created a simple page containing a few lines of text, then a Show Posts with 3 columns of posts from a category, then a few more lines of text. The text below the shortcode appears all over the place in the published page. The first part of the text appears below the 3rd cell in row 1, the next bit appears below the 3rd cell in row 2, and the rest below cells 2 and 3 of the last row!
Here’s the page:
The page uses the default template.
Any ideas?February 6, 2019 at 16:07 UTC - Views: 22 #58354
I’ve tested on one of my sites and came up with the same thing. Scrambler or Weaver will be able to help with this one.
Or use Weaver’s suggestion.February 6, 2019 at 17:09 UTC - Views: 22 #58358
I happened to see your reply on my phone and found that the layout is fine when in portrait mode where only 1 column of posts is displayed.
I can’t use Weaver’s suggestion because on my edit page the Blog pages are not among the available widget area replacement content types.
By the way I am on WP 4.9.8 Weaver Xtreme 4.05 and Xtreme Plus 3.11February 6, 2019 at 18:50 UTC - Views: 15 #58367
You need to force your paragraph text to clear the posts columns.
One way to do that is to use HTML for your paragraph
<p style="clear:both;"> your text </p>
Or to insert the HTML below before your content
@weaver, I think we may be missing a clearing div after the showpost content when using multipole columns.
Without it, we can run into the present issue, where the last row of posts being incomplete, the content following the show post ends up floated to the right of it.February 6, 2019 at 19:07 UTC - Views: 11 #58373
Thanks I tried your paragraph HTML and it worked fine. I’m happy to use that while you decide on a fix. Thank you for your efforts.
You must be logged in to reply to this topic.