Classipress change thumbnail size slider

Posted: December 11, 2014 in web

You can modify functions.php or add a child theme with its own functions.php below. But remove add_image_size on the parent.

<?php

add_action('wp_enqueue_scripts', 'enqueue_parent_theme_style');

function enqueue_parent_theme_style() {
    wp_enqueue_style('parent-style', get_template_directory_uri() . '/style.css');
}

add_image_size('sidebar-thumbnail', 158, 158, true); // sidebar blog thumbnail size


Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s