Title: jscoolen's Replies | WordPress.org

---

# jscoolen

  [  ](https://wordpress.org/support/users/jscoolen/)

 *   [Profile](https://wordpress.org/support/users/jscoolen/)
 *   [Topics Started](https://wordpress.org/support/users/jscoolen/topics/)
 *   [Replies Created](https://wordpress.org/support/users/jscoolen/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/jscoolen/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/jscoolen/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/jscoolen/engagements/)
 *   [Favorites](https://wordpress.org/support/users/jscoolen/favorites/)

 Search replies:

## Forum Replies Created

Viewing 13 replies - 1 through 13 (of 13 total)

 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Spacious] multi languages](https://wordpress.org/support/topic/multi-languages-8/)
 *  Thread Starter [jscoolen](https://wordpress.org/support/users/jscoolen/)
 * (@jscoolen)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/multi-languages-8/#post-13984962)
 * I can not find on your list if it supports more languages, because the buttonsonly
   support 1 language
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Looking for a template for house rental](https://wordpress.org/support/topic/looking-for-a-template-for-house-rental/)
 *  Thread Starter [jscoolen](https://wordpress.org/support/users/jscoolen/)
 * (@jscoolen)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/looking-for-a-template-for-house-rental/#post-12773654)
 * Sorry to bother you again.
 * But I have looked at several themes now.
    I think I like this one. [https://wordpress.org/themes/travelify/](https://wordpress.org/themes/travelify/)
 * But all the themes I have seen, only support 1 sidebar.
 * I like to use a differend sidebar on a few pages. Is this theme related, or do
   I need a plugin to do this?
 * I found a plugin for this
    -  This reply was modified 6 years, 3 months ago by [jscoolen](https://wordpress.org/support/users/jscoolen/).
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Looking for a template for house rental](https://wordpress.org/support/topic/looking-for-a-template-for-house-rental/)
 *  Thread Starter [jscoolen](https://wordpress.org/support/users/jscoolen/)
 * (@jscoolen)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/looking-for-a-template-for-house-rental/#post-12773071)
 * Sorry to bother you again.
 * But I have looked at several themes now.
    I think I like this one. [https://wordpress.org/themes/travelify/](https://wordpress.org/themes/travelify/)
 * But all the themes I have seen, only support 1 sidebar.
 * I like to use a differend sidebar on a few pages. Is this theme related, or do
   I need a plugin to do this?
 * I found a plugin for this
    -  This reply was modified 6 years, 3 months ago by [jscoolen](https://wordpress.org/support/users/jscoolen/).
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Looking for a template for house rental](https://wordpress.org/support/topic/looking-for-a-template-for-house-rental/)
 *  Thread Starter [jscoolen](https://wordpress.org/support/users/jscoolen/)
 * (@jscoolen)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/looking-for-a-template-for-house-rental/#post-12771198)
 * Thank you very much for clearing this up!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Looking for a template for house rental](https://wordpress.org/support/topic/looking-for-a-template-for-house-rental/)
 *  Thread Starter [jscoolen](https://wordpress.org/support/users/jscoolen/)
 * (@jscoolen)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/looking-for-a-template-for-house-rental/#post-12770629)
 * Thank you, but I found some templates who have configured the plugins, what will
   help a lot, because with the lost theme (sorry for the mistake), the plugins 
   did not work or there was no way to show them the right way. But it had an easy
   slider script build in.
 * So what you say is that the 1000’s of theme are just to show a differend color
   of buttons and lines? Because images and and colors can be changed?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Woo commerce with api](https://wordpress.org/support/topic/woo-commerce-with-api/)
 *  Thread Starter [jscoolen](https://wordpress.org/support/users/jscoolen/)
 * (@jscoolen)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/woo-commerce-with-api/#post-10050647)
 * Thank you very much, a few days ago I hired a specialist to build this for us.
   
   Still takes about 40 hours to build it.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [add php with database connection](https://wordpress.org/support/topic/add-php-with-database-connection/)
 *  Thread Starter [jscoolen](https://wordpress.org/support/users/jscoolen/)
 * (@jscoolen)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/add-php-with-database-connection/#post-10038343)
 * never mind I think you mean foreach.
 * edit 1: but still the page is all white
 * edit 2: now it works
 *     ```
                   <?php	
       $qry ='
       	SELECT 
       		kl_logos.id,
       		kl_logos.klnr,
       		kl_logos.image,
       		kl_overzicht.kl_overzicht_naam
       	FROM 
       		kl_logos
       	INNER JOIN
       		kl_overzicht
       	ON
       		kl_logos.klnr = kl_overzicht.kl_overzicht_klnr
       	ORDER BY 
       		RAND()
       	LIMIT
       		18';
       if(!$results = $mydb ->prepare($qry)) {
       	echo ' Error in query: '. $mydb->error; 
       }else{
   
       $results = $mydb->get_results($qry, 'ARRAY_A');
   
       foreach ($results as $list) {
       	echo'					
       			<a class="fancy6" href="#" title="'.$list['kl_overzicht_naam'].'">
       				<div class="klanten_image">
       				<img src="'.$urlfoto.$list['image'].'" alt="'.$list['kl_overzicht_naam'].'"/>
   
       				</div>
       			</a>';
       			}	
       }			
       ?>	
       ```
   
 * edit 3: Thank you very much!!!
    -  This reply was modified 8 years, 5 months ago by [jscoolen](https://wordpress.org/support/users/jscoolen/).
    -  This reply was modified 8 years, 5 months ago by [jscoolen](https://wordpress.org/support/users/jscoolen/).
    -  This reply was modified 8 years, 5 months ago by [jscoolen](https://wordpress.org/support/users/jscoolen/).
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [add php with database connection](https://wordpress.org/support/topic/add-php-with-database-connection/)
 *  Thread Starter [jscoolen](https://wordpress.org/support/users/jscoolen/)
 * (@jscoolen)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/add-php-with-database-connection/#post-10038340)
 * I just tried that, but now my whole page is white.
 *     ```
       <div class="klanten_gallery">
       	<div class="container">
       		<div class="klanten_gallery_inn">
               	<div class="klanten_gallery_header">
               	<!--h2>Onze klanten</h2-->
                   <h2><?php the_title(); ?></h2>
                   	<div class="border_photo_klanten"></div>
                   </div>
       			<div class="klanten_gallery_text">
                       <?php
                           if ( have_posts() ) : while ( have_posts() ) : the_post(); 
                               the_content(); 
                           endwhile; endif;
                       ?>
                   </div>
       			<div class="gal">
                   <?php	
       $qry ='
       	SELECT 
       		kl_logos.id,
       		kl_logos.klnr,
       		kl_logos.image,
       		kl_overzicht.kl_overzicht_naam
       	FROM 
       		kl_logos
       	INNER JOIN
       		kl_overzicht
       	ON
       		kl_logos.klnr = kl_overzicht.kl_overzicht_klnr
       	ORDER BY 
       		RAND()
       	LIMIT
       		18';
       if(!$results = $mydb ->prepare($qry)) {
       	echo ' Error in query: '. $mydb->error; 
       }else while(
   
       $results = $mydb->get_results($qry, 'ARRAY_A');
   
       foerach ($results as $list) {
       	echo'					
   
       			<a class="fancy6" href="#" title="'.$list['kl_overzicht_naam'].'">
       				<div class="klanten_image">
       				<img src="'.$urlfoto.$list['image'].'" alt="'.$list['kl_overzicht_naam'].'"/>
   
       				</div>
       			</a>';
       			}		
       ?>		
       			 </div>
   
       		</div>
       	</div>
       </div>	
       ```
   
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [add php with database connection](https://wordpress.org/support/topic/add-php-with-database-connection/)
 *  Thread Starter [jscoolen](https://wordpress.org/support/users/jscoolen/)
 * (@jscoolen)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/add-php-with-database-connection/#post-10038011)
 * SO i have changed the connection, but still the scripts stops after <div class
   =”gal”>
 *     ```
       $mydb = new wpdb('user','123456','database','localhost');
   
       $url = 'https://www.********/clean/';
        $urlfoto = $url.'images/logos/';
   
       	?>
       <div class="klanten_gallery">
       	<div class="container">
       		<div class="klanten_gallery_inn">
               	<div class="klanten_gallery_header">
               	<!--h2>Onze klanten</h2-->
                   <h2><?php the_title(); ?></h2>
                   	<div class="border_photo_klanten"></div>
                   </div>
       			<div class="klanten_gallery_text">
                       <?php
                           if ( have_posts() ) : while ( have_posts() ) : the_post(); 
                               the_content(); 
                           endwhile; endif;
                       ?>
                   </div>
       			<div class="gal">
                   <?php	
       $qry ='
       	SELECT 
       		kl_logos.id,
       		kl_logos.klnr,
       		kl_logos.image,
       		kl_overzicht.kl_overzicht_naam
       	FROM 
       		kl_logos
       	INNER JOIN
       		kl_overzicht
       	ON
       		kl_logos.klnr = kl_overzicht.kl_overzicht_klnr
       	ORDER BY 
       		RAND()
       	LIMIT
       		18';
       if(!$result = $mydb ->query($qry)) {
       	echo ' Error in query: '. $mydb->error; 
       }else while($list = $result->fetch_assoc()){
       	echo'					
   
       			<a class="fancy6" href="#" title="'.$list['kl_overzicht_naam'].'">
       				<div class="klanten_image">
       				<img src="'.$urlfoto.$list['image'].'" alt="'.$list['kl_overzicht_naam'].'"/>
   
       				</div>
       			</a>';
       			}		
       ?>		
       			 </div>
   
       		</div>
       	</div>
       </div>	
       ```
   
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [add php with database connection](https://wordpress.org/support/topic/add-php-with-database-connection/)
 *  Thread Starter [jscoolen](https://wordpress.org/support/users/jscoolen/)
 * (@jscoolen)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/add-php-with-database-connection/#post-10033101)
 * thank you, let’s see if this will work
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Woo commerce with api](https://wordpress.org/support/topic/woo-commerce-with-api/)
 *  Thread Starter [jscoolen](https://wordpress.org/support/users/jscoolen/)
 * (@jscoolen)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/woo-commerce-with-api/#post-10028578)
 * somehow the link is gone, so here it is again:
 * [https://api.current-rms.com/doc](https://api.current-rms.com/doc)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [FAcebook link text](https://wordpress.org/support/topic/facebook-link-text-2/)
 *  Thread Starter [jscoolen](https://wordpress.org/support/users/jscoolen/)
 * (@jscoolen)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/facebook-link-text-2/#post-9566871)
 * Now it works fine, thank you very much!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [FAcebook link text](https://wordpress.org/support/topic/facebook-link-text-2/)
 *  Thread Starter [jscoolen](https://wordpress.org/support/users/jscoolen/)
 * (@jscoolen)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/facebook-link-text-2/#post-9566785)
 * So what Am I doing wrong? I tired to clean my browser and tried to use [https://developers.facebook.com/tools/debug/og/object/](https://developers.facebook.com/tools/debug/og/object/)
 * But still I see this when I want to share a linke on facebook.
 * > [View post on imgur.com](https://imgur.com/ne6r9Zx)

Viewing 13 replies - 1 through 13 (of 13 total)