Forum Replies Created

Viewing 40 posts - 1 through 40 (of 289 total)
  • Author
  • in reply to: Bug with companypage #183203
     wilfriedMarseille
    Participant

    Is not resolved but i don’t use it actually …

    If you love Ableton check my blog :
    www.zikrea.com

    in reply to: Problem with some import demo data in local #183009
     wilfriedMarseille
    Participant

    Hello,
    I make that’s

    Connect to your server by FTPLook in root directory of your WordPress install
    and open wp-config.phpSearch for define( ‘WP_DEBUG’, false ); and change FALSE value to TRUE
    After this line add this:
    COPY CODE
    define( ‘WP_DEBUG_LOG’, true );

    But i’m in localhost, so i don’t use FTP server.
    And when i check for debug.log i don’t find it ….

    If you love Ableton check my blog :
    www.zikrea.com

    in reply to: Remake installation #182997
     wilfriedMarseille
    Participant

    Hello,
    I’m working on a new version in Local, and I will need a checking before than i put it online.

    If you love Ableton check my blog :
    www.zikrea.com

    in reply to: Question About Re install and MultiSite #168742
     wilfriedMarseille
    Participant
    This reply has been set as private.
    in reply to: Question About Re install and MultiSite #168628
     wilfriedMarseille
    Participant

    Hello,
    So i make multisite intstallation.

    But i got some problem.
    First i can’t update Kleo.
    When i click on update from the BackOffice
    I got a erro message who say :
    The download don’t work because URL is not good ( approximative translatio ^^)
    And when i go on my homePage i don’t get my Revolution Slider but some Shortcode.

    If you love Ableton check my blog :
    www.zikrea.com

    in reply to: Question About Re install and MultiSite #165507
     wilfriedMarseille
    Participant

    Okay thanks you.
    And Coould I uninstll Kelo and re install it.
    Cause i make a lot of mistke and i would like remake my WebSite

    If you love Ableton check my blog :
    www.zikrea.com

    in reply to: Bug with ACF #162848
     wilfriedMarseille
    Participant
    This reply has been set as private.
    in reply to: Bug with ACF #162559
     wilfriedMarseille
    Participant

    line 149 to see the ACF Form

    COPY CODE
    <?php
    /**
     * The Template for displaying all single posts
     *
     * @package WordPress
     * @subpackage Kleo
     * @since Kleo 1.0
     */
     acf_form_head(); ?>
    <?php get_header(); ?>
    
    <?php
    //Specific class for post listing */
    if ( kleo_postmeta_enabled() ) {
    	$meta_status = ' with-meta';
    	if ( sq_option( 'blog_single_meta', 'left' ) == 'inline' ) {
    		$meta_status .= ' inline-meta';
    	}
    	add_filter( 'kleo_main_template_classes', create_function( '$cls','$cls .= "' . $meta_status . '"; return $cls;' ) );
    }
    
    /* Related posts logic */
    $related = sq_option( 'related_posts', 1 );
    if ( ! is_singular('post') ) {
        $related = sq_option( 'related_custom_posts', 0 );
    }
    //post setting
    if(get_cfield( 'related_posts') != '' ) {
    	$related = get_cfield( 'related_posts' );
    }
    ?>
    
    <?php get_template_part( 'page-parts/general-title-section' ); ?>
    
    <?php get_template_part( 'page-parts/general-before-wrap' );?>
    
    <?php /* Start the Loop */ ?>
    <?php while ( have_posts() ) : the_post(); ?>
    
    <div class="row">
      	<div class="col-md-3"><?php the_post_thumbnail('medium'); ?></div>
      	<div class="col-md-3">
    	  	<h1 class="H1withoutTopMargin" style="
    	    margin-top: 0px;"><?php the_field( 'acfArtistes_nomArtiste' ); ?></h1>
    	    <div class="social">
    			<ul class="menu simple rdo-social">
    				<?php if( get_field('acfArtistes_facebook') ): ?>
    					<li><a href="<?php echo the_field('acfArtistes_facebook'); ?>"><i class="gplus"></i></a></li>
    				<?php endif; ?>
    				<?php if( get_field('twitter') ): ?>
    					<li><a href="<?php echo the_field('twitter'); ?>"><i class="fa fa-twitter"></i></a></li>
    				<?php endif; ?>
    				<?php if( get_field('linkedin') ): ?>
    					<li><a href="<?php echo the_field('linkedin'); ?>"><i class="fa fa-linkedin"></i></a></li>
    				<?php endif; ?>
    				<?php if( get_field('instagram') ): ?>
    				        <li><a href="<?php echo the_field('instagram'); ?>"><i class="fa fa-instagram"></i></a></li>
    				<?php endif; ?>
    				<?php if( get_field('github') ): ?>
    					<li><a href="<?php echo the_field('github'); ?>"><i class="fa fa-github"></i></a></li>
    				<?php endif; ?>
    				<?php if( get_field('dribbble') ): ?>
    					<li><a href="<?php echo the_field('dribbble'); ?>"><i class="fa fa-dribbble"></i></a></li>
    				<?php endif; ?>
    				<?php if( get_field('behance') ): ?>
    					<li><a href="<?php echo the_field('behance'); ?>"><i class="fa fa-behance"></i></a></li>
    				<?php endif; ?>
    			</ul>
    		</div>
    		<div>	
    			<section class=activityArtiste>
    				<p>Activité : 
    				<?php // acfArtistes_Activity
    				$field = get_field_object( 'acfArtistes_Activity' );
    				$value = $field['value'];
    				$choices = $field['choices'];
    				if ( $value ):
    					foreach ( $value as $v ):
    						echo $choices[ $v ];
    					endforeach;
    				endif; ?>	
    			</section>
    			<section class='pays'>
    				<?php //Fonction Uppercase premier lettre : http://php.net/manual/fr/function.ucfirst.php
    				$country = get_field('pays');
    				$country = ucfirst($country); ?>
    				<p>Pays : <?php echo $country; ?></p>
    			</section>
    			<section class="birthdayArtiste">
    				<!-- https://www.gregoirenoyelle.com/acf-creer-une-date-intertionalisable/ -->
    				<?php
    				$date_d = get_field('acfArtistes_Birthday');
    
    				// Extraire Y,M,D
    				$Y = substr($date_d, 0, 4);
    				$M = substr($date_d, 4, 2);
    				$d = substr($date_d, 6, 2);
    
    				// Créer le format UNIX
    				$time_d = strtotime("{$d}-{$M}-{$Y}");
    				?>
    				<p>Né le : <?php echo date('d', $time_d); ?> <?php echo date_i18n('M', $time_d); ?> <?php echo date('Y', $time_d); ?>
    				</p> 	
    			</section>
    		</div>
        </div>
      	<div class="col-md-3">
      		<h1 class="H1withoutTopMargin">Label</h1>
    		<?php
    			$posts = get_field('acfArtistes_label');
    
    			if($posts): 
    		?>
    		<section class="LabelsListe">
    			<ul>
    				<?php 
    					foreach( $posts as $post): // ne pas changer $post IMPORTANT
    						setup_postdata($post); 
    				?>
    
    				<li>
    					<?php the_post_thumbnail( array(80, 80) ); ; //https://developer.wordpress.org/reference/functions/the_post_thumbnail/?>
    					<a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
    				</li>
    
    				<?php endforeach; ?>
    			</ul>
    		</section>
    
    <?php 
    		wp_reset_postdata(); // IMPORTANT - réinitialiser l'objet $post sur la requête principale
    	endif; 
    ?>
      	</div>
    </div>
    
    	<div class="col-md-6 col-sm-12 backOrange">dddd</div>
    	<div class="col-md-6 col-sm-12 backGreen">ddd</div>
    </div>
    
    <div>
    	<p>My custom field: <?php the_field('acfArtistes_Birthday'); ?></p>						
        <?php get_template_part( 'content', get_post_format() ); ?>
    </div>
    <?php acf_form(); ?>
    
            <!-- Begin Comments -->
            <div class="aligncenter">
    			<h4 class="titleComments">Une question, une remarque, un avis ?</h4>
    			<h4>Laissez nous un commentaire.</h4>
    		</div>
        <?php
    	if ( comments_open() || get_comments_number() ) {
    		comments_template( '', true );
    	}
    	?>
        <!-- End Comments -->
    
    		<?php get_template_part( 'page-parts/posts-social-share' ); ?>
    
    		<?php 
    		if( $related == 1 ) {
    			get_template_part( 'page-parts/posts-related' );
    		}
    		?>
    
    		<?php
            if ( sq_option( 'post_navigation', 1 ) == 1 ) :
                // Previous/next post navigation.
                kleo_post_nav();
            endif;
    		?>
    
    <?php endwhile; ?>
    
    <?php get_template_part('page-parts/general-after-wrap');?>
    
    <?php get_footer(); ?>
    
    

    If you love Ableton check my blog :
    www.zikrea.com

    in reply to: Bad Rediriction n BuddyPress #160728
     wilfriedMarseille
    Participant

    Is okay I finf the code for this problem.
    I share you it soon thanks.

    If you love Ableton check my blog :
    www.zikrea.com

    in reply to: Do you use FrameWork CSS #160381
     wilfriedMarseille
    Participant

    Okay is boostrap…. -_-

    If you love Ableton check my blog :
    www.zikrea.com

    in reply to: Do you use FrameWork CSS #160350
     wilfriedMarseille
    Participant

    So if you can give me a code like

    COPY CODE
    <div class="global_contain-3col">
    	<div class="col1">Contain Lorem impusub H1 and blabla</div>
    	<div class="col2">Contain Lorem impusub H1 and blabla</div>
    	<div class="col3">Contain Lorem impusub H1 and blabla</div>
    </div>

    thanks you

    If you love Ableton check my blog :
    www.zikrea.com

    in reply to: CSS problem #159624
     wilfriedMarseille
    Participant

    yes sorry …

    If you love Ableton check my blog :
    www.zikrea.com

    in reply to: Need inforaton about Ho EGSTER Page #159622
     wilfriedMarseille
    Participant

    Is Good Thnaks 😀

    If you love Ableton check my blog :
    www.zikrea.com

    in reply to: Display Thumbnail in post #159002
     wilfriedMarseille
    Participant

    So i put the_post_thumbnail(‘medium’) and i got a simple thumbnail
    But If i want a thumbnail like the KLEO POST > Grid Format.

    Which code i have to put to replace the_post_thumbnail(‘medium’)

    Thanks

    If you love Ableton check my blog :
    www.zikrea.com

    in reply to: Display Thumbnail in post #158919
     wilfriedMarseille
    Participant

    Thanks.
    And I remember on Kleo Demo.
    Thann you make a video thumbnails.
    I have to put a video file in the featred image to get that ?
    And is possible with a Youtube Link ?

    If you love Ableton check my blog :
    www.zikrea.com

    in reply to: Need inforaton about Ho EGSTER Page #158295
     wilfriedMarseille
    Participant

    Hello,
    WP Admin – Loco Translate – After i choose theme or plugin.

    But wich plugin i have to translate for the KLEO REGISTER (element from visual composer) present in the Home Register Demo Page

    If you love Ableton check my blog :
    www.zikrea.com

    in reply to: bp-custom.php or buddypress-function.php #158148
     wilfriedMarseille
    Participant

    So i find the code to add a menu item in the buddypress nav

    COPY CODE
    function custom_setup_nav() {
      global $bp;
    
      bp_core_new_nav_item( array( 
            'name' => __( 'Mes fichiers', 'buddypress' ), 
            'slug' => 'my-files', //domain.com/members/name/'SLUG' 
            'position' => 30, 
            'screen_function' => 'my-files_page'
      ) );
    }

    and for the redirection page i use this code in function php. but is not working i got a 404 error 🙁

    COPY CODE
    add_action( 'bp_setup_nav', 'custom_setup_nav' );
    
    function about_page() {
       add_action( 'bp_template_title', 'my-files_page_screen_title' );
       add_action( 'bp_template_content', 'my-files_page_show_screen_content' );
       bp_core_load_template( apply_filters( 'bp_core_template_plugin', 'members/single/plugins' ) );
    }
    
    function about_page_show_screen_title() {
        echo 'About Page';
    }
    
    function about_page_show_screen_content() {
       echo  '<h1>helloyou</h1>';
    }

    If you love Ableton check my blog :
    www.zikrea.com

    in reply to: Display a page like archive.php #158147
     wilfriedMarseille
    Participant

    Hello

    The idea is not make a shortcode.

    Is use shortcode in Custom Post Type.
    For example if i want use [KLEO_SOCIAL_ICONS] in my custom post.

    But i don’t know how activate shortcode for custom post type.

    Thanks you

    If you love Ableton check my blog :
    www.zikrea.com

    in reply to: Display Thumbnail in post #158146
     wilfriedMarseille
    Participant

    So i find how display thumbnails.

    But if i want a masonry list or a postgrid.
    What is the way ?

    This is my actually code ` <!– Afficher Les liens utiles [ACF Relation] –>
    <section>
    <h3 class=”aligncenter”>Liens utiles</h3>
    <?php $ACF_telechargement_liens = get_field( ‘ACF_telechargement_liens’ ); ?>
    <?php if ( $ACF_telechargement_liens ): ?>
    <?php foreach ( $ACF_telechargement_liens as $post ): ?>
    <?php setup_postdata ($post); ?>
    <a class=”aligncenter”href=”<?php the_permalink(); ?>”><?php the_post_thumbnail(‘medium’); ?></br><?php the_title(); ?></a>
    <?php endforeach; ?>
    <?php wp_reset_postdata(); ?>
    <?php endif; ?>
    </section>`

    Thanks you

    If you love Ableton check my blog :
    www.zikrea.com

    in reply to: How make css for custom post type #158120
     wilfriedMarseille
    Participant

    Sorry it was my cache now the white color is took 🙂 …

    If you love Ableton check my blog :
    www.zikrea.com

    in reply to: How make css for custom post type #158114
     wilfriedMarseille
    Participant

    Re Hello sorry i got a CSS probleme i make a button link
    i don’t know why my button text don’t want take the color.
    Normaly my text is whhite, but CSS stay with a blue text.
    This is my code

    COPY CODE
    /*CPT Telechargement*/
    .btn_telechargement {
      background: #00A3DE;
      background-image: -webkit-linear-gradient(top, #00A3DE, #007ea8);
      background-image: -moz-linear-gradient(top, #00A3DE, #007ea8);
      background-image: -ms-linear-gradient(top, #00A3DE, #007ea8);
      background-image: -o-linear-gradient(top, #00A3DE, #007ea8);
      background-image: linear-gradient(to bottom, #00A3DE, #007ea8);
      -webkit-border-radius: 28;
      -moz-border-radius: 28;
      border-radius: 28px;
      color: white !important;
      font-size: 20px;
      padding: 10px 20px 10px 20px;
      text-decoration: none;
    }
    
    .btn_telechargement:hover {
      background: #00b8f5;
      background-image: -webkit-linear-gradient(top, #00b8f5, #007ea8);
      background-image: -moz-linear-gradient(top, #00b8f5, #007ea8);
      background-image: -ms-linear-gradient(top, #00b8f5, #007ea8);
      background-image: -o-linear-gradient(top, #00b8f5, #007ea8);
      background-image: linear-gradient(to bottom, #00b8f5, #007ea8);
      text-decoration: none;
    }

    And the color stay blue
    I check with my webnavigator the problem is main.a

    I put !important in my white color but the main a color keep …
    And I don’t find the attribute to reduce my button width.

    You can check the page here :

  • http://www.zikrea.com/telechargements/exemple/
  • If you love Ableton check my blog :
    www.zikrea.com

in reply to: How make css for custom post type #158112
 wilfriedMarseille
Participant

Sorry it was an error from me … :/

If you love Ableton check my blog :
www.zikrea.com

in reply to: Display a page like archive.php #158082
 wilfriedMarseille
Participant

Yes you understand thanks.

And if for example i want to put a revolution slider shortcode.
Where can i found the conditional code ?

If you love Ableton check my blog :
www.zikrea.com

in reply to: bp-custom.php or buddypress-function.php #158080
 wilfriedMarseille
Participant
This reply has been set as private.
in reply to: bp-custom.php or buddypress-function.php #158076
 wilfriedMarseille
Participant

Hello,

The objective is reorganise my menu item order and add new item.

With this way I make a new menu in my WP/Dashboard.
where i can organise the BuddyPress Main nav in front end ( Activity, Prfile, Friends …. )
(But my code is not working … )

The idea is make an item name “bplink” in the buddypress main nav.
And edit the template to this menu part.

If you love Ableton check my blog :
www.zikrea.com

in reply to: bp-custom.php or buddypress-function.php #157897
 wilfriedMarseille
Participant

I make this code in kleochild/buddypress/buddypress-function.php
and a seconde time in : kleochild/buddypress/bp-custom.php

COPY CODE
<?php

//On ajoute cet emplacement à la navigation de BP en passant par le fichier bp-custom.php

function my_buddylinks_menu() {
 
if( is_user_logged_in() ) :
 
    if ( has_nav_menu( 'bplink' ) ) {
        wp_nav_menu(array( 
            'theme_location'    => 'bplink',  
            'items_wrap'        =>'%3$s',        
            'container_class' => 'link-dropdown'
         ) );
    } 
 
endif;
 
}
add_action( 'bp_member_options_nav', 'my_buddylinks_menu' );
add_action( 'bp_group_options_nav', 'my_buddylinks_menu' );

?>

And this code in function.php to add a menu name bplink in the dashboard/apparence/menu where i put a custom URL with # to make my new menu item in BuddyPress

COPY CODE
/*Personaliser le menu BuddyPress Le nouvel emplacement de menu se nomme bplink http://snippetbarn.bp-fr.net/ajouter-un-menu-personnalise-a-la-buddybar/  */
function register_my_menu() {
  register_nav_menu( 'bplink', 'bplink' );
}
add_action( 'after_setup_theme', 'register_my_menu' );
?>

But the new tem doesn’t come.

Do you know why ?

If you love Ableton check my blog :
www.zikrea.com

in reply to: Subscribe to download #157878
 wilfriedMarseille
Participant

Thanks !!

And if I want put it for a post, or a post category is it possible ?

And if I want put it in juste a content like a download link.
When User click on downoad he get a pop up with you have to be subscribe. Or Subscribe to this mailchimp list.
Is it possible to do that in a Custom post Type post ?

If you love Ableton check my blog :
www.zikrea.com

 wilfriedMarseille
Participant

Hello,

IS a function.php to add a new item tab item in the BuddyPress User Nav.
when i click on this part i go on :
http://www.zikrea.com/membres/wilfried/my-slug-name

So i need to edit a page my-slug-name with the URL http://www.zikrea.com/membres/wilfried/my-slug-name.

But i don’t know how do that.
( I have to make a page in my Dashboard, and change the URL directly form the dashbaord. )

Or I have to copy paste a file like page.php put it in my child theme and rename it : page-myslug-name.php and edit it. ?

Or maybe i have to put buddypress.php in my child theme and rename it buddypress/my-slug-name ?

If you love Ableton check my blog :
www.zikrea.com

in reply to: Display a page like archive.php #157630
 wilfriedMarseille
Participant

I make that cause i don’t find solution to put shortcode in a custom post type.
So i remake in page to insert shortcode.

But if you got a function to put shortcode in a custom post type is good too

If you love Ableton check my blog :
www.zikrea.com

in reply to: Wich XML Demo conent have o import to get this demo #157566
 wilfriedMarseille
Participant

So i import Manually and duplicate.

If you get a tips to delete all kleo import than i don’t need now is good.

thanks

If you love Ableton check my blog :
www.zikrea.com

 wilfriedMarseille
Participant

Sorry
My Keyboard was in bug…
So I make a function to do that :

COPY CODE
<?php 
add_action( 'bp_setup_nav', 'test_board', 100 );

function test_board() {
    global $bp;

    bp_core_new_nav_item( array(
        'name' => 'Tutoriel',
        'slug' => 'buddy-tutorial',
        'screen_function' => 'bpis_profile',
        'position' => 10
        )
    );
}

function bpis_profile () {
    echo do_shortcode('[bpis_tags]');
    echo do_shortcode('[bpis_images]');
}
?>

But I don’t know the file than i have to copy/paste in my childtheme and how i have to rename it to edit my pages.

If you love Ableton check my blog :
www.zikrea.com

in reply to: Essential Grids and sidebar #157123
 wilfriedMarseille
Participant

I didn’t try …

If you love Ableton check my blog :
www.zikrea.com

in reply to: how make a single-my-slug-name.php #157051
 wilfriedMarseille
Participant

Yes 🙂

If you love Ableton check my blog :
www.zikrea.com

in reply to: How select an id from an array #156978
 wilfriedMarseille
Participant

And this is the code of the single-page-slug.php

COPY CODE
<?php
/**
 * The Template for displaying all single posts
 *
 * @package WordPress
 * @subpackage Kleo
 * @since Kleo 1.0
 */

get_header(); ?>

<?php
//Specific class for post listing */
if ( kleo_postmeta_enabled() ) {
	$meta_status = ' with-meta';
	if ( sq_option( 'blog_single_meta', 'left' ) == 'inline' ) {
		$meta_status .= ' inline-meta';
	}
	add_filter( 'kleo_main_template_classes', create_function( '$cls','$cls .= "' . $meta_status . '"; return $cls;' ) );
}

/* Related posts logic */
$related = sq_option( 'related_posts', 1 );
if ( ! is_singular('post') ) {
    $related = sq_option( 'related_custom_posts', 0 );
}
//post setting
if(get_cfield( 'related_posts') != '' ) {
	$related = get_cfield( 'related_posts' );
}
?>

<?php get_template_part( 'page-parts/general-title-section' ); ?>

<?php get_template_part( 'page-parts/general-before-wrap' );?>

<?php /* Start the Loop */ ?>
<?php while ( have_posts() ) : the_post(); ?>

    <?php get_template_part( 'content', get_post_format() ); ?>

        <!-- Begin Disposition -->
    	<div class ="aligncenter">
								<!-- Les champs à afficher -->
			<!-- Les champs ACF Texte -->
    		<h1><?php the_field('telechargement_serie', $term);?></br><?php the_field('ACF_telechargement_nom', $term); ?></h1>
    		<?php the_field('lien_youtube', $term)?>
	    		
	    		<?php //Afficher auteur Name
				$ACF_telechargement_auteur = get_field('telechargement_auteur');
				if( !empty($ACF_telechargement_auteur) ): ?>
			<?php echo $ACF_telechargement_auteur[5]; ?>
				<?php endif; ?>
				<?php the_field('telechargement_auteur', $term); ?>
<?php

$author_id = get_the_author_meta('ID');
$author_badge = get_field('author_badge', 'user_'. $author_id );

?>
<img src="<?php echo $author_badge['url']; ?>" alt="<?php echo $author_badge['alt']; ?>" />
    	</div>

        <!-- Begin Comments -->
        <div class="aligncenter">

			<h4 class="titleComments">Une question, une remarque, 3avis ?</h4>
			<h4>Laissez nous un commentaire.</h4>
		</div>
    <?php
	if ( comments_open() || get_comments_number() ) {
		comments_template( '', true );
	}
	?>
    <!-- End Comments -->

		<?php get_template_part( 'page-parts/posts-social-share' ); ?>

		<?php 
		if( $related == 1 ) {
			get_template_part( 'page-parts/posts-related' );
		}
		?>

		<?php
        if ( sq_option( 'post_navigation', 1 ) == 1 ) :
            // Previous/next post navigation.
            kleo_post_nav();
        endif;
		?>

<?php endwhile; ?>

<?php get_template_part('page-parts/general-after-wrap');?>

<?php get_footer(); ?>

If you love Ableton check my blog :
www.zikrea.com

in reply to: how make a single-my-slug-name.php #156975
 wilfriedMarseille
Participant

Hi,

So it’s okay now 🙂

Thanks you

If you love Ableton check my blog :
www.zikrea.com

in reply to: Essential Grids and sidebar #156941
 wilfriedMarseille
Participant

It’s okay i will be back later.

If you love Ableton check my blog :
www.zikrea.com

in reply to: how make a single-my-slug-name.php #156927
 wilfriedMarseille
Participant

So I let you my single-telechargement.php code :

So
I got actually 2 problem
code to sho URL youtube doesn’t go but i got the block, the URL in the inspector.
But no the screen to see the video import from youtube.
this the code :

COPY CODE
    		<div>
    			<iframe width="560" height="315" src=<?php the_field('lien_youtube', $term); ?> frameborder="0" allowfullscreen></iframe>
    		</div>

And Always the same problem say before with the taxanomies ….

So i let you a link to see the Pages.
And i let you the script of my single-telechargement.php

  • http://www.zikrea.com/telechargements/exemple/
  • COPY CODE
    <?php
    /**
     * The Template for displaying all single posts
     *
     * @package WordPress
     * @subpackage Kleo
     * @since Kleo 1.0
     */
    
    get_header(); ?>
    
    <?php
    //Specific class for post listing */
    if ( kleo_postmeta_enabled() ) {
    	$meta_status = ' with-meta';
    	if ( sq_option( 'blog_single_meta', 'left' ) == 'inline' ) {
    		$meta_status .= ' inline-meta';
    	}
    	add_filter( 'kleo_main_template_classes', create_function( '$cls','$cls .= "' . $meta_status . '"; return $cls;' ) );
    }
    
    /* Related posts logic */
    $related = sq_option( 'related_posts', 1 );
    if ( ! is_singular('post') ) {
        $related = sq_option( 'related_custom_posts', 0 );
    }
    //post setting
    if(get_cfield( 'related_posts') != '' ) {
    	$related = get_cfield( 'related_posts' );
    }
    ?>
    
    <?php get_template_part( 'page-parts/general-title-section' ); ?>
    
    <?php get_template_part( 'page-parts/general-before-wrap' );?>
    
    <?php /* Start the Loop */ ?>
    <?php while ( have_posts() ) : the_post(); ?>
    
        <?php get_template_part( 'content', get_post_format() ); ?>
    
            <!-- Begin Disposition -->
        	<div class ="aligncenter">
    
        		<h1><?php the_field('telechargement_titre', $term); ?></h1>
        		<p><?php the_field('telechargements_description', $term); ?></p>
        		<div>
        			<iframe width="560" height="315" src=<?php the_field('lien_youtube', $term); ?> frameborder="0" allowfullscreen></iframe>
        		</div>
        		<!-- Les champs à afficher -->
    				<?php //Afficher l'image
    				$image = get_field('image');
    				if( !empty($image) ): ?>
    				<img src="<?php echo $image['url']; ?>" alt="<?php echo $image['alt']; ?>" />
    				<?php endif; ?> 
        	</div>
    
            <!-- Begin Comments -->
            <div class="aligncenter">
    
    			<h4 class="titleComments">Une question, une remarque, 3avis ?</h4>
    			<h4>Laissez nous un commentaire.</h4>
    		</div>
        <?php
    	if ( comments_open() || get_comments_number() ) {
    		comments_template( '', true );
    	}
    	?>
        <!-- End Comments -->
    
    		<?php get_template_part( 'page-parts/posts-social-share' ); ?>
    
    		<?php 
    		if( $related == 1 ) {
    			get_template_part( 'page-parts/posts-related' );
    		}
    		?>
    
    		<?php
            if ( sq_option( 'post_navigation', 1 ) == 1 ) :
                // Previous/next post navigation.
                kleo_post_nav();
            endif;
    		?>
    
    <?php endwhile; ?>
    
    <?php get_template_part('page-parts/general-after-wrap');?>
    
    <?php get_footer(); ?>

    If you love Ableton check my blog :
    www.zikrea.com

    in reply to: how make a single-my-slug-name.php #156919
     wilfriedMarseille
    Participant

    And if yes i don’t find the category.php

    Wich files i have to copy in my kleo child theme ?

    If you love Ableton check my blog :
    www.zikrea.com

    in reply to: how make a single-my-slug-name.php #156915
     wilfriedMarseille
    Participant

    May be is because that :

    ( check the pic )

    You can see all the pages here

    If you love Ableton check my blog :
    www.zikrea.com

    Attachments:
    You must be logged in to view attached files.
    in reply to: how make a single-my-slug-name.php #156914
     wilfriedMarseille
    Participant

    So it’s Okay
    I found the good code

    For example
    “<p><?php the_field(‘lien_youtube’, $term); ?></p>”

    But i don’t get the code to do that with a ACF from a taxonomie.

    If i put that i got a 404 error page

    If you love Ableton check my blog :
    www.zikrea.com

    Viewing 40 posts - 1 through 40 (of 289 total)

    Log in with your credentials

    Forgot your details?