Forum Replies Created
-
AuthorPosts
-
famarinuMember
I resolved!
famarinuMemberYes it is correct!
I try to add the this code in my function.php:include_once( get_stylesheet_directory() . '/genesis-post-widget.php' ); add_action( 'widgets_init', 'wpsites_custom_widget_init' ); function wpsites_custom_widget_init() { register_widget('Genesis_Post'); }
But not working, gives me a blank page. What I do? My theme is Lifestyle-Pro
famarinuMembersorry, but for change the title of Arichives? In the "code snippets page" I not it find.
Thank you!famarinuMemberYes it work, thank you!
famarinuMemberOk, thank you!
I don't find how can I change the "Filed Under" in the footer post.
Where is the guide?
ThanksfamarinuMemberHi,
I have been following this post to insert google analytics to my website.
if I go to read the source code in the bowser I do not see it.
The theme I use is lifestyle pro.
If I want to add manually I have to use this method:add_action ('genesis_before', 'add_google_analytics_code'); add_google_analytics_code function () { echo '<script> (Function (i, s, o, g, r, a, m) {i ['GoogleAnalyticsObject'] = r i [r] = i [r] || function () { (I [r] .q = i [r] .q || []). Push (arguments)}, the [r] .l = 1 * new Date (); a = s.createElement (o), m = s.getElementsByTagName (or) [0]; a.async = 1; a.src = g; m.parentNode.insertBefore (a, m) }) (Window, document, 'script', 'https: //www.google-analytics.com/analytics.js','ga'); ga ('create', 'xxxxxxxxx', 'car'); ga ('send', 'pageview'); </ Script> '; }
but it give me error, why?
famarinuMemberNo, this change the title_reply.
I want to change the label for="name"famarinuMemberI want change in the "Leave a comment". I want change the label from: Name to Name or nickname and in the Email change in the e-mail
famarinuMemberHi,
What is the submit button ID?
The submit button ID is "submit"Thank you!
famarinuMemberI add this code for add the checkbox and it work.
//***Customize The Comment Form**/ add_filter( 'comment_form_defaults', 'crunchify_custom_comment_form' ); function crunchify_custom_comment_form($fields) { $fields['comment_notes_after'] = '<input name="MMERGE4" type="checkbox" value="Si" required > <span style="font-size:10px"> autorizzo il trattamento dei miei dati personali ai sensi del D.Lgs. n. 196/2003.</span><br> '; return $fields; }
But the comment should not be added if the check box do not selected. How do I do this?
Thank you!famarinuMemberThank you!
famarinuMemberI want to change the order of
<div class="entry-comments" id="comments"> and <div id="respond" class="comment-respond">
How do I that?
Thanks
famarinuMemberI solved the problem. thank you
famarinuMemberI try, but not working.
Aniway, my theme is "Lifestyle pro".
I want people clicked on "Click here to view the comments" to display comments.
For make this I add in the functions.php. This://* add a link add_filter( 'genesis_title_comments', 'sp_genesis_title_comments' ); function sp_genesis_title_comments() { $title = '<a href="#" ID="Leave_a_comment"><h3>Click here to view the comments<h3></a>'; return $title; }
and this after "wp_enqueue_style( 'google-fonts', '//fonts.googleapis.com/css?family=Droid+Sans:400,700|Roboto+Slab:400,300,700', array(), CHILD_THEME_VERSION );":
wp_enqueue_script( '', get_bloginfo( 'stylesheet_directory' ) . '/js/comment.js', array( 'jquery' ), '1.0.0' );
I have create also a comment.js
jQuery(function( $ ){ $(document).ready(function() { $('#Leave_a_comment').click(function() { $('#comment-list').show(); }); }); });
And then I add in style.css this code:
.comment-list { display: none; }
But somethin not working 🙁
-
AuthorPosts