WordPress.org

Ready to get started?Download WordPress

Forums

Can I change the "by" line? (24 posts)

  1. hoodleehoo
    Member
    Posted 1 year ago #

    I don't like the byline it automatically puts on ever post. Is there not a way to edit that?

  2. Aaron
    Member
    Posted 1 year ago #

    Yes but we would need a link to your site or theme to be able to tell you how. But if I was to guess you would edit it on single.php

  3. hoodleehoo
    Member
    Posted 1 year ago #

    You would have to edit it manually on each post? I haven't put up the site yet I'm just in the formatting stage trying to feel out how I want it to look.

    Is there not a way to change it globally so I won't have to do it each time?

  4. esmi
    Forum Moderator
    Posted 1 year ago #

    Site url?

  5. Andrew
    Forum Moderator
    Posted 1 year ago #

    There's a property named, display in CSS that can hide certain paged elements. This can apply to each element that you specify, so you won't have to do it each time.

  6. devrimg
    Member
    Posted 1 year ago #

    You have to edit all theme files that displays it. E.g. single.php, blog.php, category.php etc...

  7. esmi
    Forum Moderator
    Posted 1 year ago #

    Um - not if it's a child-friendly theme. You should be creating a child theme first.

  8. hoodleehoo
    Member
    Posted 1 year ago #

    I'd also like to get rid of the "0 comments" at the bottom since I have comments turned off. Surely there's a way to globally get rid of this in the options, right?

  9. hoodleehoo
    Member
    Posted 1 year ago #

    Just saw your post Andrew. Thank you! I'll read that link. Where do I put that CSS?

  10. Andrew
    Forum Moderator
    Posted 1 year ago #

    Try putting it in an area allocated by a Custom CSS Manager plugin.

  11. hoodleehoo
    Member
    Posted 1 year ago #

    Okay I installed that plugin. When I click "settings" I get a blank window. Is that where I put it or is there a place I can use the plug-in to modify the code that is already there? If I have to put the code from scratch I have no idea what to write. :-/

    Sorry to be such a pain! I wish I knew more about web code!

  12. Andrew
    Forum Moderator
    Posted 1 year ago #

    Once you start modifying code, you're likely to lose your changes once the theme updates. To view the current CSS easily, try using a Browser Inspector tool. This type of tool should allow you to find which styles are applying to which elements, within a webpage.

  13. hoodleehoo
    Member
    Posted 1 year ago #

    I use firefox, is there something similar for that?

  14. Rev. Voodoo
    Volunteer Moderator
    Posted 1 year ago #

    firebug addon for firefox

  15. hoodleehoo
    Member
    Posted 1 year ago #

    Okay, the class is "byline" in the code (I just used view source). So in the plugin I wrote
    p.byline
    {
    display:none;
    }

    Is that right?

  16. Andrew
    Forum Moderator
    Posted 1 year ago #

    It's difficult to judge that as we don't have access to your code or website.

  17. hoodleehoo
    Member
    Posted 1 year ago #

    I did the same with "bracket" which is the class for the comments part.

    I'm not seeing any changes yet, but my computer is being stupid and not showing any of the changes recently so I'm not sure if it worked yet.

  18. Andrew
    Forum Moderator
    Posted 1 year ago #

    Clearing your browser's cache is one way of checking whether the style is being applied. Also refer back to Firebug to check if the styles you've added are applying to the elements.

  19. hoodleehoo
    Member
    Posted 1 year ago #

    I refreshed the browser and I see no change. :-/

    http://www.askawiseman.com is the website. Not that it matters, but the idea behind the site is a satirical "Dear Abby" type of spoof. Hopefully seeing it will help.

  20. hoodleehoo
    Member
    Posted 1 year ago #

    What is firebug? Please excuse my ignorance!

  21. Andrew
    Forum Moderator
    Posted 1 year ago #

    Firebug is an add-on for Firefox, recommended by Rev. Voodoo (further above).

    The Custom CSS Manager should apply your styles within the <head> section of the webpage. I'm seeing empty <style> tags that should be filled with your CSS.

    Perhaps the Custom CSS Manager is conflicting with another plugin and therefore won't work. An alternative is creating a Child Theme and working off that Child Theme's stylesheet for your CSS.

  22. hoodleehoo
    Member
    Posted 1 year ago #

    I cleared the cache but it still didn't work. I'm assuming the changes I made didn't fix the problem. :-/ Any idea what I did wrong?

  23. hoodleehoo
    Member
    Posted 1 year ago #

    Okay, I'm using thesis 2.0 so I'm sure that's why the plugin didn't work. I went into the head editor of thesis and placed the code there. I cleared the cache and refreshed but I'm not seeing the code in the head anywhere. :-/

  24. Andrew
    Forum Moderator
    Posted 1 year ago #

    Unfortunately WordPress do not support commercial themes. I would recommend you seek help from your theme's vendors.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.