• Resolved badsci

    (@badsci)


    I am designing my own theme from the ground up.

    The information about my theme that displays in the “Manage Themes” screen of the dashboard looks crappy – not all nicely formatted like the other themes.

    Classic and Default have nice info: theme name, its version, a brief description.

    My theme has the theme name and then just dumps the rest of the information from the comments at the head of the theme’s style sheet.

    The comments at the head of Classic and Default look exactly the same as mine, yet they display nicely.

    I’ve spend about 2 hours combing the web, the wordpress codex and these forums trying to figure out how to get my theme’s info to look good, but can’t find anything.

Viewing 11 replies - 1 through 11 (of 11 total)
  • Maybe you could post the comment area of your style.css here?

    Peter

    Thread Starter badsci

    (@badsci)

    Here is css comment area:
    /*
    Theme Name: GroundUp
    Theme URI: https://www.badscience.org/
    Description: not much to it
    Version: 1.0
    Author: Me
    Tags: blank, simple, homemade
    */

    This is what the theme manager displays:

    GroundUp Theme URI: https://www.badscience.org/ Description: not much to it Version: 1.0 Author: Me Tags: blank, simple, homemade 1.0 Author: Me Tags: blank, simple, homemade by Me Tags: blank, simple, homemade

    not much to it Version: 1.0 Author: Me Tags: blank, simple, homemade

    All of this theme’s files are located in /themes/ground_up.

    Tags: blank, simple, homemade

    As you can see, there is a bunch of repetition as if that information displays through a loop until only the last thing is left.

    The classic theme, in contrast, displays like this in the theme manager:

    WordPress Classic 1.5 by Dave Shea
    The original WordPress theme that graced versions 1.2.x and prior.
    Activate | Preview | Delete
    All of this theme’s files are located in /themes/classic.

    Tags: mantle color, variable width, two columns, widgets

    and its CSS comments look like this:
    /*
    Theme Name: WordPress Classic
    Theme URI: https://www.ads-software.com/
    Description: The original WordPress theme that graced versions 1.2.x and prior.
    Version: 1.5
    Author: Dave Shea
    Tags: mantle color, variable width, two columns, widgets

    Default WordPress by Dave Shea || https://mezzoblue.com
    Modifications by Matthew Mullenweg || https://photomatt.net
    This is just a basic layout, with only the bare minimum defined.
    Please tweak this and make it your own. ??
    */

    I can’t figure out what I need to do to get my theme information to look nice in the dashboard. Thanks for any help!

    Thread Starter badsci

    (@badsci)

    Still wondering how I can get my theme’s info to look good, and not recursive, in the dashboard. Does anyone have any ideas?

    Here is what I’m talking about – my ugly formatting on left, nice theme formatting on the right:

    image

    Thread Starter badsci

    (@badsci)

    Hey, experts, any thoughts?

    looks like there are no ‘proper’ linebreaks in your header – even though it might look ok in your editor.
    can you post a link to the stylesheet? or post it into a pastebin and link to it?

    Thread Starter badsci

    (@badsci)

    I’m running a local site while I develop it, but I can upload and post a link…
    I just copied the commented header code from the default theme and edited it, so I’m not sure why it wouldn’t work.
    Here’s the style sheet:
    https://www.badscience.org/junk/style.css

    That theme info works fine for me when I use it within one of my themes.

    thank you.
    i downloaded your file, and uploaded it with dreamweaver ftp into the classic theme and activated the theme preview in admin: screenshot.
    it displays absolutely normal online.

    Thread Starter badsci

    (@badsci)

    Whoa. Amazing. Perhaps I need to check it live. Will upload now <busy uploading>

    Thread Starter badsci

    (@badsci)

    <blush>
    Looks great online. It’s odd that it looks so bad local, and other themes look normal on my local testing server.

    Thanks y’all! Helped me learn my 10th new thing today!

    Hey I had the exact same problem. I created the css file earlier on a different computer and it was working fine. Then this evening, after editing it in DreamWeaver on my laptop, the problem occurred.

    Turns out, yes, some kind of funky line breaks were introduced to the header of my CSS. Probably by DreamWeaver? Opening a working css file in a text editor (such as the default theme css) and resaving worked for me. Interestingly, doing the same edit job in DW did not work. Only worked in TextEdit as plain text.

    Hope it helps someone…

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘My theme’s information looks crappy in dashboard’ is closed to new replies.