Home Forums WoodMart support forum Appearance > Widgets > WoodMart Author Information > Author link

Appearance > Widgets > WoodMart Author Information > Author link

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #496005

    Jeriss Cloud Center
    Participant

    In the above mentionned widget, the “Autor Link” simply doesn’t work

    We click and nothing happens.

    Attachments:
    You must be logged in to view attached files.
    #496224

    Luke Nielsen
    Keymaster

    Hello,

    Please, disable all plugins that are not related to our theme and provide us with your admin access. We will log in and check what is wrong there. You can leave only the following plugins that are required for our theme:
    WoodMart core
    WooCommerce
    Elementor

    Thank you in advance

    Kind Regards

    #496758

    Jeriss Cloud Center
    Participant

    Issue reproduced on staging in private (with extra no plugins)

    #496910

    Luke Nielsen
    Keymaster

    Hello,

    In the next update, this issue will be fixed.

    Kindly accept our sincere apologies for the inconvenience caused to you and don’t hesitate to reach out if you have any additional questions.

    Kind Regards

    #496934

    Jeriss Cloud Center
    Participant

    In the meantime, could you deploy a patch please ? Thanks

    #496950

    Luke Nielsen
    Keymaster

    Hello,

    If other customers are faced with the same issue, then we will create a patch.

    Thanks for your time and have a great day.

    Kind Regards

    #497038

    Jeriss Cloud Center
    Participant

    But this is blocking me in my work. I need an urgent fix for this, because I need to present the final version of this page fully functionnal. Please deploy a patch.

    #497066

    Luke Nielsen
    Keymaster

    Hello,

    You can use the below code to fix it now:

    function woodmart_shortcode_author_area($atts, $content) {
    		$output = $class = '';
    		extract( shortcode_atts( array(
    			'title' => '',
    			'author_name' => '',
    			'image' => '',
    			'img_size' => '800x600',
    			'link' => '',
    			'link_text' => '',
    			'alignment' => 'left',
    			'style' => '',
    			'woodmart_color_scheme' => 'dark',
    			'css_animation' => 'none',
    			'el_class' => '',
    			'woodmart_css_id' => '',
    			'css' => '',
    		), $atts ) );
    
    		$img_id = preg_replace( '/[^\d]/', '', $image );
    
    		if ( $img_id ) {
    			$image_output = woodmart_otf_get_image_html( $img_id, $img_size, array(), array( 'class' => 'author-area-image' ) );
    		}
    
    		$class .= ' text-' . $alignment;
    		$class .= ' color-scheme-' . $woodmart_color_scheme;
    		$class .= woodmart_get_css_animation( $css_animation );
    		$class .= ' ' . $el_class;
    		$class .= ' wd-rs-' . $woodmart_css_id;
    
    		if ( function_exists( 'vc_shortcode_custom_css_class' ) ) {
    			$class .= ' ' . vc_shortcode_custom_css_class( $css );
    		}
    
    		if ( ! str_contains( $link, 'url:' ) ) {
    			$link = 'url:' . $link;
    		}
    
    		ob_start(); ?>
    
    			<div class="author-area set-mb-m reset-last-child<?php echo esc_attr( $class ); ?>">
    
    				<?php if ( $title ) : ?>
    					<h3 class="title author-title">
    						<?php echo esc_html( $title ); ?>
    					</h3>
    				<?php endif ?>
    
    				<?php if ( isset( $image_output ) ) : ?>
    					<div class="author-avatar">
    						<?php echo $image_output; //phpcs:ignore. ?>
    					</div>
    				<?php endif; ?>
    
    				<?php if ( $author_name ) : ?>
    					<h4 class="title author-name">
    						<?php echo esc_html( $author_name ); ?>
    					</h4>
    				<?php endif ?>
    
    				<?php if ( $content ) : ?>
    					<div class="author-area-info">
    						<?php echo do_shortcode( $content ); ?>
    					</div>
    				<?php endif ?>
    
    				<?php if ( $link != '' ) : ?>
    					<a <?php echo woodmart_get_link_attributes( $link ); ?> class="btn btn-style-link btn-color-default">
    						<?php echo esc_html( $link_text ); ?>
    					</a>
    				<?php endif; ?>
    
    			</div>
    
    		<?php
    		$output = ob_get_contents();
    		ob_end_clean();
    
    		return $output;
    }

    Kind Regards

    #497958

    Jeriss Cloud Center
    Participant

    Come on guys please deploy a patch …. what’s the point of you creating an entire Patching system if you refuse to use it when needed ??

    #497975

    Luke Nielsen
    Keymaster

    Hello,

    As I mentioned above, If other customers are faced with the same issue, then we will create a patch.

    Don’t hesitate to let me know if you need any further help or any other info.

    Kind Regards

    #500074

    Jeriss Cloud Center
    Participant

    Why should I care about other customers? I’m the one who raised the issue, I’m the one impacted by this problem. Once again, please deploy a patch.

    #500129

    Luke Nielsen
    Keymaster

    Hello,

    As I mentioned above, If other customers are faced with the same issue, then we will create a patch.

    I do hope you would remain as our valued customer and thank you for your time.

    Kind Regards

    #501777

    Jeriss Cloud Center
    Participant

    You can close this ticket, thanks

    #501785

    Luke Nielsen
    Keymaster

    Hello,

    You are welcome! In case you need any additional help, I’d be more than happy to assist you.

    Have a good day!

    Kind Regards

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

The topic ‘Appearance > Widgets > WoodMart Author Information > Author link’ is closed to new replies.