alturic
Forum Replies Created
-
Well, the thing that gets me is 128 can’t be some arbitrary number, and again unless plugins can alter the way core files work (the concat section in this case) I just don’t know why it’s not “playing nice” with script names and is cutting them off in the middle of their name causing them to not load essentially.
So the “proper” way it would work is a.) limit the string to 128 char lines at most BUT b.) if a script name is at say 125 chars and the length would put it to 135, put the new script name on the next load[] block?
If that made any sense, ha!
To me, the problem is the actual concat snippet because I don’t see anything at all that says (laymen wording for everyones simplicity) “only allow 128 chars per string BUT each line can be less than 128 chars IF a script name will be cut-off”.
Forum: Plugins
In reply to: [Proxy Cache Purge] Varnish 4Yea, I have that exact VCL setup and it is actually adding:
1424204803.726397 10 obj.http.X-Req-URL ~ /.* && obj.http.X-Req-Host == mydomain.comto ban.list but it’s definitely not purging anything. curl -X PURGE http://domain.com DOES work fine and purges the homepage.
Forum: Plugins
In reply to: [Proxy Cache Purge] Varnish 4I know I’m superlate to this party but you got this plugin working with the above (the typical purge block) on v4 themystic? I only ask because I’m looking at the varnishlog and it LOOKS like the plugin is trying to use X-Purge-Method: regex, which according to the varnish guys that only ever worked with bans and the plugin is sending it as a purge request?
Forum: Fixing WordPress
In reply to: How are image sizes supposed to work in WP when uploading images…Hmm, so then when I goto Add Media and insert a picture into the post, it only shows Thumbnail, Medium, Full Size, that’s WP’s settings, correct? Those are editable within Settings -> Media, correct?
Second, a default WP install will only generate Thumbnail (150×150), Medium (300×300) and Full Size (1024×1024 at max, as it seems if it’s under 1024 in either W/H it just trims it so at least one dimension is 1024) all while maintaining perfect aspect ratio, correct?)
I only ask that because as I said earlier, I have about 15 sizes of large images, which are in my themes functions.php and there is at least 3 other sizes that are smaller than that 460×295 image the theme is serving. The one thing I will say, this is what it looks like:
add_theme_support('post-thumbnails'); add_image_size('blog-large', 669, 272, true); add_image_size('blog-medium', 320, 202, true); add_image_size('tabs-img', 52, 50, true); add_image_size('related-img', 180, 138, true); add_image_size('portfolio-one', 540, 272, true); add_image_size('portfolio-two', 460, 295, true); add_image_size('portfolio-three', 300, 214, true); add_image_size('portfolio-four', 220, 161, true); add_image_size('portfolio-full', 940, 400, true); add_image_size('recent-posts', 700, 441, true); add_image_size('recent-works-thumbnail', 66, 66, true);So I’m guessing it’s just the fact that in the theme it’s using “portfolio-two” as the image to server for a 144×92 <img> tag?
I’m definitely learning WP (and quite honestly loving the conditional ability it has, but I didn’t want to go mucking with code deep in the structure as I didn’t code the theme, I didn’t know if those functions were called elsewhere that I’d forget about.
Thanks for the help!
Forum: Plugins
In reply to: [Raw HTML] Conflicts with editor's shortcodeI signed in specifically to say Fancy, you’re a life-saver. The latest version of WP, with the latest version of RawHTML still has this problems with shortcodes I guess. It kept putting [raw] tags around the Quform shortcode. Was pulling my brain out. What would be nice (and easier than playing with code) is if there was an option to completely disable raw html per post/page?
Just curious if every shortcode is affect by this or just specific ones. Either way, good job Fancy!