Site logo

[Resolved] Previous latest GPP version 1.12.3

Home Forums Support [Resolved] Previous latest GPP version 1.12.3

Home Forums Support Previous latest GPP version 1.12.3

Viewing 8 posts - 16 through 23 (of 23 total)
  • Author
    Posts
  • #1756814
    ch1800

    WOW! This one checks all boxes!

    – Sections are kept active *anyhow* (with or without the snippet) if the previous version had them active
    – It works on sites with version 1 that were NOT using sections and updated to version 2; sections are still there
    – It works on sites when installing version 2 from scratch with the snippet active; sections are listed as previously.
    – It works when wanting to change site from the library after updating to (or installing) version 2 with sections active; the new site still has the sections module listed.

    Many thanks Elvin, I really appreciate as this snippet fully solves this issue and keeps the sections module present/active in whatever scenario.

    #1756847
    Elvin
    Staff
    Customer Support

    Nice one. Glad you got it sorted. 😀

    #1756962
    Davood

    Elvin, thanks for the suggestion. However, that does not directly answer the question I asked in https://generatepress.com/forums/topic/previous-latest-gpp-version-1-12-3/#post-1756384 and I do not have the time to be testing things in a fresh install right now as I am swamped with paying projects. I would really appreciate a direct YES or NO answer to my question. That would be helpful to others who read the thread as well. Can the filter to add GP Sections feature back to a site be added insider of a site specific plugin or not?

    Thank you in advance.

    #1756970
    Elvin
    Staff
    Customer Support

    The snippet I’ve provided here does that.
    https://generatepress.com/forums/topic/previous-latest-gpp-version-1-12-3/#post-1756795

    Assuming you’re using GP Premium 2.0.1. It won’t work on the previous versions because the filter used is added on 2.0.1.

    #1756982
    Davood

    This is still not answering me in a direct yes or no manner…. can the filter be used in a SITE SPECIFIC (AKA CUSTOM PLUGIN). Yes or no?

    I am asking this because other themes do not allow filters they create to be used in plugins at all and claim it is a security measure.

    Thank you in advance.

    #1757209
    David
    Staff
    Customer Support

    Hi there,

    Yes is the answer – just tested that filter in custom plugin and it worked for me.

    #1790984
    Elzanne Botha

    Thank you so much, that worked perfectly!

    #1791907
    Elvin
    Staff
    Customer Support

    Hi Elzanne,

    Thanks for letting us know. Glad you got it to work. No problem. 😀

Viewing 8 posts - 16 through 23 (of 23 total)
  • You must be logged in to reply to this topic.