php-ref icon indicating copy to clipboard operation
php-ref copied to clipboard

Integrations with a WP plugin

Open wycks opened this issue 11 years ago • 4 comments

I hope you don't mind I forked this into a WP plugin https://github.com/wycks/WP-Pretty-Debug

Not sure what your plans are but I can maintain it with your upstream changes, there are some CSS issues with inline debugging that I'm not sure how to tackle, so far I'm just using an extra CSS style sheet to over ride.

Should I put some work into it or are you planning on doing a plugin with it? I don't want to step on anyones toes considering you created it.

wycks avatar Jul 09 '13 17:07 wycks

Go ahead, I don't mind at all :)

I should mention that some of the HTML markup and CSS might change. I'm currently working on a different way to generate the output to keep memory usage to minimum when querying very large data...

digitalnature avatar Jul 09 '13 20:07 digitalnature

No worries since I can pull in your changes and my CSS changes are minor and included in a separate file. The problem was it was hard to read when inline theme debugging, so I made it look like this, https://github.com/wycks/WP-Pretty-Debug/blob/master/screenshot.jpg

wycks avatar Jul 09 '13 23:07 wycks

I see you're including the styles yourself. You should disable internal styles with ref::config('stylePath', false) if you do that. Then you can avoid !important. Same with the js if you want to use wp_enqueue_script()...

digitalnature avatar Jul 11 '13 22:07 digitalnature

Ya I think I will do that thanks. btw I threw this up on wordpress.org and since your name is in the readme it now links to your profile (didn't realize it would do that) if that is ok.

wycks avatar Jul 11 '13 23:07 wycks