Home Forums Weaver Xtreme Theme Tiled posts by category or tag

Topic Resolution: Answered
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #77217
    Answered
    elrond532000
    Participant

    I have a several pages which have tiled masonary posts.  This is implemented by entering the category of the posts I require in the Page Templates Category for filtering.  I also set the number of masonary colums I want (5) in this case.  This works fine, an example here  https://www.blasdale.com/blog/picture-albums/1960s-picture-album/

     

    What I wanted to be able to do is when someone clicks on the category tag on a post, that the same masonary format is used to display the posts for that selected category, or tag.   What I get is a full page display, in a column format of the select posts.

     

    I would imagine  this would require an update to category.php?

    #77218
    scrambler
    Moderator

    Default category pages are formatted by WordPress so I can’t think of a way to get masonry on them.

    For a category page to use masonry it would have to be manually created as a page with posts. The problem then becomes how can a category tag be redirected to the manually crated category page.


    @weaver
    , @user do you have any insights here ?

    #77219
    User
    Moderator

    @elrond532000,

    Based on what Scrambler has posited, I don’t think the problem can easily be solved after a manual insertion of Xtreme into the process, given that both the relevant pages and links are from WP Core.

    I see two possible solutions, though both are of dubious merit….

    When one selects a category or tag from the Xtreme page-with-posts, the link takes one to a WP Page for which there is no doubt a template available somewhere in the WP core.

    If you can find and modify that template and add your 5 column there as the format default, then that may work.

    However, there’s a good chance that that template is used for other things and the result could break the site.

    One other option is to re-write the “Category” or” Tag” link that one clicks, and reroute that link path to a known Page Template which does as needed, and provides 5 columns and displays posts.

    Again this requires hacking WP Core links and is really not recommended, even if technically feasible.

    If i can think of a more reasonable solution I’ll pass it along, but I don’t think there are many, if any, stock solutions out there that provide second level sortings you desire.

    Regards.

    #77222
    Best Answer
    scrambler
    Moderator

    This reply has been accepted as the best answer.

    Actually, there are redirection plugins that can create the necessary redirects.

    So, create the category page (s) using a Weaver Xtreme page based on the “page with posts” template, and set it for that category using masonry format..

    Then use the redirection plugin to redirect the WordPress category tag(s) to the newly created page(s)

    #77223
    User
    Moderator

    Thanks for that @Scrambler.

    I’ve been out or asleep and doing this on the phone as I travel, and so never got the chance to relax  search for helpful plugins.

    That said, some things are an easy search and some not, and I think this one will be a challenge, given how it needs to fit into a larger process. Interesting though ….. 😀

    #77224
    elrond532000
    Participant

    Thank you for the suggestion of  using a redirect  to a page for the category.   This does work, and wiil force me into reducing the number of categories, and tags.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.