mpalmer22
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: WebSocket connection failed: newest-note-data errors ??I’m getting this same error w/ Chrome
Untested, but try this.
Change this line:
$lcp_excerpt = strip_shortcodes(strip_tags($single->post_content));
to
$lcp_excerpt = strip_shortcodes(strip_tags($single->post_content, '<h3><any other tags you want>'));'
Should work, if not you may need to allow tags in your excerpts too. There’s a bunch of tutorials on that though.
Did that actually, to no avail. I even tried returning to an older version of wp, same issue. I ended up reinstalling wp w/ 4.3.1 via Automattic and then reloading the db from a recent MT backup (just the posts, relevant plugins, and relationships tables).
I’m not sure why the original update didn’t take (maybe the jump in versions and a change in db structure?). I can’t seem to find information on how/if the DB changed during the versions, but I think that could have had something to do w/ it as well. Maybe something was deprecated or changed locations of the javascript reference. I saw someone else having a similar problem after their update (guessing it’s a difference in the way automattic sets things up vs. the way WP updates itself). But, that’s just a guess. I’m back up and running though, thanks for the help.I’m still not entirely sure what you are trying to accomplish with the site. If you paste the code from your link into the bottom of you functions.php file and edit the lines as per the tutorial, then anywhere (in the theme) that calls for your excerpt will allow the html tags you specified from the original post.
I don’t think it will work if you use the plugin though, since it appears the plugin is making it’s own excerpt and not using wordpress features to make the excerpt. Where are you trying to get the excerpt to show up?Don’t use the code you posted. That’s more than you need to do. Use the link you posted. Paste the code into your functions.php file (the big chunk) and then edit the line 22 that says allowed tags. You have to allow certain tags to show up. This will edit excerpts across the site.
Hey Susan and Josh,
I haven’t talked to MT, yet, but I just upgraded to 3.4.1 and I am having a nightmare as well. I’m leaning towards something on MT’s end, especially since they have proprietary server software. I’m probably going to try and go back to the original 1-click install from automattic. However, I’m having different issues than you are. I can’t edit posts (the content is there and selectable, but displays w/ white text I guess) and it just flat out won’t load any themes. Not to hijack your thread, but I’d be really interested to see if you guys come up w/ anything.
Mike
Forum: Fixing WordPress
In reply to: Can't update posts/pages after upgrade to 3.4.1I have the same issue with the content as Thearticlemill, but now after the upgrade it isn’t using my themes or switch themes. I’m guessing some sort of jquery issue, but beyond that I have no clue. Any help would be great.