BBPress Michael Schmidt : Replies Created

Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • in reply to: Re-organize phone numbers and addresses #415955
    Michael Schmidt
    Participant

    Actually, I think I found a solution. I went in and made a couple changes to the card-single file.

    Instead of it being:

    if ( $atts[‘show_addresses’] ) $entry->getAddressBlock( array( ‘format’ => $atts[‘addr_format’] , ‘type’ => $atts[‘address_types’] ) );

    if ( $atts[‘show_phone_numbers’] ) $entry->getPhoneNumberBlock( array( ‘format’ => $atts[‘phone_format’] , ‘type’ => $atts[‘phone_types’] ) );

    I changed it to:
    if ( $atts[‘show_addresses’] ) $entry->getAddressBlock( array( ‘format’ => $atts[‘addr_format’] , ‘type’ => ‘work’ ) );
    if ( $atts[‘show_phone_numbers’] ) $entry->getPhoneNumberBlock( array( ‘format’ => $atts[‘phone_format’] , ‘type’ => ‘workphone’ ) );

    if ( $atts[‘show_addresses’] ) $entry->getAddressBlock( array( ‘format’ => $atts[‘addr_format’] , ‘type’ => ‘home’ ) );
    if ( $atts[‘show_phone_numbers’] ) $entry->getPhoneNumberBlock( array( ‘format’ => $atts[‘phone_format’] , ‘type’ => ‘homephone’ ) );

    I don’t know if that’s the best solution but it gets the job done. Thank you for your help!

    in reply to: Re-organize phone numbers and addresses #415949
    Michael Schmidt
    Participant

    Thank you!
    It works great on the main directory page where it lists all the employees, but when you click an individual it’s still separated.
    Any thoughts on that?

    in reply to: Re-organize phone numbers and addresses #415922
    Michael Schmidt
    Participant

    Thanks for the quick reply.
    I know a little php coding. I’m learning as I go. If you don’t mind pointing me in the right direction, I’d like to give it a shot first. And then if I can’t manage it, I’ll talk to my client and have you get us a quote.

    Thanks.

    in reply to: Shortcode tips and hints aren't showing up #403827
    Michael Schmidt
    Participant

    Thank you for looking into this so quickly.

Viewing 4 posts - 1 through 4 (of 4 total)