Forum Replies Created

Viewing 15 replies - 16 through 30 (of 58 total)
  • Thread Starter miri

    (@miri)

    Here you go: nadalnews.com. Thanks.

    Thread Starter miri

    (@miri)

    Since you use Publicize, the twitter card value is actually automatically edited on all posts published when Publicize was active; it uses the account you linked to your site via Publicize.

    And what I’ve been trying to say is: No, it doesn’t. On my development site, I have Publicize turned on. I have it linked to a twitter account. And still, on each blog post, the twitter card says:

    <meta name="twitter:site" content="@jetpack" />
    <meta name="twitter:image:src" content="my featured image url" />
    <meta name="twitter:card" content="summary_large_image" />

    When I go to the google site and do a preview of my twitter card via their tool, it shows the originator as jetpack.

    Thread Starter miri

    (@miri)

    Yes.

    I did finally figure out what option you wanted me to set, but only realized that on another domain. Why? That option doesn’t appear on the original one I was asking about because I don’t have the sharing via jetpack turned on. I do have Publicize turned on (and thought you were talking about the area of publicize where I hook up the site to a twitter account). So, on sites like that, it seems the only way to turn off jetpack showing as the twitter:site owner is via the custom function. Which seems wrong to me.

    Thread Starter miri

    (@miri)

    I changed that to enable the twitter share and hooked up my account. The tag generated by jetpack was still
    <meta name="twitter:site" content="@jetpack" />
    And not the username input.

    Thread Starter miri

    (@miri)

    Ooops, never mind. I found this and it’s done the trick:
    https://wordpress.org/support/topic/how-to-change-settings-for-twitter-cards?replies=10#post-4747361

    Added this to my child theme’s function file:

    function tweakjp_custom_twitter_site( $og_tags ) {
    	$og_tags['twitter:site'] = '@mysite';
    	return $og_tags;
    }

    add_filter( ‘jetpack_open_graph_tags’, ‘tweakjp_custom_twitter_site’, 11 );

    Forum: Plugins
    In reply to: [W3 Total Cache] Malware
    Thread Starter miri

    (@miri)

    It was listed on that site prior to me turning off W3TC.

    This is what I get with debugging on:

    TypeError: Cannot read property 'thumbnail' of undefined
        at Object.eval (http://www.nadalnews.com/wp-content/plugins/post-thumbnail-editor/js/controllers/CropCtrl.coffee:208:42)
        at Function.n.extend.each (http://www.nadalnews.com/wp-admin/load-scripts.php?c=1&load%5B%5D=jquery-core,jquery-migrate,utils&ver=3.9:2:2969)
        at eval (http://www.nadalnews.com/wp-content/plugins/post-thumbnail-editor/js/controllers/CropCtrl.coffee:206:15)
        at http://www.nadalnews.com/wp-content/plugins/post-thumbnail-editor/apps/angular/angular-resource.min.js:9:123
        at z (http://www.nadalnews.com/wp-content/plugins/post-thumbnail-editor/apps/angular/angular.min.js:91:280)
        at http://www.nadalnews.com/wp-content/plugins/post-thumbnail-editor/apps/angular/angular.min.js:92:417
        at g.$eval (http://www.nadalnews.com/wp-content/plugins/post-thumbnail-editor/apps/angular/angular.min.js:100:328)
        at g.$digest (http://www.nadalnews.com/wp-content/plugins/post-thumbnail-editor/apps/angular/angular.min.js:98:210)
        at g.$apply (http://www.nadalnews.com/wp-content/plugins/post-thumbnail-editor/apps/angular/angular.min.js:101:157)
        at g (http://www.nadalnews.com/wp-content/plugins/post-thumbnail-editor/apps/angular/angular.min.js:67:175)
        at Q (http://www.nadalnews.com/wp-content/plugins/post-thumbnail-editor/apps/angular/angular.min.js:71:64)
        at XMLHttpRequest.t.onreadystatechange (http://www.nadalnews.com/wp-content/plugins/post-thumbnail-editor/apps/angular/angular.min.js:72:27) angular.min.js:84
    (anonymous function)

    First, thanks so much for your continued attempts to help. I really appreciate it.

    Hmmm…I think that might be the JetPack notifications module which I had to disable before but it somehow got enabled again on JetPack upgrade. (that’s just so wrong.)

    I’ve disabled that, but things are still not working. Now, when I click on “crop and save”, I get this in the console:

    TypeError: Cannot read property 'thumbnail' of undefined
        at Object.<anonymous> (http://www.nadalnews.com/wp-content/plugins/post-thumbnail-editor/js-build/main.js:20:130854)
        at Function.n.extend.each (http://www.nadalnews.com/wp-admin/load-scripts.php?c=1&load%5B%5D=jquery-core,jquery-migrate,utils&ver=3.9:2:2969)
        at http://www.nadalnews.com/wp-content/plugins/post-thumbnail-editor/js-build/main.js:20:130804
        at http://www.nadalnews.com/wp-content/plugins/post-thumbnail-editor/js-build/main.js:20:103790
        at l (http://www.nadalnews.com/wp-content/plugins/post-thumbnail-editor/js-build/main.js:20:46070)
        at http://www.nadalnews.com/wp-content/plugins/post-thumbnail-editor/js-build/main.js:20:46747
        at u.$eval (http://www.nadalnews.com/wp-content/plugins/post-thumbnail-editor/js-build/main.js:20:50724)
        at u.$digest (http://www.nadalnews.com/wp-content/plugins/post-thumbnail-editor/js-build/main.js:20:49594)
        at u.$apply (http://www.nadalnews.com/wp-content/plugins/post-thumbnail-editor/js-build/main.js:20:51054)
        at s (http://www.nadalnews.com/wp-content/plugins/post-thumbnail-editor/js-build/main.js:20:33804)

    I also get this error when trying your method of getting to the thumbnail editor screen.

    thanks, but enabling the debugging to a file causes the thumbnail editor page to not load at all when I click on the “Thumbnails” link on an item in the media library.

    Here’s what the console screen says:

    Consider using 'dppx' units instead of 'dpi', as in CSS 'dpi' means dots-per-CSS-inch, not dots-per-physical-inch, so does not correspond to the actual 'dpi' of a screen. In media query expression: print, not all, (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) upload.php?page=pte-edit&pte-id=52400:22
    
    Consider using 'dppx' units instead of 'dpi', as in CSS 'dpi' means dots-per-CSS-inch, not dots-per-physical-inch, so does not correspond to the actual 'dpi' of a screen. In media query expression: print, not all, (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) upload.php?page=pte-edit&pte-id=52400:97
    
    Uncaught TypeError: Cannot read property 'presets' of undefined jquery.spin.js:94
    Uncaught ReferenceError: Backbone is not defined notes-common-v2.js?ver=2.9.3-201419:32
    
    Uncaught ReferenceError: Backbone is not defined admin-bar-v2.js:2
    Uncaught Error: Mismatched anonymous define() module: function (c,d,e){a.Backbone=b(a,e,c,d)}
    
    http://requirejs.org/docs/errors.html#mismatch require.js:8
    event.returnValue is deprecated. Please use the standard event.preventDefault() instead.
    
    I then turned off debugging and tried to update a thumbnail (via the Thumbnails link on an item in the media library). This is what the console screen showed me:
    
    6
    Consider using 'dppx' units instead of 'dpi', as in CSS 'dpi' means dots-per-CSS-inch, not dots-per-physical-inch, so does not correspond to the actual 'dpi' of a screen. In media query expression: print, not all, (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) upload.php?page=pte-edit&pte-id=52405:22
    
    Consider using 'dppx' units instead of 'dpi', as in CSS 'dpi' means dots-per-CSS-inch, not dots-per-physical-inch, so does not correspond to the actual 'dpi' of a screen. In media query expression: print, not all, (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) upload.php?page=pte-edit&pte-id=52405:97
    event.returnValue is deprecated. Please use the standard event.preventDefault() instead.
    Disabling loading screen main.js:20
    
    TypeError: Cannot read property 'thumbnail' of undefined
        at Object.<anonymous> (http://www.nadalnews.com/wp-content/plugins/post-thumbnail-editor/js-build/main.js:20:130854)
        at Function.n.extend.each (http://www.nadalnews.com/wp-admin/load-scripts.php?c=1&load%5B%5D=jquery-core,jquery-migrate,utils&ver=3.9:2:2969)
        at http://www.nadalnews.com/wp-content/plugins/post-thumbnail-editor/js-build/main.js:20:130804
        at http://www.nadalnews.com/wp-content/plugins/post-thumbnail-editor/js-build/main.js:20:103790
        at l (http://www.nadalnews.com/wp-content/plugins/post-thumbnail-editor/js-build/main.js:20:46070)
        at http://www.nadalnews.com/wp-content/plugins/post-thumbnail-editor/js-build/main.js:20:46747
        at u.$eval (http://www.nadalnews.com/wp-content/plugins/post-thumbnail-editor/js-build/main.js:20:50724)
        at u.$digest (http://www.nadalnews.com/wp-content/plugins/post-thumbnail-editor/js-build/main.js:20:49594)
        at u.$apply (http://www.nadalnews.com/wp-content/plugins/post-thumbnail-editor/js-build/main.js:20:51054)
        at s (http://www.nadalnews.com/wp-content/plugins/post-thumbnail-editor/js-build/main.js:20:33804) main.js:20

    De-activating jetpack didn’t help me. I can’t seem to get this plugin to work any more – which is frustrating as I really need it for my theme (and I got quite addicted to it!)

    I’ve deactivated all my plug-ins, that didn’t help. I’ve gone to a stock theme. That didn’t help. I’m really at a loss. But ever since upgrading to WP 3.9, this hasn’t worked.

    Thread Starter miri

    (@miri)

    This has happened again. I’m not sure if it was a theme update or updating to WP 3.9. How do the version numbers on your github site correspond to the WordPress numbers on your theme? I show I have version 1.4.0 installed while github is listing versions in the 2+ range. Did something change between 1.3.9 and 1.4.0 that might effect the responsive side bards?

    Thread Starter miri

    (@miri)

    Yes, that was it. First time I’ve done a child theme and hadn’t thought about updates in the main one goofing things up. Guess I’ll deploy on the development site first from now on.

    Thank you!

    I use this theme with w3 Total Cache and haven’t encountered these problems. In case it’s helpful, here are my W3T settings:

    Page Cache: Enabled, Disk:enhanced
    Minify: Enabled, Manual, Disk, Default, JSMin, Default
    Database Cache: Enabled, Disk
    Object Cache (Not enabled)
    Browser Cache: Enabled
    CDN and the rest of the options: Not enabled

    Weird. I get that at first and then the twitter format overwrites it. I wonder if there’s a js conflict in your site that’s causing the twitter js to not load.

    Thread Starter miri

    (@miri)

    Thanks. I’m worried it’s getting too green.

    And I haven’t asked on the shadowbox forums yet. Since I have a fallback, it’s lower on my priority list. 🙂

    One question, most of the responsive design resources I read say it’s best to start with your mobile styles in your style sheet and then build in the larger styles via the media queries and suggest all the media queries be together. Is there any particular reason your css is structured differently? (Also known as: am I doomed to fail if I try to redo the css to be structured this way.)

Viewing 15 replies - 16 through 30 (of 58 total)