chrisjlebron
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Can't save SEO title changesI’m having a similar issue on a client site. I’ve read through the other related posts on the forum, and there don’t seem to be any good solutions beyond “delete everything and start over”. In my case, that’s not possible, as it’s a client site, so I’m hoping someone (maybe even Joost himself…) can lend an eye on this issue.
WordPress version: 3.5
WordPress SEO version: 1.3.4.3I did this:
- Changed SEO Title and Meta Description on Home (front page) or a couple other pages (I don’t see the pattern, but it works correctly on some pages and not others).
- Clicked Update.
I expected the plugin to do this:
- Display the updated text in the SEO metabox after saving (both the preview and the input values)
- Display the updated text in the preview on the Pages list
- Generate the correct Title & Meta Desc on those pages
Instead it did this:
- Displayed old/arbitrary text in the input fields in the SEO metabox
- It did, however, generate everything else correctly (both previews, and the actual
<title>
&<meta>
tags - The issue is that the client has to remember to update the SEO text every time they make an update to one of those pages, otherwise that incorrect leftover text gets saved as the new SEO title & meta desc
Hopefully that’s useful. Thanks.
Forum: Plugins
In reply to: [Twitter Widget Pro] Move follow linkYeah, I would’ve liked to have used the ‘twitter-widget-title’ filter, but I couldn’t hard-code the twitter link since the client wanted to change it according to whatever event they were holding. Is there a way I could have added the button here without hardcoding the link?
Also, I appreciate the CSS tip, but playing with the CSS or JS was just too hacky for this project—a responsive site, built for a client who doesn’t want to deal with developers (ha).
I ended up convincing everyone that the link was fine where it was, at the bottom, so we kept it there.
Thanks again.
Just wanted to add an update, as the past half hour has revealed a wealth of useful information (‘the power of posting’, as they say):
My issue was specifically with use of ‘figcaption’ within ‘figure’ in a custom NextGEN gallery template. I found this nice post from the always-clever Nicolas Gallagher: https://nicolasgallagher.com/using-html5-elements-in-wordpress-post-content/
Though it will likely be useful in the future (or at least until WP catches up), it didn’t actually solve my problem since—as he points out in the article—it doesn’t really work with figure/figcaption.
Then I remembered: LINE-HEIGHT! I simply set the ‘figure’ line-height to ‘0’ in the CSS, and it removes the effect of the ‘br’! It’s still a little hacky, and the tags still appear in the markup, but it’s the most minimal solution I could come up with. Certainly better than adding more JS to my page…
Hope this helps someone.
Any updates on this? I’ve tried ‘wpautop’, I’ve tried putting all the code for images on one line (where applicable), I’ve tried shutting off the visual editor / typing all the text & shortcode by hand / etc… Nothing. The only solution I’ve got is to rip out the ‘br’ with jQuery (even str_replace() doesn’t work!), which is just way too hacky for my tastes.
Losin it…