New Landing How can we help? Atelier Archive page read more button

Viewing 8 posts - 1 through 8 (of 8 total)
  • Posted in: Atelier
  • #199522
    NiO
    Member
    Post count: 233

    Hi Swiftideas,

    The “read more” button is missing on the posts in the blog archive pages, when using the display type “Mini” in the Archive/Category Options. When using the display type “Masonry” it does show up. Doesn’t make sense as the “Mini” option has a lot more space for it. Is it possible to add the button?

    Thanks,
    Johan

    #200146
    David Martin – Support
    Moderator
    Post count: 20834

    Hi Johan,

    In your Atelier theme folder please locate the file archive.php located: swift-framework/layout/archive.php

    On line 17 change $show_read_more = "no"; to $show_read_more = "yes";

    Thanks,
    David.

    #200758
    NiO
    Member
    Post count: 233

    Hi David,

    I am using a child theme to avoid having to do things like this in the base theme … I guess it gets tricky in this case as that option is not included in a function right?

    Thanks,
    Johan

    #200859
    David Martin – Support
    Moderator
    Post count: 20834

    Hey Johan,

    You are correct, there is not an option for that as such, I’ll run this pass our developer Ed to see of there is scope to add an option for this.

    – Do you have archive.php in your child theme? You could add it and avoid touching the parent file.

    Thanks,
    David.

    #200877
    NiO
    Member
    Post count: 233

    Hi David,

    I do not have archive.php in my child yet. I figured it wouldn’t help as it is actually using swift-framework/layout/archive.php … and I guess I cannot just copy that one to the child … or can I?

    Cheers,
    Johan

    #200892
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    Within your child theme, create the same directory structure. Example:

    swift-framework/layout/archive.php

    I have this running for me, let me know if you need me to take a look at your setup.

    – David.

    #201593
    NiO
    Member
    Post count: 233

    Hey David,

    This worked perfectly. Didn’t know it was that easy to change a component at a subdir level like that 🙂

    Thanks, resolved!
    Cheers, Johan

    #201736
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Depends on the component itself and the way it is included, it get’s messy when a file is included in other precedent file.

    Great. Thanks David.

    -Rui

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

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register