- This topic has 13 replies, 4 voices, and was last updated 9 years, 2 months ago by Sakin.
-
AuthorPosts
-
May 7, 2014 at 1:02 pm #29405philippeMember
Bonjour,
j’aurais voulu savoir comment enlever la date et le nom sur tous les articles ( exemple ci-dessous).
Posté le 04/05/2014 par webmasterOn m’a dit qu’il faut aller sur le dossier single.php ?
J élimine qu elle ligne ?
Merci d avance
PhilippeMay 7, 2014 at 2:11 pm #29413SakinKeymaster@philippe: Yes, if you totally want to remove then you need to build child theme and edit the function. But you can simply hide it by adding the following css in “Appearance => Theme Options => Custom CSS” box.
.entry-meta { display: none; }
May 7, 2014 at 4:01 pm #29423philippeMemberMerci de votre réponse rapide.
Je viens d’essayer, sa ne marche pas !
Je le met ou dans le css de l’option du théme<?php
/**
* The template used for displaying page content in page.php
*
* @package Catch Themes
* @subpackage Catch_Box
* @since Catch Box 1.0
*/
?><article id=”post-<?php the_ID(); ?>” <?php post_class(); ?>>
<header class=”entry-header”>
<h1 class=”entry-title”><?php the_title(); ?></h1>
</header><!– .entry-header –><div class=”entry-content”>
<?php the_content(); ?>
<?php wp_link_pages( array(
‘before’ => ‘<div class=”page-link”><span class=”pages”>’ . __( ‘Pages:’, ‘catchbox’ ) . ‘</span>’,
‘after’ => ‘</div>’,
‘link_before’ => ‘<span>’,
‘link_after’ => ‘</span>’,
) );
?>
</div><!– .entry-content –>
<footer class=”entry-meta”>
<?php edit_post_link( __( ‘Edit’, ‘catchbox’ ), ‘<span class=”edit-link”>’, ‘</span>’ ); ?>
</footer><!– .entry-meta –>
</article><!– #post-<?php the_ID(); ?> –>Voici ci-dessus la copie du css, il me faut mettre votre code ou ?
May 7, 2014 at 4:44 pm #29429SakinKeymaster@philippe: You need to put that CSS in Custom CSS box which you will find it in “Appearance => Theme Options => Custom CSS” box. See this screenshot http://www.pinterest.com/pin/548594798331939237/
May 7, 2014 at 9:48 pm #29460philippeMemberSuper, merci beaucoup c’est ok.
Merci
PhilippeMay 7, 2014 at 9:57 pm #29464January 22, 2015 at 10:43 pm #50352oni45MemberBonjour,
Est-il possible de ne supprimer que la date et l’auteur, mais garder la catégorie?
Is it possible to remove the author and date details but keeping the category details?
Merci
January 23, 2015 at 12:39 am #50367SakinKeymaster@oni45: If you just want to hide Author and dates, then you can add the following css in “Appearance => Theme Options => Custom CSS” box.
.entry-header .entry-meta { display: none; }
February 15, 2015 at 6:21 am #51748omraniMembersalut
j’aurais voulu savoir comment enlever la catégorie sur tous les articles
Exemple:(Posté dans non classé) !
Merci )February 15, 2015 at 10:05 am #51753SakinKeymaster@omrani: You can add the following css in “Appearance => Theme Options => Custom CSS” box:
footer.entry-meta { display: none; }
February 16, 2015 at 3:17 am #51793omraniMember@sakin : j’ai essayé avec votre code css “footer.entry-meta { display: none; }” mais
ça ne marche pas !February 16, 2015 at 12:54 pm #51818February 17, 2015 at 9:43 pm #51883omraniMembersalut !
@sakin je travaille en locale et j’ai mis comme ça ” .entry-meta { display: none; }
footer.entry-meta { display: none; }, mais la catégorie n’est pas disparait , estce que je peux modifier l’un des fichiers .php pour faire ça ?? merci )February 18, 2015 at 12:44 am #51893 -
AuthorPosts
- The topic ‘Enlever la date et le nom sur les articles’ is closed to new replies.