Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Ibnul H.

    (@ibnul)

    Hi fselsis,
    Yeah that’ll be possible on next version very soon.
    Thanks to point me that.

    Great plugin, has there been any development on changing the number of columns? If not, specifically where is it located in the code to change it?

    Plugin Author Ibnul H.

    (@ibnul)

    Hi,
    Thanks for using my plugin.
    Actually I’m trying to release the new version very soon.
    But for now you can change code from “inc->shortcodes.php” file

    Thank you, I have located the shortcodes.php file and I am assuming this is the code that needs to be changed, but I am not able to get it to display 5 columns instead of 3.

    $query = new WP_Query( $args );
    
    		if( $query -> have_posts() ) {
    
    			$loop = 1;
    
    			$column = 4;
    
    			$lastcolumn = 3;
    
    		while( $query -> have_posts() ) {	$query -> the_post();
    
    			if($loop%2!=0 && $loop !=1) { $cls=" clearPad"; }
    
    			else{ $cls=""; }
    
    			if($loop == $column){ $cls.=" firstCol"; $column=$column + 3; }								
    
    			if($loop == $lastcolumn){ $cls.=" lastCol"; $lastcolumn=$lastcolumn + 3; }								
    
    		$team_members_output .= '
    
    		<div class="col-one-fourth'. $cls .'">';

    Is there a specific location within this code that I need to change to display 5 columns?

    Plugin Author Ibnul H.

    (@ibnul)

    Hi,
    Actually there are things logically done to make the members responsive on all devices, that’s why there are classes and logically implemented.
    So, it won’t be easy to make 5 col instead 3.
    You better wait for the next version soon, may be in a week or two.

    Thanks

    Ok, thank you so much for your help, I look forward to the update, this is a great plugin – i’ve been searching for one similar to this for quite some time. Great work!

    Hi

    I’m using version 2.4.1 and could really do with an update from you that would allow me to set the number of columns.
    I’ve had a quick play with shortcodes.php to try and bootstrap it but it failed miserably.

    Are you any closer to an update? I may have to hunt for an alternative plug-in if I can’t remedy this problem which would be a shame as it does everything else so well.

    Thanks

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘number of columns’ is closed to new replies.