How to change Downloads text to Access?

Posted by: Reza

21st February 2022, 1:47 pm

Reza

@rezhart

21 Feb 2022
1:47 pm

Hi, I'm using the following CSS solution, and give me the output "Access Limit For Current Year: 0 Downloads".

It's ok but, I want to replace the text "downloads" with "access" and delete the text "Current Year", how do I do that? thank you

.somdn-account-download-limits-current:before {
  content: "Access Limit For";
}

.somdn-account-download-limits-current:after {
  font-weight:bolder;
  margin-left:-4px;
}


.somdn-account-download-limits-remain {
  display:none;
}
  • Developer
    Richard Webster

    @rwebster

    21 Feb 2022
    2:26 pm

    You can customise the template file that's used for the account page download limits section. The original file is:

    pro/templates/account/free-download-limits.php

    Copy this file to your theme folder using the following structure:

    theme_folder/somdn-templates/account/free-download-limits.php

    You'll need to create the necessary folders inside your theme folder.

    Your custom template will override the default one.

  • Reza

    @rezhart

    21 Feb 2022
    2:59 pm

    When I edited the copy file in the theme, it didn't change even though I had placed the path in the theme_folder/somdn-templates/account/free-download-limits.php folder
    but it changed when i edited a file that was in the plugins folder.

    https://imgur.com/a/vAOXgaF

    Also, I have another problem, where after downloading, the number stays 0 downloads and doesn't change.

    Last modified: 21st February 2022, 3:00 pm by Reza

  • Developer
    Richard Webster

    @rwebster

    21 Feb 2022
    3:09 pm

    So assuming your current theme is 'storefront' for example, your custom file lives in:

    wp-content/themes/storefront/somdn-templates/account/free-download-limits.php

    Might be best for you to open a tech support ticket from your account page mate.

  • Reza

    @rezhart

    21 Feb 2022
    3:14 pm

    folder path image

    Richard Webster said on 21 Feb 2022, 3:09 pm:

    So assuming your current theme is 'storefront' for example, your custom file lives in:

    wp-content/themes/storefront/somdn-templates/account/free-download-limits.php

    Might be best for you to open a tech support ticket from your account page mate.

  • Reza

    @rezhart

    21 Feb 2022
    3:17 pm

    Any ideas why when downloading the status the download numbers don't change?

  • Developer
    Richard Webster

    @rwebster

    21 Feb 2022
    3:17 pm

    Ah yea, currently child themes are scanned, only parent. Little oversight I need to correct. Open a ticket anyway, you might have some configuration problem if the download count isn't working.

This topic is closed to new replies.