pm0kjp
Forum Replies Created
-
Forum: Plugins
In reply to: [Custom Post Type UI] Update to 9.0 made all custom taxonomy disappearMore to the point, it’s the singular label that doesn’t show… although the NAME does show. Here’s the code to generate the output:
$output .= '<li class="taxonomy taxonomy-' . $taxonomy->name . '"><h3><a rel="' . $taxonomy->name . '">' . $taxonomy->singular_label . '</a></h3>'
And here’s the actual output…
<li class="taxonomy taxonomy-employment_law"><h3><a rel="employment_law"></a></h3>
As you can see the name works, but the singular label does not, despite the fact that the “Employment Law” taxonomy is indeed linked to posts in the edit taxonomy screen and also has a singular and plural label displayed in the edit taxonomy screen. I’m lost!
Forum: Plugins
In reply to: [Custom Post Type UI] Update to 9.0 made all custom taxonomy disappearHi all, I was reading this thread a couple of months back but gave up after trying a couple of the fixes to no avail. My live site uses 0.9.5 but when I try to upgrade, even with the “becky fix” of the little plugin you wrote, my taxonomy labels disappear (which form a crucial part of site navigation). Do you have a clear upgrade path for 0.9.5 to 1.x? I feel confused by the back and forth…
Forum: Hacks
In reply to: wp stripping tags added by my plugin… where? how? why?Holy s**t, after DAYS of hammering against this I realize that on single posts, it works… it’s only in collated post snippets that it doesn’t, and that’s an ajaxing issue.
Thanks for being a sounding board, it helped me organize my thinking. Now I can breathe again.
Joy
Forum: Hacks
In reply to: wp stripping tags added by my plugin… where? how? why?Thanks for putting your thinking cap on. Meantime, I’m reading https://jdmweb.com/how-to-turn-any-jquery-plugin-into-a-wordpress-one and also disabling all the other plugins I can in case there’s a naming collision or some other nefarious behavior happening.
Joy
Forum: Hacks
In reply to: wp stripping tags added by my plugin… where? how? why?Hi Nickohrn,
Thanks for your help. The final paragraph’s source comes from Chrome’s inspector… so I get the correctly marked up paragraph from the console, and the paragraph that’s not marked up from the “inspect element” contextual link in Chrome.
When I run
jQuery(‘#article-wrapper’).find(‘abbr’).size(); I get ‘0’ as the result.Could my changes that are getting dumped to the console log and look good be made in a shadow dom, and that’s why they aren’t showing up? I’m very confused! This is my first jQuery plugin and I wonder if that’s a complication and if I shouldn’t just do it as a callable function instead.
Joy Payton