WordPress.org

Ready to get started?Download WordPress

Forums

Theme not able to be modified on pages, can't quite figure out the story... (11 posts)

  1. mixmastermichael
    Member
    Posted 3 years ago #

    So, on this site, I am trying to fix the layout in a few areas.
    http://firstclasswoodworking.com/gallery/beam/

    For now, particularly the weird --> that shows up in FireFox and Safari on this mac that I'm using.

    However, it's weird, it seems no matter what I try to do to edit the theme, nothing is reflected on the actual site. I can make changes to the CSS file fine, but anything done to the theme is not reflected at all...

    Any ideas as to what might be the issue???

    Any help would be greatly appreciated. I really want to make it look pretty and wrap this thing up soon.

  2. datasoftict
    Member
    Posted 3 years ago #

    You have

    </div><!-- #respond -->
    -->

    on the page, somewhere around line 95.

  3. datasoftict
    Member
    Posted 3 years ago #

    When you say you can't edit the theme, do you mean that you can make changes, save them, go back check the code and they are there, but they don't make a difference on the site page, or that if you make them they are not even saved?

  4. mixmastermichael
    Member
    Posted 3 years ago #

    Thanks for the reply!

    Yes, what you described is exactly what is happening. I make changes to the theme, they are not reflected at ALL in the live site. I've cleared the cache, checked multiple browsers, etc.

    For example, I thought that was the case for the <!--respond -->, and have made the change, but it's still there after checking it out multiple times on multiple browsers etc.

    My wp theme used to be in /wordpress on my domain, but I've recently switched over... Perhaps it's still thinking the theme is located in the /wordpress directory? But it's weird as CSS changes can be made with out issues.

    Thanks again for looking into it.

  5. datasoftict
    Member
    Posted 3 years ago #

    This may not be the case with you, but I can't count the amount of times I have made changes to a file and nothing has happened, only to check the files and realise I was making changes to a backup copy not the live server.

    I would check your paths in the dashboard - and check the permalinks - and see if you have everything pointing to the same directory, from a quick view of the page source you have the css at

    <link rel="stylesheet" href="http://firstclasswoodworking.com/wp-content/themes/wsc6/style.css" type="text/css" media="screen" />
    but other links are
    wordpress/index.php

    If you have FTP access check where the files are actually placed, in the root or in a wordpress directory.

    Clearly there has been some editing at chunks of the page are comented out, if in doubt I always use the editor in the apearance section of the dashboard and search through the files. I would think that the commented out code is likely to be around the comments section.

    I am afraid it is evening here in the UK so I won't be back on tonight, but leave me any questions you want and I will check them out first thing. Someone else in your timezone may well pick this up now that there has been some activity on it.

    By the way, your work looks stunning!

  6. mixmastermichael
    Member
    Posted 3 years ago #

    Thanks so much for the reply. I will take a look at some things tonight and see if I can find out what the story is. I think all is okay for the directories / theme directories, since I can switch to other themes and install them and edit them fine. hmm.

    Have a good night and I will post here on what I've found out.

    I very much appreciate the time to check it out.

  7. mixmastermichael
    Member
    Posted 3 years ago #

    Yeah, hmm not quite sure what the problem is...

    That "respond" div is in the source code of the site, yet I've done a search through every file in that theme and can't find ANYTHING that relates to it...

    As for not being able to edit the theme, it was weird, I switched the site back to /wordpress just to check and sure enough the changes I made to the theme showed up there, switched back to the root directory and things showed up again.

    Now if I can just figure out how to get the weird --> to disappear I should be back in business and almost done.

  8. datasoftict
    Member
    Posted 3 years ago #

    PHP builds the HTML as the page is called by the browser, it runs any functions or includes and creates the html page a browser views. As such the respond div could be in any page or inside an include file or even a function.

    A quick check on my system shows that the div respond is in the comments.php, wp-includes/comment-template.php and wp-includes/theme-compat/comments.php

    Try them and see if you can find the commented out section.

  9. mixmastermichael
    Member
    Posted 3 years ago #

    Hi there, thanks for checking, I've commented out where I could but still see the issue on the pages.

    HOwever, I'm not seeing the "comments.php" file, do you mean the one associated with the theme "ws6"? I tried looking in that one too but still can't see any "respond" div.

    It's weird, as it's obviously pulling it in from somewhere outside of my theme, but I can't tell where... Hmm.

  10. mixmastermichael
    Member
    Posted 3 years ago #

    Ah, just deleted the <!-- #respond --> all together from the comment-template.php file which seemed to have done the trick.

    Now onto the IE 7 issue I just noticed :)

    Thanks for the help though, couldn't have done this without you :)

    UK people are so nice.

  11. datasoftict
    Member
    Posted 3 years ago #

    Sorry for the delay in responding, lost all broadband services while we were 'upgraded' at a junction box down the road.

    UK people are so nice

    .
    Unless you live here....

    IE7? Don't use it but what is the issue?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.