Okay
  Public Ticket #1887115
technical support
Closed

Comments

  • Randy started the conversation

    How can I take out the links in the Services section of the front page? I don't want the icons to be clickable.

    Thanks!

  •  1,692
    Andrey replied

    Hello, Dear Randy.

    Please open in code editor file loop-item2.php which locates \wp-content\themes\dotdigital\framework-customizations\extensions\services\views\

    Replace all existing code inside with the following:

    <?php if ( ! defined( 'FW' ) ) {
        die( 'Forbidden' );
    }
    /**
     * Single service loop item layout
     * also using as a default service view in a shortcode
     */
    $ext_services_settings = fw()--->extensions->get( 'services' )->get_settings();
    $taxonomy_name = $ext_services_settings['taxonomy_name'];
    $icon_array = fw_ext_services_get_icon_array();
    ?>
    <div class="service_item vertical-item content-padding text-center overflow-hidden loop-2">
        <?php if ( $icon_array['icon_type'] === 'image' ) : ?>
            
                <!--?php echo wp_kses_post( $icon_array['icon_html'] ); ?-->
        <!--?php else: //icon ?-->
            <div class="teaser_icon highlight size_big border_icon">
                    <!--?php echo wp_kses_post( $icon_array['icon_html'] ); ?-->
                
            </div>
        <!--?php endif; ?-->
        <div class="item-content">
            <h4 class="entry-title">
                
                    <!--?php the_title(); ?-->
                
            </h4>
            <div class="excerpt">
                <!--?php the_excerpt(); ?-->
            </div>
        </div><!-- eof .item-content -->
    </div><!-- eof .teaser -->
    

    Save changes and check results at front-end.

    Best Regards!

  • Randy replied

    That solution is giving me a syntax error and causing the site to go blank....

  • Randy replied

    Okay, took out the commented items and is working perfectly. Thanks!

  •  1,692
    Andrey replied

    Hello, Dear Randy!

    Thank you for informing us about positive result.

    Best Regards!