[Resolved] element on all sub pages (style)

Home Forums Support [Resolved] element on all sub pages (style)

Home Forums Support element on all sub pages (style)

  • This topic has 8 replies, 3 voices, and was last updated 1 month ago by David.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #2277535
    Jeffrey

    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.

    #2277541
    Jeffrey

    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..

    #2278071
    Leo
    Staff
    Customer Support

    Hi there,

    I’m seeing an error404 on the linked page:
    https://www.screencast.com/t/CzuDaxqNoLt

    Can you confirm the link?

    #2278167
    Jeffrey

    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.

    #2278371
    David
    Staff
    Customer Support

    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

    #2278650
    Jeffrey

    Thank you, I didn’t realize I needed multiple parameters.

    Yes it is, I have it that way for keyword purposes.

    #2279129
    David
    Staff
    Customer Support

    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.

    #2279630
    Jeffrey

    I understand, it was a long shot. Especially since I will be adding more and mor pages…

    thinks for the help !

    #2280260
    David
    Staff
    Customer Support
Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.