BBPress Steven Zahm : Replies Created

Forum Replies Created

Viewing 10 posts - 3,141 through 3,150 (of 15,332 total)
  • Author
    Posts
  • in reply to: Slim Plus #427766
    Steven Zahm
    Keymaster

    @ Peter

    Could be a type in the shortcode breaking the WordPress shortcode parser.

    First suggestion. You do not need to use the template override shortcode option. I suggest removing it. Then navigate to the Connections : Templates admin page and activate the Slim Plus template.

    Your shortcode should look like this:

    [connections image_fallback='none' category='1,2,3']

    Do not copy/paste the shortcode, unless you paste it into the WordPress Text tab when editing the page content. Pasting it while in the Visual tab will also paste the source page’s underlying HTML code, breaking the shortcode.

    Hope this helps, let me know.

    Steven Zahm
    Keymaster

    @ Shaun

    Sorry, yes, this would have to be custom developed for your specific needs.

    in reply to: conditional output #427763
    Steven Zahm
    Keymaster

    @ dominic

    It’s better to hook into the cn_output_phone_number filter. That way you can change the HTML markup to suit. Here’s a skeleton filter to get to you started:

    add_filter( 'cn_output_phone_number', 'cn_output_phone_number', 10, 4 );
    function cn_output_phone_number( $html, $phone, $entry, $shortcode_atts ) {
        // $phone->name is the phone name/type
        // $phone->number is the phone number.
    
        $html = '<span>' . $phone->name '</span> <span>' . $phone->number . '</span>'; 
    
        return $html;
    }
    

    YOu can add this filter using the Code Snippets plugin. Of course tweak as needed to use the Font Awesome markup.

    Hope this helps!

    in reply to: multiple drowdowns #427460
    Steven Zahm
    Keymaster

    @ Pablo

    Like this site:

    https://sscit.org/

    In the “Find A Therapist” section?

    in reply to: Card, image & map issue #427459
    Steven Zahm
    Keymaster

    @ Melissa

    RE: The images on the card are not sizing correctly. How can I fix this?

    I took a look at the page. The images are being cropped correctly, scaled down and center cropped. For portraits this is more or less ideal. I see you are using logos. This crop mode would not be ideal in your use case. WE can change the default crop mode to better suit.

    Install the Code Snippets plugin and add a new snippet with this code:

    function cn_output_default_atts_image_filter( $atts ) {
    
        $atts['zc'] = 2;
    
        return $atts;
    }
    add_filter( 'cn_output_default_atts_image', 'cn_output_default_atts_image_filter' );
    

    Save and Activate the snippet to run on the site’s frontend only.

    This will scale the image down and instead of center cropping, it’ll add white space to fit the image dimension.

    Hope this helps!

    in reply to: Change heading on single post view #427458
    Steven Zahm
    Keymaster

    @ Melissa

    Great to hear!

    in reply to: Email not displaying on card or profile #427457
    Steven Zahm
    Keymaster

    @ Melissa

    Is just took a look at http://www.womenveteransalliance.org/allies/ and the California Women Veterans Leadership Council entry does display its email address. Looks like it is working fine or am I misunderstanding the issue?

    in reply to: Expand Entry Automatically #427456
    Steven Zahm
    Keymaster

    @ plzit

    RE: I tried this but it still kept displaying the Slim Plus theme for an individual entry.

    Did you use the template shortcode option to set the template to display? If you did, that will override the active templates set in the admin.

    in reply to: Map Integration #427359
    Steven Zahm
    Keymaster

    @ Ryan

    Yeah, it’s possible but would require it be custom coded. Nothing available “out of the box” sorry.

    Steven Zahm
    Keymaster

    @ Soo Smart

    RE: is it possible to display a different category on different pages

    Take a look at the category shortcode option docs

    RE: We’d like to be able to show all the categories nicely on the homepage in columns rather than rows, and show these in a more concise manner. So not showing all details, just a small list of Entries within the Animals category, for instance.

    Sorry, not sure I completely understand the desired display.

    RE: If so, how much does it cost to get the additional plugin extensions and which do we need?

    At this point I would say you would not need anything based on what you’ve asked. The category/entry list display question is still an unknown though.

    Hope this helps!

Viewing 10 posts - 3,141 through 3,150 (of 15,332 total)