Forum Replies Created

Viewing 14 replies - 1 through 14 (of 14 total)
  • Thread Starter masterr77

    (@masterr77)

    Hi,

    ok, and how will I adjust it? pls

    Thread Starter masterr77

    (@masterr77)

    solved

    Thread Starter masterr77

    (@masterr77)

    cf-cache-status

    Does not have anything to do with that, I guess. When I set on CF “development mode” the “cf-cache-status” is the same (dynamic) as without it. But it behaves differently. There is something hidden…Dont know what. ANY ideas? pls

    Thread Starter masterr77

    (@masterr77)

    Hi, thank you for your help. You can see my caching settings above.

    The cf-cache-status: DYNAMIC header is added by Cloudflare when a response is not cached. If WP Super Cache sees this header, it may also choose not to cache the page because it assumes it’s being served dynamically.

    Oh really, I did not know that, but it makes sense. So, if I somehow change the header response “cf-cache-status”, Super Cache should work, right?

    Thread Starter masterr77

    (@masterr77)

    Unfortunately, it happens even when I create a new table. Sometimes it seems like it happens when I just edit something in the table (without drag and drop).

    Thread Starter masterr77

    (@masterr77)

    No, this is not it. You don´t understand what I want or you are spamming here backlink to your website. Probably both.

    Thread Starter masterr77

    (@masterr77)

    Great! It´s working like a charm, thx a lot.

    Thread Starter masterr77

    (@masterr77)

    In twentyseventeen is the width size 525px, maybe it´s fine for that layout, I don´t know.

    “What is rather strange in your case is it appears that the full size image is not available in the image insertion dialog box. ” – No, it´s not removing it, you can see it in dialog in the image above “Původní velikost 1070 x 504”.

    🙂

    Thread Starter masterr77

    (@masterr77)

    Hi, thanks for help. I found the problem https://codex.ww.wp.xz.cn/Content_Width it was set to 700px. In twenty* is set to 525px ($GLOBALS[‘content_width’] = 525;), that´s ridiculous.

    Thread Starter masterr77

    (@masterr77)

    Hi,
    by floating I mean “does not matter on height, but need the exact width”.

    The Image is 1070px wide. I put the code to the functions.php and it added options to the dropdown menu automatically. It´s in theme setup.

    The whole code looks this way:

    if (!function_exists('webreseni_setup')) :
    	function webreseni_setup()
    	{
    	
    		load_theme_textdomain('webreseni', get_template_directory() . '/languages');
    
    		add_theme_support('post-thumbnails');
    
    		add_image_size('figure', 241, 140, TRUE);
    		add_image_size('recommended', 85, 9999, FALSE);
    
    		add_image_size('fb_thumb', 1200, 630, TRUE);
    		add_image_size('4_x_img_nahledy_mobile_app', 155, 9999, FALSE);
    
    		add_image_size('full_widthn', 956, 9999, TRUE);
        add_image_size('full_widthn2', 956, 9999, false);
        add_image_size('full_widthn3', 956, 9999);
        add_image_size('full_widthn4', 956, 100, false);
        add_image_size('full_widthn5', 956);
    
    		add_filter('image_size_names_choose', 'ml_custom_image_choose');
    
    		function ml_custom_image_choose($args)
    		{
    
    			global $_wp_additional_image_sizes;
    
    			// make the names human friendly by removing dashes and capitalising
    			foreach ($_wp_additional_image_sizes as $key => $value)
    			{
    				$custom[$key] = ucwords(str_replace('-', ' ', $key));
    			}
    
    			return array_merge($args, $custom);
    		}
    
    		//	add_filter('jpeg_quality', create_function('', 'return 100;'));
    // This theme uses wp_nav_menu() in one location.
    		register_nav_menus(array(
    				'primary' => __('Primary Menu', 'webreseni'),
    		));
    
    // Enable support for Post Formats.
    		add_theme_support('post-formats', array('aside', 'image', 'video', 'quote', 'link'));
    
    // Allows theme developers to link a custom stylesheet file to the TinyMCE visual editor.
    		function webreseni_add_editor_styles()
    		{
    			add_editor_style('custom-editor-style.css');
    		}
    
    		add_action('init', 'webreseni_add_editor_styles');
    
    // Setup the WordPress core custom background feature.
    		add_theme_support('custom-background', apply_filters('webreseni_custom_background_args', array(
    				'default-color' => 'f9f9f9',
    				'default-image' => '',
    		)));
    
    // Enable support for HTML5 markup.
    		add_theme_support('html5', array('comment-list', 'search-form', 'comment-form',));
    	}
    
    endif; // webreseni_setup
    add_action('after_setup_theme', 'webreseni_setup');

    Anyway, even if I use the WordPress settings to set the sizes of a thumbnail, it only resizes to 700px wide. It almost looks like there is some width maximum, is it possible?

    • This reply was modified 8 years, 8 months ago by masterr77.
    Thread Starter masterr77

    (@masterr77)

    I have just found the bug 🙂

    Thread Starter masterr77

    (@masterr77)

    Did you try to add a comment? What happened after that? There is no new comment in admin. I just tried to add a new comment and it still does not work.

    Thread Starter masterr77

    (@masterr77)

    The plugin does something else that I don´t want. But it´s really bad that wordpress can not make nice looking category.

    I just want to add comments and rating widget to category page and it is not possible to add comments to category, so I wanted to create a page with the same url as category does and hide the category page and just show the “article” page.

    Thread Starter masterr77

    (@masterr77)

    Problem has been solved – I have used WP Category Permalink and it works fine.

Viewing 14 replies - 1 through 14 (of 14 total)