-
Author
Tagged: featured images
-
June 16, 2014 at 19:19 #19895laprekParticipant
Hello,
When I was writing a new Post, before I started using Sweet Date theme, I had to upload one picture to that Post, so that would be visible on Blog page, and I also had to set a featured image, which was the same picture. Now, when I’ve switched to Sweet Date, all posts include two pictures. I just found out that I don’t need to upload two pictures any more, but only featured image. I have a few hundreds of posts so I cannot go through all of them to delete one of the pictures. Is there any way to fix that?
And the next questions, I need my featured images to be exactly 620x300px. I have changed the size of the pictures in Settings -> Media, I have also regenerated all thumbnails but it doesn’t work for featured images. Is there any way to change that?
Thank you.
June 17, 2014 at 11:16 #19972CatalinModeratorHello,
Please send me a link to your website. Also, I need to know what image do you want to keep the one ftom the content of the post or the feature image
Thank you,
CatalinHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJune 19, 2014 at 16:07 #20279CatalinModeratorPlease check. I fixed your problem.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJune 19, 2014 at 22:54 #20331laprekParticipantThank you!
Can you please tell me how do I change the size of the featured images?
June 20, 2014 at 14:04 #20358CatalinModeratoruse this:
http://wordpress.org/plugins/regenerate-thumbnails/
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJune 20, 2014 at 14:20 #20365laprekParticipantThat’s what I did, like I said in my first post.
I would like my featured images to be exactly 620x300px. I have changed the size of the images in Settings -> Media, I have also regenerated all thumbnails but it doesn’t work for featured images. I’ve tried everything. Is there any way to change that? And how?
Thank you.
June 20, 2014 at 14:56 #20378CatalinModeratorHello,
You need to access using a FTP client the functions.php file from the child theme folder and add this code:
COPY CODE<?php function ThumbModif() { set_post_thumbnail_size( 620, 300 ); } add_action( 'after_setup_theme', 'ThumbModif'); ?>
After this operation, regenerate thumbnails using Regenerate Thumbnails plugin.
Thank you,
CatalinHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJune 20, 2014 at 15:31 #20384laprekParticipantHi,
When I’m trying to regenerate thumbnails I got this message:
The resize request was abnormally terminated (ID 16739). This is likely due to the image exceeding available memory or some other type of fatal error.
June 20, 2014 at 16:40 #20392CatalinModeratorHello,
I tested the solution I gave you and it works with no error. Take a look at this link:
http://wordpress.org/support/topic/gallery-thumbnails-refuse-to-be-square
The problem may be from the size of the images you are trying to download.
Thank you,
CatalinHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJune 20, 2014 at 17:04 #20396laprekParticipantHi,
The size of the images should be fine.
This error appears after adding that code to functions.php. After adding the code the page does not display properly. Sometimes it goes blank.Thank you,
LaprekJune 23, 2014 at 13:23 #20473CatalinModeratorHello,
Please provide me FTP access to your website. Use “Set as private reply” for security reasons.
Thank you,
CatalinHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJune 23, 2014 at 14:53 #20481CatalinModeratorHello,
I checked your site and everything seems to be OK. Would you please give me a link to a page that is not displayed correctly?
Thank you,
CatalinHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJune 23, 2014 at 17:43 #20525CatalinModeratorHello,
Please provide admin rights for the username you provide. I need to do some CSS fix for your request.
Thank you,
CatalinHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJune 24, 2014 at 11:41 #20641CatalinModeratorHello,
Still not being able to fix your request. No admin rights.
Thank you,
CatalinHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJune 25, 2014 at 12:48 #20834CatalinModeratorHello,
I am not able to login… as a solution, you should modify the second parameter “xxx” with a higher value (max 2000px):
COPY CODE<?php function ThumbModif() { set_post_thumbnail_size( 620, xxx ); } add_action( 'after_setup_theme', 'ThumbModif'); ?>
Thank you,
CatalinHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJuly 13, 2014 at 00:04 #22460laprekParticipantDear Catalin,
Which file should I modify? Where should I paste the code? Is it function.php in the child theme?
I’ve tried that but for some reason it doesnt work.Thank you,
LaprekJuly 14, 2014 at 11:37 #22493CatalinModeratorHello,
Please send me the content of your functions.php file from the child theme.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJuly 15, 2014 at 20:08 #22662laprekParticipantHello,
Here is the content of my functions.php file:
COPY CODE<?php /** * @package WordPress * @subpackage Sweetdate * @author SeventhQueen <themesupport@seventhqueen.com> * @since Sweetdate 1.0 */ /** * Sweetdate Child Theme Functions * Add extra code or replace existing functions */ add_action('after_setup_theme','kleo_remove_actions'); /** * Override existing actions * Use these functions to replace/remove existing actions * @since Sweetdate 1.3 */ function kleo_remove_actions() { /* For example uncomment the line bellow to disable matching on member profile */ //remove_action('kleo_bp_before_profile_name', 'kleo_bp_compatibility_match'); } /*bbpress fullwidth*/ /*add_action('wp_head', 'kleo_bbpress_tpl', 11); function kleo_bbpress_tpl() { //user is viewing a forum page if(get_post_type() == 'forum' OR get_post_type() == 'topic' OR get_post_type() == 'reply') { //set to full width remove_action('kleo_before_content', 'kleo_sidebar'); remove_action('kleo_after_content', 'kleo_sidebar'); remove_action('kleo_before_content', 'kleo_extra_sidebar'); remove_action('kleo_after_content', 'kleo_extra_sidebar'); add_filter('kleo_content_class', create_function(null, 'return "twelve";')); } } */ class SQueen_Recent_Posts2_widget extends WP_Widget { /** * Widget setup */ function __construct() { $widget_ops = array( 'description' => __( 'Recent posts with thumbnails widget.', 'kleo_framework' ) ); parent::__construct( 'kleo_recent_posts2', __('[Kleo] Recent posts2','kleo_framework'), $widget_ops ); } /** * Display widget */ function widget( $args, $instance ) { extract( $args, EXTR_SKIP ); $title = apply_filters( 'widget_title', $instance['title'] ); $limit = $instance['limit']; $length = (int)( $instance['length'] ); $thumb = $instance['thumb']; $cat = $instance['cat']; $post_type = $instance['post_type']; echo $before_widget; if ( ! empty( $title ) ) echo $before_title . $title . $after_title; global $post; if ( false === ( $kleo_recent_posts = get_transient( 'kleo_recent_posts2_' . $widget_id ) ) ) { $args = array( 'numberposts' => $limit, 'cat' => $cat, 'post_type' => $post_type ); $kleo_recent_posts = get_posts( $args ); set_transient( 'kleo_recent_posts2_' . $widget_id, $kleo_recent_posts, 60*60*12 ); } ?> <div> <ul class='latest-blog'> <?php foreach( $kleo_recent_posts as $post ) : setup_postdata( $post ); ?> <li> <?php if( $thumb == true ) : ?> <span class='avatar'><a href="<?php the_permalink(); ?>"><?php echo get_the_post_thumbnail(); ?></a></span> <?php endif; ?> <p><?php the_title(); ?> <br/><?php echo word_trim(get_the_excerpt(), $length, '...' ); ?> <a href="<?php the_permalink(); ?>"><?php _e("read more", 'kleo_framework'); ?></a></p> </li> <?php endforeach; wp_reset_postdata(); ?> </ul> </div> <?php echo $after_widget; } /** * Update widget */ function update( $new_instance, $old_instance ) { $instance = $old_instance; $instance['title'] = esc_attr( $new_instance['title'] ); $instance['limit'] = $new_instance['limit']; $instance['length'] = (int)( $new_instance['length'] ); $instance['thumb'] = $new_instance['thumb']; $instance['cat'] = $new_instance['cat']; $instance['post_type'] = $new_instance['post_type']; delete_transient( 'kleo_recent_posts_' . $this->id ); return $instance; } /** * Widget setting */ function form( $instance ) { /* Set up some default widget settings. */ $defaults = array( 'title' => '', 'limit' => 5, 'length' => 10, 'thumb' => true, 'cat' => '', 'post_type' => '', 'date' => true, ); $instance = wp_parse_args( (array) $instance, $defaults ); $title = esc_attr( $instance['title'] ); $limit = $instance['limit']; $length = (int)($instance['length']); $thumb = $instance['thumb']; $cat = $instance['cat']; $post_type = $instance['post_type']; ?> <p> <label for="<?php echo esc_attr( $this->get_field_id( 'title' ) ); ?>"><?php _e( 'Title:', 'kleo_framework' ); ?></label> <input class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'title' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'title' ) ); ?>" type="text" value="<?php echo $title; ?>" /> </p> <p> <label for="<?php echo esc_attr( $this->get_field_id( 'limit' ) ); ?>"><?php _e( 'Limit:', 'kleo_framework' ); ?></label> <select class="widefat" name="<?php echo $this->get_field_name( 'limit' ); ?>" id="<?php echo $this->get_field_id( 'limit' ); ?>"> <?php for ( $i=1; $i<=20; $i++ ) { ?> <option <?php selected( $limit, $i ) ?> value="<?php echo $i; ?>"><?php echo $i; ?></option> <?php } ?> </select> </p> <p> <label for="<?php echo esc_attr( $this->get_field_id( 'length' ) ); ?>"><?php _e( 'Excerpt length:', 'kleo_framework' ); ?></label> <input class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'length' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'length' ) ); ?>" type="text" value="<?php echo $length; ?>" /> </p> <?php if( current_theme_supports( 'post-thumbnails' ) ) { ?> <p> <label for="<?php echo esc_attr( $this->get_field_id( 'thumb' ) ); ?>"><?php _e( 'Display Post Image?', 'kleo_framework' ); ?></label> <input id="<?php echo $this->get_field_id( 'thumb' ); ?>" name="<?php echo $this->get_field_name( 'thumb' ); ?>" type="checkbox" value="1" <?php checked( '1', $thumb ); ?> /> </p> <?php } ?> <p> <label for="<?php echo esc_attr( $this->get_field_id( 'cat' ) ); ?>"><?php _e( 'Show from category: ' , 'kleo_framework' ); ?></label> <?php wp_dropdown_categories( array( 'name' => $this->get_field_name( 'cat' ), 'show_option_all' => __( 'All categories' , 'kleo_framework' ), 'hide_empty' => 1, 'hierarchical' => 1, 'selected' => $cat ) ); ?> </p> <p> <label for="<?php echo esc_attr( $this->get_field_id( 'post_type' ) ); ?>"><?php _e( 'Choose the Post Type: ' , 'kleo_framework' ); ?></label> <select class="widefat" id="<?php echo $this->get_field_id( 'post_type' ); ?>" name="<?php echo $this->get_field_name( 'post_type' ); ?>"> <?php foreach ( get_post_types( '', 'objects' ) as $post_type ) { ?> <option value="<?php echo esc_attr( $post_type->name ); ?>" <?php selected( $instance['post_type'], $post_type->name ); ?>><?php echo esc_html( $post_type->labels->singular_name ); ?></option> <?php } ?> </select> </p> <?php } } /** * Register widget. * * @since 1.0 */ add_action( 'widgets_init', create_function( '', 'register_widget( "SQueen_Recent_Posts2_widget" );' ) ); add_action('after_setup_theme','kleo_my_custom_tabs'); function kleo_my_custom_tabs() { global $bp_tabs; $bp_tabs = array(); $bp_tabs['looking-for'] = array( 'type' => 'cite', 'name' => __('Looking for', 'kleo_framework'), 'group' => 'Looking for', 'class' => 'citetab' ); $bp_tabs['base'] = array( 'type' => 'regular', 'name' => __('About me', 'kleo_framework'), 'group' => 'Base', 'class' => 'regulartab' ); /* rtMedia tab - only if plugin installed */ if (class_exists('RTMedia')) { $bp_tabs['rtmedia'] = array( 'type' => 'rt_media', 'name' => __('My work', 'kleo_framework'), 'class' => 'mySlider' ); } /* Bp-Album tab - only if plugin installed */ elseif (function_exists('bpa_init')) { $bp_tabs['bp-album'] = array( 'type' => 'bp_album', 'name' => __('My photos', 'kleo_framework'), 'class' => 'mySlider' ); } $bp_tabs['social'] = array( 'type' => 'regular', 'name' => __('Social', 'kleo_framework'), 'class' => 'regulartab' ); } /** * Uncomment to change Looking for group with your own */ /* add_filter('kleo_extra_tab1', 'custom_tab'); function custom_tab() { return 'Base'; } */ /** * Uncomment to change default tab on member profile */ /* add_filter('kleo_bp_profile_default_top_tab','my_default_tab'); function my_default_tab() { return 'my-photos'; } */ add_action('after_setup_theme','kleo_my_actions'); function kleo_my_actions() { /* disable matching on member profile */ remove_action('kleo_bp_before_profile_name', 'kleo_bp_compatibility_match'); /* Replace the heart over images */ add_filter('kleo_img_rounded_icon', 'my_custom_icon'); /* Replace the heart from register modal */ add_filter('kleo_register_button_icon', 'my_custom_icon_register'); } /* Replace the heart with a camera icon function */ function my_custom_icon () { return 'camera'; } /* Replace the heart with a user icon function */ function my_custom_icon_register () { return 'user'; } /* Filter the redirect url for login*/ add_filter("login_redirect","kleo_redirect_to_profile",100,3); function kleo_redirect_to_profile($redirect_to_calculated,$redirect_url_specified,$user){ /*if no redirect was specified,let us think ,user wants to be in wp-dashboard*/ if(!is_super_admin($user->ID)) return bp_core_get_user_domain($user->ID ); else return $redirect_to_calculated; /*if site admin*/ } add_action('after_setup_theme','remove_search_form',11); function remove_search_form() { remove_action('after_header_content','render_user_search'); } /*Progress*/ add_action('kleo_bp_header_actions', 'my_prog_bar', 11); function my_prog_bar() { if (function_exists('bppp_progression_block') AND bp_is_my_profile()) { echo '<div class="clearfix"></div>'; bppp_progression_block(); } } ?>
July 17, 2014 at 11:43 #22827CatalinModeratorHello,
Replace your code with this:
COPY CODE<?php /** * @package WordPress * @subpackage Sweetdate * @author SeventhQueen <themesupport@seventhqueen.com> * @since Sweetdate 1.0 */ /** * Sweetdate Child Theme Functions * Add extra code or replace existing functions */ add_action('after_setup_theme','kleo_remove_actions'); /** * Override existing actions * Use these functions to replace/remove existing actions * @since Sweetdate 1.3 */ function kleo_remove_actions() { /* For example uncomment the line bellow to disable matching on member profile */ //remove_action('kleo_bp_before_profile_name', 'kleo_bp_compatibility_match'); } /*bbpress fullwidth*/ /*add_action('wp_head', 'kleo_bbpress_tpl', 11); function kleo_bbpress_tpl() { //user is viewing a forum page if(get_post_type() == 'forum' OR get_post_type() == 'topic' OR get_post_type() == 'reply') { //set to full width remove_action('kleo_before_content', 'kleo_sidebar'); remove_action('kleo_after_content', 'kleo_sidebar'); remove_action('kleo_before_content', 'kleo_extra_sidebar'); remove_action('kleo_after_content', 'kleo_extra_sidebar'); add_filter('kleo_content_class', create_function(null, 'return "twelve";')); } } */ class SQueen_Recent_Posts2_widget extends WP_Widget { /** * Widget setup */ function __construct() { $widget_ops = array( 'description' => __( 'Recent posts with thumbnails widget.', 'kleo_framework' ) ); parent::__construct( 'kleo_recent_posts2', __('[Kleo] Recent posts2','kleo_framework'), $widget_ops ); } /** * Display widget */ function widget( $args, $instance ) { extract( $args, EXTR_SKIP ); $title = apply_filters( 'widget_title', $instance['title'] ); $limit = $instance['limit']; $length = (int)( $instance['length'] ); $thumb = $instance['thumb']; $cat = $instance['cat']; $post_type = $instance['post_type']; echo $before_widget; if ( ! empty( $title ) ) echo $before_title . $title . $after_title; global $post; if ( false === ( $kleo_recent_posts = get_transient( 'kleo_recent_posts2_' . $widget_id ) ) ) { $args = array( 'numberposts' => $limit, 'cat' => $cat, 'post_type' => $post_type ); $kleo_recent_posts = get_posts( $args ); set_transient( 'kleo_recent_posts2_' . $widget_id, $kleo_recent_posts, 60*60*12 ); } ?> <div> <ul class='latest-blog'> <?php foreach( $kleo_recent_posts as $post ) : setup_postdata( $post ); ?> <li> <?php if( $thumb == true ) : ?> <span class='avatar'><a>"><?php echo get_the_post_thumbnail(); ?></a></span> <?php endif; ?> <p><?php the_title(); ?> <br/><?php echo word_trim(get_the_excerpt(), $length, '...' ); ?> <a>"><?php _e("read more", 'kleo_framework'); ?></a></p> </li> <?php endforeach; wp_reset_postdata(); ?> </ul> </div> <?php echo $after_widget; } /** * Update widget */ function update( $new_instance, $old_instance ) { $instance = $old_instance; $instance['title'] = esc_attr( $new_instance['title'] ); $instance['limit'] = $new_instance['limit']; $instance['length'] = (int)( $new_instance['length'] ); $instance['thumb'] = $new_instance['thumb']; $instance['cat'] = $new_instance['cat']; $instance['post_type'] = $new_instance['post_type']; delete_transient( 'kleo_recent_posts_' . $this->id ); return $instance; } /** * Widget setting */ function form( $instance ) { /* Set up some default widget settings. */ $defaults = array( 'title' => '', 'limit' => 5, 'length' => 10, 'thumb' => true, 'cat' => '', 'post_type' => '', 'date' => true, ); $instance = wp_parse_args( (array) $instance, $defaults ); $title = esc_attr( $instance['title'] ); $limit = $instance['limit']; $length = (int)($instance['length']); $thumb = $instance['thumb']; $cat = $instance['cat']; $post_type = $instance['post_type']; ?> <p> <label for="<?php echo esc_attr( $this->get_field_id( 'title' ) ); ?>"><?php _e( 'Title:', 'kleo_framework' ); ?></label> <input class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'title' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'title' ) ); ?>" type="text" value="<?php echo $title; ?>" /> </p> <p> <label for="<?php echo esc_attr( $this->get_field_id( 'limit' ) ); ?>"><?php _e( 'Limit:', 'kleo_framework' ); ?></label> <select class="widefat" name="<?php echo $this->get_field_name( 'limit' ); ?>" id="<?php echo $this->get_field_id( 'limit' ); ?>"> <?php for ( $i=1; $i<=20; $i++ ) { ?> <option <?php selected( $limit, $i ) ?> value="<?php echo $i; ?>"><?php echo $i; ?></option> <?php } ?> </select> </p> <p> <label for="<?php echo esc_attr( $this->get_field_id( 'length' ) ); ?>"><?php _e( 'Excerpt length:', 'kleo_framework' ); ?></label> <input class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'length' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'length' ) ); ?>" type="text" value="<?php echo $length; ?>" /> </p> <?php if( current_theme_supports( 'post-thumbnails' ) ) { ?> <p> <label for="<?php echo esc_attr( $this->get_field_id( 'thumb' ) ); ?>"><?php _e( 'Display Post Image?', 'kleo_framework' ); ?></label> <input id="<?php echo $this->get_field_id( 'thumb' ); ?>" name="<?php echo $this->get_field_name( 'thumb' ); ?>" type="checkbox" value="1" <?php checked( '1', $thumb ); ?> /> </p> <?php } ?> <p> <label for="<?php echo esc_attr( $this->get_field_id( 'cat' ) ); ?>"><?php _e( 'Show from category: ' , 'kleo_framework' ); ?></label> <?php wp_dropdown_categories( array( 'name' => $this->get_field_name( 'cat' ), 'show_option_all' => __( 'All categories' , 'kleo_framework' ), 'hide_empty' => 1, 'hierarchical' => 1, 'selected' => $cat ) ); ?> </p> <p> <label for="<?php echo esc_attr( $this->get_field_id( 'post_type' ) ); ?>"><?php _e( 'Choose the Post Type: ' , 'kleo_framework' ); ?></label> <select class="widefat" id="<?php echo $this->get_field_id( 'post_type' ); ?>" name="<?php echo $this->get_field_name( 'post_type' ); ?>"> <?php foreach ( get_post_types( '', 'objects' ) as $post_type ) { ?> <option value="<?php echo esc_attr( $post_type->name ); ?>" <?php selected( $instance['post_type'], $post_type->name ); ?>><?php echo esc_html( $post_type->labels->singular_name ); ?></option> <?php } ?> </select> </p> <?php } } /** * Register widget. * * @since 1.0 */ add_action( 'widgets_init', create_function( '', 'register_widget( "SQueen_Recent_Posts2_widget" );' ) ); add_action('after_setup_theme','kleo_my_custom_tabs'); function kleo_my_custom_tabs() { global $bp_tabs; $bp_tabs = array(); $bp_tabs['looking-for'] = array( 'type' => 'cite', 'name' => __('Looking for', 'kleo_framework'), 'group' => 'Looking for', 'class' => 'citetab' ); $bp_tabs['base'] = array( 'type' => 'regular', 'name' => __('About me', 'kleo_framework'), 'group' => 'Base', 'class' => 'regulartab' ); /* rtMedia tab - only if plugin installed */ if (class_exists('RTMedia')) { $bp_tabs['rtmedia'] = array( 'type' => 'rt_media', 'name' => __('My work', 'kleo_framework'), 'class' => 'mySlider' ); } /* Bp-Album tab - only if plugin installed */ elseif (function_exists('bpa_init')) { $bp_tabs['bp-album'] = array( 'type' => 'bp_album', 'name' => __('My photos', 'kleo_framework'), 'class' => 'mySlider' ); } $bp_tabs['social'] = array( 'type' => 'regular', 'name' => __('Social', 'kleo_framework'), 'class' => 'regulartab' ); } /** * Uncomment to change Looking for group with your own */ /* add_filter('kleo_extra_tab1', 'custom_tab'); function custom_tab() { return 'Base'; } */ /** * Uncomment to change default tab on member profile */ /* add_filter('kleo_bp_profile_default_top_tab','my_default_tab'); function my_default_tab() { return 'my-photos'; } */ add_action('after_setup_theme','kleo_my_actions'); function kleo_my_actions() { /* disable matching on member profile */ remove_action('kleo_bp_before_profile_name', 'kleo_bp_compatibility_match'); /* Replace the heart over images */ add_filter('kleo_img_rounded_icon', 'my_custom_icon'); /* Replace the heart from register modal */ add_filter('kleo_register_button_icon', 'my_custom_icon_register'); } /* Replace the heart with a camera icon function */ function my_custom_icon () { return 'camera'; } /* Replace the heart with a user icon function */ function my_custom_icon_register () { return 'user'; } /* Filter the redirect url for login*/ add_filter("login_redirect","kleo_redirect_to_profile",100,3); function kleo_redirect_to_profile($redirect_to_calculated,$redirect_url_specified,$user){ /*if no redirect was specified,let us think ,user wants to be in wp-dashboard*/ if(!is_super_admin($user->ID)) return bp_core_get_user_domain($user->ID ); else return $redirect_to_calculated; /*if site admin*/ } add_action('after_setup_theme','remove_search_form',11); function remove_search_form() { remove_action('after_header_content','render_user_search'); } /*Progress*/ add_action('kleo_bp_header_actions', 'my_prog_bar', 11); function my_prog_bar() { if (function_exists('bppp_progression_block') AND bp_is_my_profile()) { echo '<div class="clearfix"></div>'; bppp_progression_block(); } } /*Thumb modify*/ function ThumbModif() { set_post_thumbnail_size( 620, xxx ); } add_action( 'after_setup_theme', 'ThumbModif'); ?> ?>
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
You must be logged in to reply to this topic.