• Resolved Blutarsky

    (@blutarsky)


    All of a sudden, my post formatting\layout has changed, and a plugin that hooks to the_content (Hackadelic SEO TOC) stopped working.

    – I have tried to disable all the plugins to find an offending one
    – I have tried to disable WP formatting with:

    remove_filter('comment_text', 'wptexturize');
    remove_filter('the_excerpt', 'wptexturize');
    remove_filter('the_content', 'wptexturize');
    remove_filter('the_rss_content', 'wptexturize');

    The problem is still there, layout\formatting has changed slighty and the plugin is not working anymore.

    Could it be something has changed\screwed-up in WP configuration?
    Should I check out some WP tables?

    Data in the post (editor) is correct

Viewing 6 replies - 1 through 6 (of 6 total)
  • Have you tried:

    – switching to the default theme to rule out any theme-related problems?

    resetting the plugins folder by FTP or phpMyAdmin? Sometimes, an apparently inactive plugin can still cause problems.

    Thread Starter Blutarsky

    (@blutarsky)

    I have added a function into functions.php to list active hooks & filters, to debug who is filtering the_content().

    What is strange is that although disabling ALL the plugins, they still appear into the list of filters attached to the_content().

    Wondering if this is by design or not.

    However also with plugins disbled the formatting problem is still there. All the text seems squeezed with no line breaks.

    Thread Starter Blutarsky

    (@blutarsky)

    I have tried to change theme and formatting is ok…. so it’s atheme relate problem.

    When disabling all plugins, the option_value field in wp_options is correctly set to: a:0:{}….

    I should investigate further on seeking for unwanted filters somewhere…

    Thread Starter Blutarsky

    (@blutarsky)

    No filters left around, all plugins disabled…. in the post editor, extra <p> breaks are inserted as always…..looks like the default WP formatting beheaviour is disabled…. wonder if some theme behavior (filters, hooks?) traces are left into the database somewhere….

    Thread Starter Blutarsky

    (@blutarsky)

    Now I have tried to add a new filter to the_content but regardless the priority I give to it, it is not applied.

    Something is screwed up in filters, what should i do?

    This is what appears when debbugging filters:

    >>>>>	the_content
    -10000	feedwordpress_preserve_syndicated_content
    0	qtrans_useCurrentLanguageIfNotFoundShowAvailable
    9	wpcf7_the_content_filter
    10	wptexturize
    	convert_smilies
    	convert_chars
    	wpautop
    	prepend_attachment
    	HackadelicTOCcollectTOC5
    	my_content
    11	do_shortcode
    50	seo_friendly_images
    99	wp_related_posts_auto
    10000	feedwordpress_restore_syndicated_content
    Thread Starter Blutarsky

    (@blutarsky)

    ME STUPID!!!!!!!!
    I’ve changed the code and using get_the_content in place of the_content!!!!

    ME STUPID TWICE!!!!!!!!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Altered post formatting’ is closed to new replies.