WordPress.org

Ready to get started?Download WordPress

Forums

Need Help with Broken php Template File (6 posts)

  1. LanceB
    Member
    Posted 1 year ago #

    I am trying to troubleshoot a problem that was created by someone else in our company. I have limited experience with php or with the specific wordpress template files so I thought I would ask here and see if someone more experienced can see the problem.

    Apparently they were editing the Single Post (single.php ) file and now we have some layout issues.

    Basically the categories widget is now displaying at the bottom of the main content area instead of the right sidebar. And the blue background is not extending all the way to the bottom of the page.

    To me it looks like there is either a </div> out of place or possibly even some missing php code that accidentally got deleted.

    I have tried copying the code from another blog that uses the same template and version, but that did not work.

    We are using WordPress version 3.5 with the Adventure Journal template.

    Here is the link to one of the pages were this is happening
    http://www.healthshop101.com/blog/1003/mineralife-iron-supplement/

    And here is the php code that is in question
    http://pastebin.com/4pUDkApf

    Thanks in advance for any help that someone is able to provide.

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    Have you tried uploading a completely fresh copy of the theme using FTP?

  3. 23aleks
    Member
    Posted 1 year ago #

    Я не опытный пользователь. И при проверке моего сайта Валидатором он пишет вот это:

    Редкие или незарегистрированных кодировку обнаружено

    Кодировка символов, объявленных для этого документа ( utf8 ) поддерживается валидатор, но не могут быть широко поддерживается на различных платформах. Ради совместимости, то лучше использовать кодировку Юникод, такие как UTF-8 , или один из зарегистрированных кодировки .

    Извините, я не могу проверить это документ, поскольку на линии 314 в нем содержится один или несколько байт, что я не могу интерпретировать как utf8 (другими словами, байты найдены не являются допустимыми значениями в указанном кодировки). Пожалуйста, проверьте как содержимое файла и указание кодировки символов.
    Ошибка: utf8 "\ xd1" не отображаются в Unicode.

    Помогите пожалуйста, как и где мне исправить эту ошибку...
    http://zarabotok-dlya-vsekh.ru/

  4. LanceB
    Member
    Posted 1 year ago #

    Thanks for the reply.
    No I have not tried that yet. It would be the last resort. Unfortunately this was a heavily customized version of the template, and when it was customized it was not done correctly so there are changes all over the core files that would need to be re-created.

    I came onto this project just recently so trying to make the best of the situation.

  5. esmi
    Forum Moderator
    Posted 1 year ago #

    @23aleks: It is impolite to interrupt another poster's ongoing thread with an unrelated question of your own. It causes significant problems for the forum's volunteers and prevents us from being able to track issues by topic. Please post your own topic.

    Also, these are English language forums, so please use English. Alternatively, use a WP support forum in your language.

  6. 23aleks
    Member
    Posted 1 year ago #

    Excuse me, did not think that is necessary for each person to create a new topic. Once again I apologize ...

Topic Closed

This topic has been closed to new replies.

About this Topic