WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How to find what file a string of code is in?? (5 posts)

  1. thirdpotato
    Member
    Posted 1 year ago #

    I'm using Firebug to inspect an element on my site I want to change, but I have no earthly clue what file to edit. It's not in the style.css. The string is:
    <h2 class="widgettitle">Comic Chapters</h2>
    My site: http://tobylotak.com/comic/raising-hounds-log1/ I want to change the words "comic chapters"

  2. Pioneer Valley Web Design
    Member
    Posted 1 year ago #

    <h2 class="widgettitle">Comic Chapters</h2>

    This is the title of a widget.

    Go to Admin Dashboard>Appearance>Widgets>review which one outputs this and manually add a title.

    This may also be set in theme options.

    If it's created by a theme template, consult with theme dev. That said, you can find all theme templates in the theme editor. Click a PHP file, place your cursor at top of editor, hit ctl and F at same time and search, repeat until found.

    Edits made in the editor are not backed up, so make sure to back up any site files that may be edited before doing so...also review using a Child Theme.

    Also, many computers can search within files, so download the theme and search that way also.

  3. thirdpotato
    Member
    Posted 1 year ago #

    Oh my gosh I feel so dumb XDD Thank you kindly.

  4. ivanjams
    Member
    Posted 1 year ago #

    Now I feel even dumber ;). I want to do exactly that third. I'm not seeing that string anywhere in the css of the appropriate theme.

    Did you figure this out?

    Thanks in advance!

  5. ivanjams
    Member
    Posted 1 year ago #

    Annnnd I found it. What about "select a chapter" - a sub-list picker under the widget title?

Topic Closed

This topic has been closed to new replies.

About this Topic