- This topic has 17 replies, 3 voices, and was last updated 3 years, 9 months ago by
David.
-
AuthorPosts
-
May 6, 2022 at 5:28 am #2211388
Richard
Hi Guys
On the site below, im trying to create another Header. The top Highlighted posts header includes only the posts using “highlighted posts” as a category. There should then be another header saying “from the blog” or something like that. The site so far has been built using elements to control individual layouts, but I can’t seem. to find a hook to place the second header after the highlighted posts. Any ideas?
ThanksMay 6, 2022 at 6:15 am #2211435David
StaffCustomer SupportHi there,
what if you use the same Hook for the second header ? You can either include it in the same hook after the shortcode. Or create a new one with the same hook and increase Priority to 11 or more.
May 9, 2022 at 1:38 am #2213873Richard
Thanks David,
So I’ve tried the same hook (before_main_content) with a priority of 40 but it then sits behind the highlighted posts? I think im missing something here.May 9, 2022 at 2:22 am #2213917David
StaffCustomer SupportCan i get temporary admin access so i can see what you have setup so far ?
May 9, 2022 at 2:23 am #2213918Richard
Of course
May 9, 2022 at 2:40 am #2213930David
StaffCustomer SupportAah ok – so are you trying to split the post list in two ? So the layout would be:
1. Highlighted Posts header
2. List of Highlighted Posts
3. “Other Post” headere
4. Other postsMay 9, 2022 at 2:41 am #2213933Richard
Spot on!
May 9, 2022 at 3:10 am #2213959David
StaffCustomer SupportYeah, it won’t do that …. you would either need to a. create a custom php template for that index that outputs 2 x loops or b. hook in after a specific Post in the loop which is tricky if the order isn’t known.
OR if you don’t mind waiting a little while, you can use GenerateBlocks 1.5 to create your own multiple post lists on a static page:
https://generateblocks.com/generateblocks-1-5-dynamic-data-query-loops-image-blocks/
L
May 9, 2022 at 4:10 am #2213990Richard
Thanks David. Will look at GB now. The site has moved to a new url its below
May 9, 2022 at 7:29 am #2214140David
StaffCustomer SupportBe great to hear what you think about GB 1.5 🙂
June 16, 2022 at 4:37 am #2255157Richard
Hi David,
Still looking into this, how far away is 1.5? ive installed it but struggling with getting what i neeD?
ThanksJune 16, 2022 at 5:52 am #2255187David
StaffCustomer SupportHi Richard,
if all goes well then we aim to go live next week on Tuesday 21st June.
Anything particular your struggling with ?June 16, 2022 at 6:26 am #2255206Richard
Is there any documentation on “create your own multiple post lists on a static page”?
I have several elements designed but not sure how that will work with a static page?
ThanksJune 16, 2022 at 9:57 am #2255576Ying
StaffCustomer SupportWith GB 1.5, you can use the new query loop block to add loops (in your case posts) to a static page.
For more info: https://docs.generateblocks.com/article/query-loop-overview/June 21, 2022 at 3:50 am #2259906Richard
Thanks Ying! I’ve created the page in the private section. However, when I try and add a button to link to the catogories from the loop it doesn’t let me link it up to dynamic options like it does as if its an element?
-
AuthorPosts
- You must be logged in to reply to this topic.