mobiousdesign
Forum Replies Created
-
Forum: Plugins
In reply to: Add first_name, last_name to registrationDid you ever have any luck figuring this out? I’m at the same stop point as you are. Fields are added as a key/value to wp-signups…but the function doesn’t appear to work and move those values into wp-usermeta
Anyone have any thoughts?
no, product_category is the custom taxonomy…I came REALLY close with getting it to work. And made some changes since I posted this. I stepped through the code on a page with a post type of product, and a taxonomy of product_category. And it was pulling the correct child theme…but at the last step…it would not return the stylesheet…
Here’s the entirety of what i updated:
Some changes I made as I stated above…getting post id with bwp_url_to_postid (and that function is in the codepad…that works…changed the breakout from
elseif ($pid !=0 && get_post_type($pid) != "page") {to
if ($pid!=0 && 'product' == get_post_type($pid)) {Which I know makes this only useable for THAT post type…and I was thinking of adding an option to either pass the post type in…or select it on an options page…but that was a later thing…
I can also put up a quick test site to play with, just let me know….I did ultimately go with a different solution for this project…but I would REALLY like to be able to do this in the future. And, I’m stubborn and hate getting stumped 😉
Cheers,
Brian
Forum: Fixing WordPress
In reply to: TinyMCE 3.4.5 and the 3.3 upgrade – linebreaksbump