Archived topic
element on all sub pages (style)
8 replies · Started by Jeffrey on July 8, 2022
I have managed to use a query block to display all the sub pages of a parent page.
I then used this function to make it display on all sub pages.
https://generatepress.com/forums/topic/block-hook-on-all-sub-pages/#post-2086138
No I can seem to fix a style issue. Whenever I click on a page that is in the second row, it breaks the formatting..
Any ideas?
I included the parent page, you can click through sub pages from there, subsequently added to bottom of list.
Forgive me but somehow I fixed that issue to make another.
I am trying to align the bottom link where is says all properties. However all the changes I make keep it left aligned. Tried putting it in a container and everything.
See example on bottom of page..
Hi there,
I'm seeing an error404 on the linked page:
https://www.screencast.com/t/CzuDaxqNoLt
Can you confirm the link?
sorry, made some progress. I was advised to use the query block, which I have nicely tuned. However, I have the town as the beginning of every title, and I would like to remove the town if possible and alphabetize the results (which I am having mixed results on).
1. somehow remove the town prefix.
2. alphabetical order.
Hi there,
#2 - in the Query Loop params, add Orderby -> Post Title and Order -> ASC
#1 - Tricky... is that part of the actual child pages title ? I assume yes
Thank you, I didn't realize I needed multiple parameters.
Yes it is, I have it that way for keyword purposes.
1. I can't think of a solid solution here, as the title is simply a string, and theres no easy way to identify what part of the string to remove.
I understand, it was a long shot. Especially since I will be adding more and mor pages...
thinks for the help !
You're welcome