Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • mobiousdesign

    (@mobiousdesign)

    Did 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?

    Thread Starter mobiousdesign

    (@mobiousdesign)

    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:

    http://codepad.org/HPyAJoIv

    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

    Thread Starter mobiousdesign

    (@mobiousdesign)

    bump

Viewing 3 replies - 1 through 3 (of 3 total)