Formatted Help & Tab Order
-
Hello,
My nicely formatted help content was reduced to a wall of text when displayed in a tab by the plugin. Not sure if that’s the way you intended it or not, but I went in and mucked about with the code to fix it.
I changed line 238 (in v1.2) from this:
$hcontent = get_the_content($post->ID);
to this:
$hcontent = apply_filters('the_content',get_the_content($post->ID));
I also wanted some control over the ordering of my new tabs, beyond the Post ID. I added the following lines at line 221:
'orderby' => 'title', 'order' => 'ASC',
Although it’d be much better to just use or recognize the post order setting.
I’d create a pull and request a merge on GitHub, but I’ve never done that, and the changes seemed simple, so I thought I’d just send them along.
Thanks for a nice plugin!
m.https://www.ads-software.com/plugins/better-admin-help-tabs/
- The topic ‘Formatted Help & Tab Order’ is closed to new replies.