enqueue hover function

You can add your JS to a file in your child theme /js/example.js, then enqueue it like this: //add_action( ‘wp_enqueue_scripts’, ‘wpdocs_theme_name_scripts’ ); function wpdocs_theme_name_scripts() { wp_enqueue_script( ‘script-name’, get_stylesheet_directory_uri() . ‘/js/example.js’, [], ‘1.0.0’, true ); } Alternatively, you can add the styles inline using this: add_action( ‘wp_enqueue_scripts’, ‘wpse_home_game’, 20 ); function wpse_home_game() { wp_register_script( ‘home-game’, false … Read more

I can’t view or add comments

It appears that your posts titles do not link to the single post pages, they link to the archive page. By example, the lastest article “It really is that small” links to “http://www.paledogstudios.com/2010/10/04/”. The error should be in your theme index.php file.

Display All Post Attachments and Assign Class to the Last Image?

This should do it, I think: function get_images() { global $post; $attachment = get_children(array( ‘post_parent’ => $post->ID, ‘post_type’ => ‘attachment’, ‘post_mime_type’ => ‘image’, ‘order’ => ‘ASC’, ‘numberposts’ => -1 ), ARRAY_N ); if ( $attachment ) { $attachment_count = count($attachment); foreach($i=0; $i < $attachment_count; $i++) { $last = ($i == ($attachment_count-1) ) ? ‘ last’ … Read more