• Resolved tdrtdrtdr

    (@tdrtdrtdr)


    I have been searching all morning for a bad line of code in my headers file, because this line of code I inserted incorrectly and was showing up in line 1 column 1 and blocks my address entry to admin file.

    It is actually at the end LAST lines in my widgets file and reads:
    add_action(‘widgets_init’, ‘MystiqueWidgetsInit’);
    ?>
    Free Blog Promotion – Blog and Blog resource Directory

    Should I delete the whole Add_action line or just the part starting with <a href… this line screws my whole entry into admin and shows as text in the blog’s upper leftmost area. After I remove the bad line do I upload the file? What should I do with the file to make it correct itself (sorry, dummie here)

    THANK YOU TO ESMI AND THE OTHER GUY WHO ANSWERED MY FIRST QUESTION

Viewing 4 replies - 1 through 4 (of 4 total)
  • your widgets file?

    is that in a theme or in the main wordpress install?

    Either way, just upload a fresh copy of the file (either from the theme, or a fresh copy of wordpress)

    Thread Starter tdrtdrtdr

    (@tdrtdrtdr)

    It’s in the mystique theme file in the lib folder, file is widget.php

    I can’t just replace the widget file as it has all my widgets in it. Can’t I simply correct the file by removing the whole add_action? Then would I upload the file to implement the correction?

    what do you mean it has all your widgets in it?

    widgets are either included with WP, or come as part of a plugin. Nothing gets added to any files….

    if you were in any portion of your theme and messed anything up….the best course of action would be to delete and replace the entire theme, or at least the file in question. (Unless you have done some heavy modifications….I’m assuming you have not)

    Thread Starter tdrtdrtdr

    (@tdrtdrtdr)

    I’ll work on it. Thanks RVoodoo

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Bad line of code found in my widgets file..what to do?’ is closed to new replies.