Forum Replies Created

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • in reply to: How to change first page thubnail's size #93875
    Leonardo Martinez
    Participant

    @Mahesh: I forgot this step.

    I did it now and it worked perfectly!

    Thank you!

    in reply to: How to change first page thubnail's size #93801
    Leonardo Martinez
    Participant

    @Mahesh: I inserted the code you gave me in the .rar and it didn’t brake the layout this time, but it has no effect. It keeps the same size of the thumbnails.

    new screenshot

    in reply to: How to change first page thubnail's size #93267
    Leonardo Martinez
    Participant

    @mahesh: Yes, it was working before the change, I removed the code you provided and it worked as before.

    Any idea?

    I don’t know what is wrong, because it should be working as you tested it.

    in reply to: How to change first page thubnail's size #93224
    Leonardo Martinez
    Participant

    Mahesh, I did what you told me but it didn’t go right. It fixed the syntax error but it broke my site’s layout, just like the image.

    new screenshot

    Any suggest?

    in reply to: How to change first page thubnail's size #93123
    Leonardo Martinez
    Participant

    Hello Mahesh, I created the Child Theme and then in its functions.php I pasted the code and changed the Width and Height as you told me, just like bellow.

    <?php
    //
    // Recommended way to include parent theme styles.
    //  (Please see http://codex.wordpress.org/Child_Themes#How_to_Create_a_Child_Theme)
    //  
    add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
    function theme_enqueue_styles() {
        wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
        wp_enqueue_style( 'child-style',
            get_stylesheet_directory_uri() . '/style.css',
            array('parent-style')
        );
    }
    //
    // Your code goes below
    //
    add_action( 'init', 'catchresponsive_child_custom_thumbnail_size' );
    function catchresponsive_child_custom_thumbnail_size() {
    	remove_image_size( 'catchresponsive-square', 200, 200, true ); // used in Archive Left/Right Ratio 1:1
    	add_image_size( 'catchresponsive-square', 325, 200, true ); // used in Archive Left/Right Ratio 16:9

    The result is:

    Parse error: syntax error, unexpected $end in /home/sosna518/public_html/narguilebr.com.br/wp-content/themes/child-themere/functions.php on line 20

    What did I do wrong? I didn’t even use the Regenerate Thumbnails.

    in reply to: Advertisement in sidebar #90508
    Leonardo Martinez
    Participant

    Hi!
    I’d like to use google AdSense ads on my sidebar, but I’ve been looking for how to insert the code (I want to know where to insert the code, to be more specific) and didn’t find anything explaining how I can do it.

Viewing 6 posts - 1 through 6 (of 6 total)