Overwriting loops.php

Basic support is open to all members of Volatyl Themes but what about those who need a little more? That's what Volatyl Themes subscriptions are for. The Priority Support subscription gets you more detailed, personal support while the Advanced Development subscription not only includes Priority Support, but also grants you access to premium content only seen by subscribers. This premium content will help you take your Volatyl websites to the next level with advanced development techniques, integration tips, and more information on how to really put Volatyl to use. Check out the subscriptions!

This topic is: resolved

Tagged: ,

This topic contains 8 replies, has 2 voices, and was last updated by  sdavis2702 3 months ago.

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #5312

    Benoît Machuel
    Participant
    Post count: 5

    Hi there,

    It seems one cannot overwrite the loops.php file with a customised copy placed in the child theme directory.

    Is that so?

    Thanks in advance for your kind assistance!

    Best regards,

    Benoît

    #5314

    sdavis2702
    Keymaster
    Post count: 72

    Hi Benoît,

    It’s not intended to be overwritten as it’s an important part of what makes Volatyl modular, allowing it to change on the fly from one page to the next.

    Can you tell me what you plan to override? I will gladly let you know if there’s a better method or if perhaps I should add some flexibility to the loop structure.

    #5315

    sdavis2702
    Keymaster
    Post count: 72

    Hi Benoît,

    My email says you left another comment but I don’t see it here for some reason. Forgive me if something is broken. Do you see your reply to my initial reply?

    Either way, I’ll reply based on what I see in my email.

    It actually makes more sense to use the built-in custom page functionality I’ve outlined here: http://volatylthemes.com/custom-layout/

    Have you had a chance to look over that functionality yet?

    #5316

    Benoît Machuel
    Participant
    Post count: 5

    Dear Sean,

    I want to use a masonry grid for our home|posts page and can’t find how to customise the structure of this particular page, which does not seem to rely on a specific template file.

    Many thanks in advance for your kind assistance.

    Best regards,

    Benoît Machuel
    ——-

    #5336

    sdavis2702
    Keymaster
    Post count: 72

    Hi Benoît,

    I’m so sorry for not seeing your last reply. As you probably noticed, the forums are pretty inactive these days. If I don’t catch the email, I rarely have a look in here.

    Are you still working on this page?

    The point of that template I recommended was for you to not be stuck with a structure. It’s basically a template for DIYers. So you’d need to know how to code the masonry grid if you intend to use it. The template gives you the free to go custom.

    #5337

    Benoît Machuel
    Participant
    Post count: 5

    Thanks Sean. I would like to implement a simple masonry grid on the home page (post page). Is your custom page functionality fit for that particular purpose?

    #5338

    sdavis2702
    Keymaster
    Post count: 72

    Hi Benoît,

    The custom page template is literally a blank canvas. It’s not intended to be a template that actually gives you a layout. Instead, it simply gets out of the way and lets you put whatever layout you want in place.

    Have you had a chance to read the documentation I linked? http://volatylthemes.com/custom-layout/

    When that’s set up, you can put whatever HTML in place you would like. Of course, you have to have your own source for the masonry grid HTML, CSS, and JS. But as long as you have it, putting it in place should be a breeze.

    Are you fluid in HTML, CSS, and possible a bit of PHP?

    #5339

    Benoît Machuel
    Participant
    Post count: 5

    Thanks Sean.

    I had not thought of this solution as it seemed to me that it was meant to be used for regular pages, not the homepage. I will definitely have a look.

    Best wishes,

    Benoît
    ———

    #5340

    sdavis2702
    Keymaster
    Post count: 72

    Hi Benoît,

    Keep in mind that any WordPress page can be a homepage. That’s probably where we’re disconnected here.

    So what you’d do is create a page, use the custom template, build everything you need in it, then go to your WordPress “Reading” settings (or the theme Customizer) and set that page as the Static Front Page.

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.