Issue with a custompress field with fieldtype Radio Buttons

if i want to use or display the custom field with this fonction :
do_shortcode('[ct id="_ct_radio_53aad878f34c0" property="value"]')

i have this error message :

Warning: implode() [function.implode]: Invalid arguments passed in /home/laissacu/www/les-vans-laissac/wp-content/plugins/custompress/core/content-types.php on line 470
etat: ?>

Thanks for your help

  • visualapproch

    For example this code don't works

    			//quelle est la catégorie appelée
    			if(get_the_ID() == 26) { //camions chevaux neufs
    				$post_type_valeur = 'camion_chevaux';
    			elseif (get_the_ID() == 27){//Camions chevaux occasion
    				$post_type_valeur = 'camion_chevaux';
    			//utiliser une requete WP_query pour la pagination
    			$paged = ( get_query_var( 'paged' ) ) ? get_query_var( 'paged' ) : 1;
    			//arguments requete
    			$args = array(
    				'posts_per_page'=> 15,//pagination
    				'order'     => 'DESC',
    				'post_type' => $post_type_valeur,
    				//'meta_key' =>'_ct_text_53aad8206e159',
    				//'meta_value' => 'Stalle'
    			// The Query
    			$the_query = new WP_Query( $args );
    			// The Loop
    			if ( $the_query->have_posts() ) :
    				//if(have_posts()) :
    					$paged = ( get_query_var( 'paged' ) ) ? get_query_var( 'paged' ) : 1;
    					while($the_query->have_posts()) : $the_query->the_post(); 	
                        <!-- zr -->
                        <article class="blog_post row">
                          <div class="eleven columns alpha content-liste-fiche">
                                <div class="four columns alpha liste-fiche-vignette">
                              <img src="" width="100%"  /></div>
                                <div class="six columns omega liste-fiche-texte">
                                	<h2 class="h4 marge-haut-sans-rythme marge-bas-0">                          
                                    <a href="<?php the_permalink()?>" title="<?php the_title(); ?>" ><?php the_title(); ?></a>				
                                     <!-- HERE -->
    								 <?php echo do_shortcode('[ct id="_ct_radio_53aad878f34c0" property="value"]'); ?>
     								<!-- HERE -->
                                	<?php   //echo '<p class="liste-fiche-modele">'.get_the_content().'</p>'; ?>
                                    <?php echo '<p class="liste-fiche-modele">'.do_shortcode('[ct id="_ct_text_53aad8206e159" property="value"]').'</p>'; ?>
                                    <?php echo '<a href="'.get_the_permalink().'" title="'.get_the_title().'" class="liste-fiche-detail">Détails<span></span></a>';?>
                            <!-- blog_post -->
                       <!-- /zr -->
                <?php endwhile;
    					if (function_exists("pressPagination")) {
  • Jack Kitterhing

    Hi there @visualapproch,

    Hope you're well today and thanks for the additional information.

    This should be working, can you send me through the following to take a closer look at this for you.

    - In the subject field add "Attn: Jack Kitterhing"
    - Link back to this thread
    - Include admin/network access
    - Include FTP
    - Include any relevant URLS for your site

    On the contact form, select "I have a different question", this ensures it comes through and gets assigned to me.

    Thank you!

    Kind Regards

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.