• Resolved jskrok

    (@jskrok)


    This is the message I keep getting when I try uploading a theme I have.

    “The stylesheet has no tags. Add a Tags: header to your style.css file and upload the zip file again.”

    I was wondering if anyone knows what I need to do so I can get it to upload. I have gone back in and added this line to the header of the style.css file

    “Tags: light, two-columns, responsive-layout”

    but it still didn’t seem to work.

    Any suggestions?

Viewing 9 replies - 1 through 9 (of 9 total)
  • There’s a Tags section in the comments header of a style.css file. You can see an example here. Can you post the header of your style.css file? Put it in-between backtick marks.

    Thread Starter jskrok

    (@jskrok)

    This is what the header looked like before I tried adding a tags section.

    Theme Name:   Devine
    Theme URI:    https://preview.hb-themes.com/?theme=Divine
    Description:  Responsive Fullscreen WordPress Theme.
    Author:  ?    HB-Themes
    Author URI:   https://www.hb-themes.com
    License:      GNU General Public License version 3.0
    License URI:  https://www.gnu.org/licenses/gpl-3.0.html
    Version:      1.1

    I tried adding a line that said Tags: and then listing a bunch of things the theme could be tagged as like showed in that example, but when I saved it and zipped it and uploaded it, there was the same error message.

    Thanks for that by the way I wasn’t sure if I was adding that line correctly, but I pretty much copied it exactly as in the example, and it still didn’t work.

    Did you enclose the header in a comment /* This is a comment */:

    /*
    Theme Name:   Devine
    Theme URI:    https://preview.hb-themes.com/?theme=Divine
    Description:  Responsive Fullscreen WordPress Theme.
    Author:       HB-Themes
    Author URI:   https://www.hb-themes.com
    License:      GNU General Public License version 3.0
    License URI:  https://www.gnu.org/licenses/gpl-3.0.html
    Version:      1.1
    */

    So you’re uploading an entire theme zipped up? What happens if you just upload the unzipped theme folder into /wp-content/themes?

    Thread Starter jskrok

    (@jskrok)

    Thread Starter jskrok

    (@jskrok)

    Yeah the header is enclosed in /*—————– This is the header ———-*/

    Also you have to zip the file before you can upload it, there is no way to just upload the folder unzipped.

    I think I am just going to try another site, a friend of mine said they had luck on that site with a similar template.

    Thank you for your help though, I appreciate it.

    Hello. I’m having the same issue. When I add the tags: line, this is what happens:

    Results of Automated Theme Scanning: Fail

    REQUIRED:.screen-reader-text css class is needed in your theme css. See See: the Codex for an example implementation.
    WARNING: Found a translation function that is missing a text-domain. Function _n_noop, with the arguments ‘This theme requires the following plugin: %1$s.’, ‘This theme requires the following plugins: %1$s.’
    WARNING: Found a translation function that is missing a text-domain. Function _n_noop, with the arguments ‘This theme recommends the following plugin: %1$s.’, ‘This theme recommends the following plugins: %1$s.’
    WARNING: Found a translation function that is missing a text-domain. Function _n_noop, with the arguments ‘The following required plugin is currently inactive: %1$s.’, ‘The following required plugins are currently inactive: %1$s.’
    WARNING: Found a translation function that is missing a text-domain. Function _n_noop, with the arguments ‘The following recommended plugin is currently inactive: %1$s.’, ‘The following recommended plugins are currently inactive: %1$s.’

    And so on…. Please help me, I bought this theme for $60 and I cannot use it ??

    @marialorenm, what is the theme and where did you buy it? The theme developers should be able to help you. We don’t usually support these types of questions about commercial themes because it’s impossible to install them ourselves. Commercial themes should offer some kind of support, though.

    My theme is Florence from Solo Pine. I have contacted them as well, but I thought I should inquire here too.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    If you must post for support here then make sure you open a new thread; https://www.ads-software.com/support/forum/themes-and-templates#postform

    The support we could give with commercial themes is limited to CSS customisations and maybe JS. Not PHP.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘How do I add tags to style.css file.’ is closed to new replies.