• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WP SITES

2665

Original Genesis Tutorials & 5000+ Guaranteed Code

Snippets

  • Support
  • Newsletter
  • Videos
  • Log in

Premium Member? - Request custom code

Load Comments On Click In Genesis

This code enables you to pre load any number of comments and then load more comments by any number on button click.

In this example, 2 comments load by default and 2 more comments are shown each time the button is clicked. Also, the comments fade in using a value you can easily adjust.

Watch the following demo video to see how it works :

Demo Video #

Shows comments loading on click using the Genesis Sample child theme by StudioPress.

Works in any Genesis child theme.

Code Installation #

There’s 3 steps relating to usage of files in the download folder :

Step 1 – Copy & paste the PHP code from the functions.php file to the end of your child themes functions file.

Register for full access

Comments

Reader Interactions

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

PHP Code

template_include

get_body_class

if else

array

class_exists

foreach

sprintf

add_action

printf

variable

Advertise · WPEngine · Genesis · Log in

  • How Premium Membership Works
  • Sign Up
  • Support
  • Subscription Details/Invoice
  • Tagged Tutorials
  • Access-Download Problems