vbdeco
Forum Replies Created
-
Forum: Plugins
In reply to: [WP-PostRatings] Widget for WP-PostRatingsI found the solution !
I’m affraid it’s not a widget that display these options. In fact it’s Nisarg theme that do that.
Bonsoir Jeremy,
J’ai retiré l’adresse et j’ai sauvegardé : c’est pareil -> toujours le texte rouge.
J’ai supprimé le widget et je l’ai remis. Le texte en rouge n’y est plus. Mais si je rajoute n’importe quelle adresse, il ré-apparait. Mais je n’ai toujours pas de bouton pour afficher la carte.Je n’ai pas de plugin pour ajouter ce widget. Il est avec Jetpack, non ? Si je désactive Jetpack (Extra Widgets) ?
Alors j’ai désactivé Extra Widget et je l’ai ré-activé : toujours pas de bouton pour faire afficher la carte.
Le thème utilisé c’est Nisarg (https://fr.ww.wp.xz.cn/themes/nisarg/)
Merci
Hi Jeremy,
This is my Jetpack version : Version 4.7
This is how it display :

- This reply was modified 9 years, 3 months ago by vbdeco.
Forum: Themes and Templates
In reply to: [Nisarg] Add Post ratingsCode for single.php :
<?php /** * The template for displaying all single posts. * * @package Nisarg */ get_header(); ?> <div class="container"> <div class="row"> <div id="primary" class="col-md-9 content-area"> <main id="main" role="main"> <?php while ( have_posts() ) : the_post(); ?> <?php get_template_part( 'template-parts/content',get_post_format()); ?> </main><!-- #main --> <div class="post-navigation"> <?php nisarg_post_navigation(); ?> </div> <div class="post-comments"> <?php // If comments are open or we have at least one comment, load up the comment template. if ( comments_open() || get_comments_number() ) : comments_template(); endif; if(!comments_open()) _e('Comments are closed.','nisarg'); ?> </div> <?php endwhile; // End of the loop. ?> </div><!-- #primary --> <?php get_sidebar('sidebar-1'); ?> </div> <!--.row--> </div><!--.container--> <?php get_footer(); ?>Code for template-parts/content.php
<?php /** * Template part for displaying posts. * * @package Nisarg */ ?> <article id="post-<?php the_ID(); ?>" <?php post_class('post-content'); ?>> <?php if ( is_sticky() && is_home() && ! is_paged() ) { printf( '<span class="sticky-post">%s</span>', __( 'Featured', 'nisarg' ) ); } ?> <?php nisarg_featured_image_disaplay(); ?> <header class="entry-header"> <span class="screen-reader-text"><?php the_title();?></span> <?php if ( is_single() ) : ?> <h1 class="entry-title"><?php the_title(); ?></h1> <?php else : ?> <h2 class="entry-title"> <a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a> </h2> <?php endif; // is_single() ?> <?php if ( 'post' == get_post_type() ) : ?> <div class="entry-meta"> <h5 class="entry-date"><?php nisarg_posted_on(); ?></h5> </div><!-- .entry-meta --> <?php endif; ?> </header><!-- .entry-header --> <div class="entry-content"> <?php the_content('...<p class="read-more"><a class="btn btn-default" href="'. esc_url(get_permalink( get_the_ID() )) . '">' . __(' Read More', 'nisarg') . '<span class="screen-reader-text"> '. __(' Read More', 'nisarg').'</span></a></p>'); ?> <?php wp_link_pages( array( 'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'nisarg' ), 'after' => '</div>', ) ); ?> </div><!-- .entry-content --> <footer class="entry-footer"> <?php nisarg_entry_footer(); ?> </footer><!-- .entry-footer --> </article><!-- #post-## -->Forum: Themes and Templates
In reply to: [Nisarg] Add Post ratingsThank you.
So there are :
template-parts/content.php
and single.php.Problems : when i add code in these files, “rating stars” are out row :

I need stars after “escapades”. It is not first time i used this pluggin, but it’s the first time i can’t use it with Niasarg theme.
- This reply was modified 9 years, 3 months ago by vbdeco.
Forum: Themes and Templates
In reply to: [Nisarg] Add Post ratingsDon’t you know ?
Forum: Themes and Templates
In reply to: [Nisarg] Add Post ratingsBut in which PHP file ?
- This reply was modified 9 years, 3 months ago by vbdeco.
Forum: Themes and Templates
In reply to: [Nisarg] Add Post ratingsHi,
No i want to display rathing just before the comments.Forum: Plugins
In reply to: [Social Buttons Pack by BestWebSoft] Add a text before “Facebook Like Button”Hi,
I can’t delete <?php the_content(); ?>. As you can see in my screen capture, this code is grey (like “/*Start your code…”).
Is it why i asked you where i could directly delete it (in which file).
Hope you will understand my bad english.
Regards.
Forum: Plugins
In reply to: [Social Buttons Pack by BestWebSoft] Add a text before “Facebook Like Button”Hi again,
I don’t know why, but on another website, i’ve got a <?php the_content(); ?> on the top of the code. Where could i delete it ?

- This reply was modified 9 years, 6 months ago by vbdeco.
Forum: Plugins
In reply to: [Social Buttons Pack by BestWebSoft] Add a text before “Facebook Like Button”Is it possible to add this class to your code ?
<h3 class="sd-title"></h3>If yes, could you tell me where ?
- This reply was modified 9 years, 6 months ago by vbdeco.
Forum: Plugins
In reply to: [Social Buttons Pack by BestWebSoft] Add a text before “Facebook Like Button”Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] Similars articlesBonjour Jérémy,
J’ai testé ce code, mais par contre il applique le filtre à toutes les images de tous les posts, y compris celles de l’article.
Or moi je ne souhaite que recadrer les images de la rubrique “articles similaires” proposés en bas, à la fin de l’article (Sur le même thème).
Merci.
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] Similars articlesMerci.