• Resolved Michael

    (@flinkthink)


    Hi there!

    I’ve added this shortcode to a page:
    [downloads tag="Strukturierte Produkte" template="tabelle" loop_start="<table><thead><th>Strukturierte Produkte</th><th>Präsentation</th><th>Factsheet</th><th>Termsheet</th></thead><tbody>" loop_end="</tbod></table>" orderby="title" order="asc"]

    The “tabelle”-template looks like this:

    <?php
    if ( ! defined( 'ABSPATH' ) ) {
    	exit;
    } // Exit if accessed directly
    
    /** @var DLM_Download $dlm_download */
    
    $versions = $dlm_download->get_versions();
    
    if ( $versions ) : 
    	?>
    	<tr>
    		<?php
    		/** @var DLM_Download_Version $version */
    		$u = 1;
    		foreach ( $versions as $version ) {
    		    // set loop version as current version
    			$dlm_download->set_version( $version );
    			?>
    			<td>
    				<a title="<?php printf( _n( 'Downloaded 1 time', 'Downloaded %d times', $dlm_download->get_download_count(), 'download-monitor' ), $dlm_download->get_download_count() ) ?>"
    			       href="<?php $dlm_download->the_download_link(); ?>" rel="nofollow">
    					 <?php if ( $version->has_version_number() ) {
    						echo $version->get_version_number(). ' ';
    					} else {
    						 echo $version->get_filename();
    						}
    					?>
    				</a>
    			</td>
    		<?php
    			$u++;
    		}
    		?>
    	</tr>
    <?php 
    endif;
    ?>

    But the output looks like this:
    https://cl.ly/573de78585a1

    Where are this bullet points came from?

    Thanks!
    Michael

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hey Michael,

    Thanks for reaching out to us.

    Can you please share a link where we can see this?

    Hello,

    There have been no replies to this topic, so I’m marking this as resolved. Please do let us know if you’re still experiencing an issue.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Wrong output of list bullets’ is closed to new replies.